Adding parameters to manual tests

Parameters are useful for running the manual test multiple times—using different sets of data, but without creating multiple copies of the test case. Parameters are added to the actions or expected results for any test step. Select the test step of the test case and keep adding the parameters using the Insert Parameter option. Each set of values for the parameters is run as an individual iteration during the Test Run. The other options available are to rename the parameter and to delete the parameter. The following screenshot shows the test step for which the parameters are added:

Adding parameters to manual tests

After entering a parameter, add its set of values. For each set of values, there will be an iteration of the Test Run. These parameter values will be validated against the fields while running the test in Test Runner. After saving the details, close the test case and open the Test tab to run the test.

Run the test in the same way as previous tests and continue the steps in Test Runner until the test step (where the parameters are present) is reached. The test step displays the parameters and values against each parameter. Select the parameter value to copy to the clipboard and use that to paste it on the respective field. You can mark the test as pass or fail after testing the entire step, and then end the test. If there are multiple set of values for the parameters, then continue all iterations before ending the test. Save the test and close the Test Runner window.

Adding parameters to manual tests

Select the test case and open the Test results to get the results summary for all iterations, with parameters and values used during testing.

Adding parameters to manual tests

The preceding screenshot shows the test summary of second-iteration testing for the test case. The Test Step Details section shows the parameters and the values used during testing.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.137.59