Project Setup
Last updated
Last updated
In the Project Setup, you'll discover a suite of powerful features tailored to enhance your web testing experience
Database Configuration: Seamlessly integrate your testing environment with database systems. You can fetch the data from your database and use it in the Test steps by making use of Execute Query action type.
Encapsulate: Enhance your Chrome Browser's capabilities by adding 'Encapsulate' from the Chrome Web Store. With this extension, you can effortlessly record test steps, capturing interactions with web applications to streamline your testing process.
Global Variable: Harness the power of Global Variables to centralize and manage commonly used data across test cases.You can create the Global variables in the Project and use them across the Test Scripts, Easily reference and update values in Test Steps, enhancing flexibility and maintainability.
Integrations: Configure Jira to seamlessly connect with your project management tool, enabling the creation of issues directly from your testing environment.
Run Configuration: You can create the Run Configuration with the specific requirements for a Test Script and reuse it during execution. Customize settings such as Browsers,Database Configuration,Environment Variable,Healer,Screen Resolution, Share results.
Functions: Leverage Functions to modularize your Test Scripts. Define custom actions that can be reused across multiple tests, promoting reusability and reducing redundancy.
Unleash the potential of these features within Project Setup to optimize your web testing endeavors, streamline workflows, and elevate the quality of your testing efforts."
To configure your database, follow these steps:
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Database Configuration' section from the left panel.
Click on the New Configuration button.
Enter the required details.
Click the Save Configuration button.
All saved configurations will be listed under the Database Configuration tab.
You can "Edit"/ "Delete" the Database Configuration by clicking on the respective options.
Encapsulate is a browser-based automation tool primarily used for creating and executing automated tests for web applications. It provides a user-friendly interface for recording interactions with web elements.
For more details refer "Encapsulate" documentation.
Global variables provide an efficient approach to simplify the test maintenance. By creating multiple "Environments" you can manage distinct global variables,These variables are accessible across all Test Scripts within the project. They are especially valuable for reusing a value across multiple tests and generating synthetic data when necessary.
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Global Variable' section from the left panel.
Click on 'New Variable' in the upper-right corner.
Fill out the required information in the form: variable name, variable type (custom, integer, decimal, etc.), and variable value.
Save your entries by clicking the save button.
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Global Variable' section from the left panel.
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Global Variable' section from the left panel.
Select the "Environment" from which you want to clone the "Global Variables".
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Global Variable' section from the left panel.
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Global Variable' section from the left panel.
Select the Environment from the dropdown to be deleted.
(Note: Script must be created first)
Navigate to an area where Test Scripts can be created (Test Repository, Sprints, or Test Lab).
Enter a previously created Test Script. On the right side, you'll find a blue panel. Click on the right arrow to reveal the 'Global Variable' tab.
Access 'Global Variable', select the desired environment from the 'Select Environment' dropdown, and choose the desired 'Environment' from the list.
This will display all the global variables created for selected 'Environment'.
Visit an area where Test Scripts can be created (Test Repository, Sprints, or Test Lab).
Access a previously created Test Script. If a script hasn't been created yet, consult the Creating Scripts documentation.
Click 'Add Step' and begin crafting the steps. This is where global variables come into play. Remember to enclose the variable name with a '#' sign before and after it. Example: #Google_Website# and #Search_Query#.
After setting up all the steps, save your work in the upper-right corner.
Navigate to a project.
Click on 'Project Setup'.
On the far-right side of the global variable table, icons for editing and deleting are present. Click on these icons to perform the desired action.
Searching the Global Variables
We have a Search functionality available for the purpose of quick search of a Variable.
Custom: Define data as per your requirements.
UUID/GUID: Generates a universally unique identifier or globally unique identifier and assigns a random value during execution.
FirstName: Generates random first names.
LastName: Generates random last names.
Email: The email can be entered or a random one generated. The format for a random email is ???????##@gmail.com, where '?' represents a random letter and '#' a random number.
Integer: Provide the minimum and maximum values so that the number generated is within that range.
Decimal: For decimal type, provide the decimal point number so that the number generated will have decimal numbers up-to the number provided.
Date: Generates random dates.
BaseURL: Define URLs which are commonly used for testing.
PastDate: Generates random past date by specifying minimum year value and date format.
FutureDate: Generates random future date by specifying maximum year value and date format.
File: Can upload the commonly used file which can be used across the project
Password: Variable used to keep the commonly used password across the websites
Specify the desired date and time format for generation. The default date format is dd-MM-yyyy. Please note: (MM - months, mm - minutes). For instance, if you provide the format yyyy-MM-dd HH:mm:ss, the generated date could be something like 2020/01/16 03:25:12.
Formats
Examples
dd-MM-yyyy / MM-dd-yyyy
25-06-2020 / 06-25-2020
dd-MM-yyyy HH:mm:ss
25-06-2020 06:07:59
dd MMMM yyyy
06 July 2020
Generate random past date by specifying the minimum year value and date format.
Generate random future date by specifying the maximum year value and date format. Modify Date Field
Format for Input: -/+ (date)/ -/+ (month)/ -/+ (year)
Example:
Date Format: dd-MM-yyyy
Modify Date: +1/+10/-1
Explanation: The value in the "Modify Date" field will be applied to the current date generated, picking values from right to left (year first), and sequentially modifying the generated date.
Therefore, the final date sequence would be:
Subtracts one year from the generated date.
Adds 10 months to the generated date from the previous step (after subtracting one year).
Adds 1 day to the generated date from the previous step (after subtracting one year and adding 10 months).
Priority is given to year, followed by months, and then days.
Example:
Format: dd-MM-yyyy
Date Generated: 08/09/1997
Modify Date: +1/+2/-2
Final Date Value Generated: 09/11/1995
In scenarios where the generated value is one less than the next month/year value, modifying to increase days/months can cascade to affect the rest of the date. For instance, if the generated date is 09/12/2021 and you add +1 to months, the year changes to the next year (09/01/2022). Similar logic applies to date modification, such as 31/12/2021 changing to 01/01/2022 with +1 added to the day.
If you don't want to modify any value, you can leave the field blank. If you want to modify only one date component, you can provide the rest of the fields with '0'. For example, 0/+1/0 for only the month or -10/0/+1 for only the year and day.
Sample report for Global variables used during execution:
To configure your Integrations, follow these steps:
Navigate to a previously created project.
Click on 'Project Setup'.
Access the 'Integartions' section from the left panel.
Click on the New Configuration button.
Domain Url: Provide the Domain URL of Jira (e.g., https://cogcloud.atlassian.net/).
API Token: Generate an API token by following the link provided. Treat API tokens with the same security as passwords. Generate API Token
The process of generating an API token is as follows:
You can now navigate to the Test Lab | Sprint Reports page, where you can create a ticket based on your requirements.
To create a "Run Configuration" follow these steps:
Navigate to a previously created project.
Click on 'Project Setup'.
Access the Run Configuration section from the left panel.
Optionally, select a database from the available options under Select Database.
Choose the project data you want to use.
Optionally, select environment variables as needed under Select Environment Variable.
Activate the Healer feature by toggling the Activate Healer option.
Optionally, choose a screen resolution from the available options under Select Screen Resolution.
Use the Share Results feature to streamline sharing of test results by adding the Email ID.
You have the option to Edit, Delete, Set as Default.
To utilize the configuration in the Run Window enable the "Run with Configuration" option located in the left panel.
The chosen configuration's details will be showcased on the right panel, providing you with the necessary information for your testing environment.
Function is collection of steps which can be reused,so that user can easily import multiple steps, into the scripts of his choice, and execute the test.
Accessing the Functions:
Navigate to a previously created project.
Click on 'Project Setup'.
Access the Functions section from the left panel.
Click here to explore more about Functions .
Click on Create Environment button.
Enter the "Environment Name" and click on "Create" button.
Click on Clone button.
Select the "Environment" from the dropdown to which you want to clone the "Global Variables". Note: Existing Variables of the Environment will be replaced with the Variables of selected Environment.
Click on "Clone" button.
Click on Edit Environment button.
Enter the "Environment Name" and click on "Edit" button.
Click on Delete Environment button.
The "Modify Date" field is employed to adjust the current date generated based on the specified format. For instance, if the entered format is dd-MM-yyyy, the previous approach allowed generating the current date as per the format. However, with the "Modify Date" field, you can make modifications by increasing the number of months, days, or years.
Enter the required details.
Click on the provided link, and the screen below will be displayed.
Click on the "Create API Token" button. Enter a label and click "Create."
A new token will be generated. Copy the token and paste it in the Qyrus Web repository's Jira configuration API Token field.
The User can click on "Test connection" button to check if the connection is successfull and then click on "Save Configuration" button.
All saved configurations will be listed under the Integartions tab.
You can create the issues from reports page by clicking on the "Three dots menu" select "Create Ticket" option.
Click on the New Configuration button.
Enter the desired name for the "Run Configuration" and choose the browser on which the test will be executed.
Finally, click the Save Configuration button to save your settings.
Saved configurations are listed under the Run Configuration tab.
Once the "Run with Configuration" option is enabled, you can conveniently choose the desired configuration from the available dropdown list.
The created "Functions" will be listed here