Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

AIO Tests allows users to create input values (or variables) on a project level that can be used directly within the test cases with the click of a button. By creating predefined parameters in AIO Tests, you can execute the same test case multiple times with different data inputs without copying and maintaining duplicate test cases. This test management tool allows users not only edit, delete, and archive the parameters, but also edit and delete their parameter values. 

By using parameterized test cases, you can not only increase the flexibility of your test cases, but also achieve greater test coverage with fewer cases to manage.

In this documentation, you’ll understand:

Creating a Parameter

AIO Tests lets users create parameters with their values in the Predefined Parameters option. Once they create parameters, they can form a Data Set in the test case with ease and can use it in the Steps tab in the test case section. 

Steps to Add Predefined Parameters

Step 1: To add predefined parameters, simply click on the Cases option in the top bar menu.

Users can also add predefined parameters from the Steps tab in the Cases detail page.

Step 2: Click on the vertical ellipsis icon (⋮) located at the top right corner of the cases detail page and select the Predefined Parameters option from the dropdown menu.

Step 3: On the Predefined Parameters screen, click on the Add Parameter (+) button located at the top right corner of the screen. 

Step 4: Enter the required details in the respective fields. 

  • Name: Name of the parameter that you want to set. 

  • Parameter Values: Enter the values for the parameter in the Parameter Values field and click on the Add button.

  • Users need to enter a unique name for the parameter. Parameter values also need to be unique. 

  • Users can also add a description of the defined parameter explaining its purpose of being created. 

  • Users can only enter a maximum of 50 characters in the Parameter name field. 

  • Users can add as many parameter values as they want as per their requirements. 

Step 5: Finally, click on the Save button. 

Editing a Predefined Parameter

AIO Tests allows you to edit your already created predefined parameter with ease. Whether you want to change the name and description or add new parameter values, the tool lets you do it effortlessly.

Steps to Edit a Predefined Parameter

Step 1: To edit a predefined parameter, simply click on the Pencil icon for the parameter you want to edit.

Step 2: Edit the parameter as per your requirements, such as the Parameter name, its description, and add new parameters.  

Users can also edit or delete the existing parameter value.

Step 3: Finally, click on the Save button.

Once you click on the Save button, a message will be displayed on the screen saying, “Changes saved.”

Archive a Predefined Parameter

AIO Tests allows you to archive pre-defined parameters with the click of a button. Not only does it help you organize your parameters, but also helps you save the less used ones for the future. 

Steps to Archive a Predefined Parameter

Step 1: To archive the predefined parameters, all you need to do is click on the Archive button of the parameter you desire to archive.

Once you click on the Archive button, a message will appear on the screen saying, “Changes saved.”

Users can unarchive or delete the archived parameter.

Steps to Delete Active Parameters

Step 1: To delete active parameters, all you need to do is click on the Delete button for the predefined parameters that you want to delete. 

Step 2: Once you click on the Delete button, the Delete Parameter modal window will appear on the screen for further confirmation of your action. Click on the Delete option.

Once you click on the Delete option, a message will appear on the screen saying, “Predefined parameter deletion in progress,” and the deleted parameter will appear on the right side under “Marked for Deletion Parameters.” 

Users can view the Job details by clicking on the i icon. By hovering over the i icon, users can view the Last batch job details such as Batch ID, Created By, Update Type, Status, and many more. 

Steps to Edit Predefined Values 

Step 1: To edit predefined values, click on the Pencil icon for the parameter that you want to edit.

Step 2: Click on the Pencil icon for the parameter value that you want to edit. Enter the new value of the parameter and click on the Ok button.

When users click on the Ok button, a green box will appear with the parameter value that you have edited. On hovering over the green box, a message will appear on the screen saying, “Edited: Update usage in cases > Awaiting sync.” 

Step 3: Click on the Save button.

Step 4: Once you click on the Save button, a sync button will appear on the screen with the parameter value that you have edited. Click on the sync and update cases button. It will create a batch job and will update all the test cases with an updated value. 

Users can view the Job details by clicking on the i icon. By hovering over the i icon, users can view the Last batch job details such as Batch ID, Created By, Update Type, Status, and many more. 

Steps to Delete Predefined Values 

Step 1: To delete predefined values, click on the Pencil icon for the parameter that you want to edit.

Step 2: Click on the Delete button for the parameter value that you want to delete. 

Step 3: Once you click on the Delete button, the Delete Parameter Value modal window will appear on the screen. On the Delete Parameter Value modal window, you will get the two below options:

  • Delete value but retain usage in cases: This option will delete the value from the predefined parameter, but retain its value in cases. It will covert the predefined values to a normal text value with no link to the predefined parameter. 

  • Delete value and discard usage in cases: This option will delete the value from the predefined parameter and discard its value in test cases. It will be become the null value or empty dataset value in cases. 

Click on the desired checkbox and click on the Delete button. 

Step 4: Click on the Save button. 

 If a user selects the Delete value but retain usage in cases option, an orange box will appear next to the parameter value that you deleted. On the other hand, if a user selects a red box will appear if the user selects the Delete value and discard usage in cases deletion option

Step 5: Once you click on the Save button, a sync button will appear on the screen with the parameter value that you have deleted. Click on the sync and update cases button. Clicking on the sync button will create a batch job and update all the test cases. 

Users can view the Job details by clicking on the i icon. By hovering over the i icon, users can view the Last batch job details such as Batch ID, Created By, Update Type, Status, and many more.

For further queries and suggestions, feel free to reach out to our customer support via help@aiotests.com.  

  • No labels