Document toolboxDocument toolbox

Adding Variables when Using Test Data

If you want to execute multiple iterations for particular set of data, you can set environment variable for that set as “True” and for the other sets as “False”.

For example, there is an application where the same test case is to be executed for Japanese and English versions and you have single test case with 100 TC datasets of which 50 are for Japanese and 50 for English. Hence, in a normal Qualitia methodology, if you need to run all the English datasets then you would need to mark True in the selection column for the 50 test data for English and mark False for the Japanese test data, and would need to alter the remaining test cases in the same manner. To avoid all these efforts, you can create two separate variables as English and Japanese. When you want to run the test cases of English, set the environment variable value as True for English and False for Japanese on the Environment Variable screen and vice versa.

Then mark the selection column for English language as English [where English is a key created on the Environment Variable screen] and Japan datasets as Japanese [again Japanese is an environment variable]. When the test bed is ready to run the English version application with English data sets, then just make sure the value set for English variable True on the Environment Variable screen.

(info) When defining values in the datasheet, make sure you are providing values inside braces “{}”. 


Not finding what you need?