Project parameters are used to manage and configure a project, whose parameters will be applied to all the scripts in the same project. Each project has its own parameters.
To access the project parameters, you have to click on the context menu for the project in question in the Agilitest Project Explorer.
From the projects explorer, click on “Project properties” to access the project parameters.
That will open the project’s parameter window.
Project’s information modifications
From this screen, you can access your project from the Window explorer and change the project name and description.
You will also be able to version the project, which means that you can stabilise the use of a specific version of ATS by referencing the ATS library you want.
🔸 Warning
We do not recommend changing the version of the project as the changes in the editor and ATS are closely linked. However this feature is available in case it might be of interest to certain profiles.
Apache Maven
By checking the first option, you will have an “Auto-update of ATS version” activated.
The second option is to allow the use of Maven with Agilitest. Maven is a package manager and allows you to retrieve the latest versions of librairies and integrate your own librairies into your projects.
Project’s passwords
You can create and manage passwords, which are reusable in encrypted form in your scripts, with the keyword “$pass”.
Agilitest lets you record variables which are then encrypted in ATS files.
To create a password, click on “Add”
Then, enter the name you want to give to your password and its value that will be encrypted next.
Encrypted variables mean that they do not appear as plain text in the files, or in the test editing interface.
How to manage encrypted passwords
Passwords can also be managed using the shortcut in the special keys when entering text.
The value can then be retrieved in ATS as a normal variable using the $pass(variable) keyword.
Here are the differences with normal variable management:
- Passwords are not printed in the editor's user interface other than in its edit menu.
- They are not visible in ATS files, not even their declarations.
- They do not appear in ATSV files.
- They do not appear in the logs generated by Agilitest and ATS.
- Each variable declared using $pass() variables is treated in the same way.
When to use encrypted passwords
We recommend using encrypted passwords when you have no other options.
We do not recommend that you carry out your tests with real user accounts by encrypting passwords. The solution we recommend is to create users dedicated to the tests and with their own privileges, limited if possible.
💡 Tip
If you can’t do otherwise, like when you want to test the admin account, we advise you to do this on environments similar to production, but secured differently (for example, physically on your premises).
If you are carrying out tests on systems in the cloud, you will not be able to do otherwise. In this case we advise you to supplement this mechanism, for example by using secure transfer protocols such as https or by using one-time passwords issued by a secure server.
Project’s reports templates
Project report templates are used to customise execution reports.
To customise your reports, click on the edit button.
Then, click on the stylesheet file edition button.