Changing the content of a manual test script based on environment
I do not know if I am using RQM as it was intended. Our system gets deployed in multiple environments, whose behaviour changes based on this environment. For example, some buttons become enabled in one environment, and disabled in another.
We've been using manual test scripts with Execution Variables that change the words in the script, and would make different test cases for different environments.
However, we've just started introducing different architectures so are using the Lab Environment feature more (ie: x86 vs x64). Is there a way to change the manual script based execution variable values based on the environment? The reason I ask is it doesn't make sense for me to have a test execution record on some environments for certain test cases. For example:
I want to test Automatic Update in all 4 possible environments my system can be in.
In the corporate environment, x86/x64, and our aircraft environment, x86 and x64
Currently, we have two different test cases for the corporate environment vs our aircraft environment, each with their own manual scripts and keywords for where they share common behaviour. When planning our testing, we add each test case based on the coverage we want to do, and generate test case execution records, and have to remember to pick the right Environment based on the test case (we have a Corporate Lab Environment and Aircraft). I was wondering if there was a way to do something like a conditional step or something based on the execution environment? Or does there exist a different way RQM was designed to solve this problem?
One answer
I am not aware of any conditional steps or variable value based on environment available in RQM.
You may want to review the existing features in RQM and see if you can workaround and meet what you need.
. You can use popup feature to add value during run time:
http://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.1/com.ibm.rational.test.qm.doc/topics/t_using_exec_var.html
. Considering the same variable defined in different places(manual script, test case etc) and override feature:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Fc_execvar_overview.html
. If you are in latest version, try to use the new available changing test environment feature for TCER:
https://jazz.net/downloads/rational-quality-manager/releases/6.0.1?p=news#TOC_B
I hope the above helps.