using RFT automated scripts - some questions
I have an automated script I imported into RQM from another machine (#1) that uses datapools. RQM is 2.0.1.1 and RFT is 8.2
I have set it up so the called script can look for an argument and select an appropriate datapool variable based on what was passed in.
|
4 answers
The script arguments are passed into the script while the execution arguments are passed to the JVM to run the script. That is one question down.
I have an automated script I imported into RQM from another machine (#1) that uses datapools. RQM is 2.0.1.1 and RFT is 8.2
|
Answer number 2 associated with the datapool. When the script was imported, it seems to be pulling in the datapool. If the datapool was correct when the script was imported, no matter what I change the DP to afterwords, the script executed from RQM always passes. If I re-import the script with an incorrect value in the DP, the script fails when parameter is set to use the incorrect value. This does not seem to be a good design. That means any change to the DP requires me to re-import and link all test scripts assoicated with the DP to the appropriate test cases.
I have an automated script I imported into RQM from another machine (#1) that uses datapools. RQM is 2.0.1.1 and RFT is 8.2
|
More confusion. What I just said below is not true. I ran another set of tests and this time it did use the changed datapool on the system without requiring a re-import. No clue what is really happening when I cannot get consistent results.
Answer number 2 associated with the datapool. When the script was imported, it seems to be pulling in the datapool. If the datapool was correct when the script was imported, no matter what I change the DP to afterwords, the script executed from RQM always passes. If I re-import the script with an incorrect value in the DP, the script fails when parameter is set to use the incorrect value. This does not seem to be a good design. That means any change to the DP requires me to re-import and link all test scripts assoicated with the DP to the appropriate test cases. I have an automated script I imported into RQM from another machine (#1) that uses datapools. RQM is 2.0.1.1 and RFT is 8.2
|
In terms of passing arguments from the test case to the script, this capability is being introduced in RQM 3.0 via a new concept termed execution variables. Here is the related enhancement request:
https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/31614 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.