RQM: why keyword associated with multiple automated scripts can only execute one script each time?
![]()
RQM 5.0.2 tested with RFT 8.5 or higher.
We create 3 RFT scripts and imported into RQM, let's say, script1, script2 and script3, then create one keyword and add 3 scripts into keyword. add this keyword into another RQM script and run it in a test case, only the one mark Default in keyword will be executed. I don't know what is the concept behind this design in keyword. While it allows the user to have more than one test scripts associated with it, it only run one default script every time which is quite confusing to the user as they would expect all the scripts within that keyword to be run. Does anyone know what is behind that concept and any correct use case to have multiple scripts in one keyword? or there is any way to make one keyword run all included scripts? thank you very much. |
Accepted answer
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.
Comments
Don,
There is a know defect around multiple keywords associated to automated scripts
Defect 142054
Its not exactly what you are seeing but it may have an effect
Thanks Ara for the info.
The defect seems to be related to executing two keywords, I would like to know one keyword with multiple automated scripts, and when a script has that keyword, it only runs the default one instead of all of them. The user feels confusion on the behavior given that they are allowed to have multiple scripts in one keyword. I am wondering what is the design concept behind that "keyword can have more than one script, but execution will only run the default one". I notice that the default script setting is "channel default", so the design of keyword allowing multiple scripts could be the purpose of using Channel feature in RQM? when channel is enabled and associated with each script in the keyword, execution based on channel is meaningful, is that what the design concept for multiple scripts in one keyword?
Thanks