Global parameter I can change and flow down to all my cases.
Posted: Thu Apr 05, 2018 11:07 pm
I am trying to create a global parameter (within my Test Suite) that ties to a local parameter in all my test cases such that when I change the global parameter all my local parameter in each test case switches to the updated global value.
For context, I am building a regression suite of test cases that will run 100s of test cases with a Key Sequence step in each test case where a command is typed to execute an application that I am testing. The command changes when I get a new build. For example, abc_v180203 for build 18.02.03 and then when I get 19.05.04 it will be abc_v190504. This way I don't have to update 100s of test cases to use the new build when I want to regression test them.
I have created a local variable in each test case by right clicking and selecting "As new Variable" and calling it ABC_executable with the default value abc_v180203. Then I created a global variable by right clicking on the Test Suite banner and selecting Global Parameters and then in the Global Parameters tab creating a parameter with the same name ABC_executable with the same value abc_v180203 but my Module Variable is listed as Unbound and when I click on Auto-Create or Auto-Bind it does nothing. I am currently using Ranorex 6.1.1 as we have not gotten 8.1 approved yet through our software board.
Am I doing this correctly or do I need to go down another path?
For context, I am building a regression suite of test cases that will run 100s of test cases with a Key Sequence step in each test case where a command is typed to execute an application that I am testing. The command changes when I get a new build. For example, abc_v180203 for build 18.02.03 and then when I get 19.05.04 it will be abc_v190504. This way I don't have to update 100s of test cases to use the new build when I want to regression test them.
I have created a local variable in each test case by right clicking and selecting "As new Variable" and calling it ABC_executable with the default value abc_v180203. Then I created a global variable by right clicking on the Test Suite banner and selecting Global Parameters and then in the Global Parameters tab creating a parameter with the same name ABC_executable with the same value abc_v180203 but my Module Variable is listed as Unbound and when I click on Auto-Create or Auto-Bind it does nothing. I am currently using Ranorex 6.1.1 as we have not gotten 8.1 approved yet through our software board.
Am I doing this correctly or do I need to go down another path?