RQM Execution Tool-How do I pass the TestScripId ?
Hi,
I am trying to use the 'RQM Execution Tool',basically trying to run from command line.
The command is
java -jar RQMExecutionTool.jar -tserId= -projectName= -publicURI= -user= -password= -exitOnComplete=true -adapterId= -printResultUrl=true
The issue that I am facing is,I have a suite which has 10 testcases.In these 10 testcases,
a)I have 5 testcases and in each TestCase there are 2 TestScripts.One is a manual TestScript and the other one is an automated TestScript.
2)The remaining 5 testcases has only 1 TestScript in each of them.This TestScript is a manual one.
I want to run ONLY the automated testscripts. I pass -tserId which is the testsuite exceution record. But how do I pass the automated testscripts in this command? I tried using the parameter -scriptId and passed my TestScriptId,but it did not work. I also tried using -suiteStepScriptIds,but this not working.
Please provide me a solution.
Thanks!
I am trying to use the 'RQM Execution Tool',basically trying to run from command line.
The command is
java -jar RQMExecutionTool.jar -tserId= -projectName= -publicURI= -user= -password= -exitOnComplete=true -adapterId= -printResultUrl=true
The issue that I am facing is,I have a suite which has 10 testcases.In these 10 testcases,
a)I have 5 testcases and in each TestCase there are 2 TestScripts.One is a manual TestScript and the other one is an automated TestScript.
2)The remaining 5 testcases has only 1 TestScript in each of them.This TestScript is a manual one.
I want to run ONLY the automated testscripts. I pass -tserId which is the testsuite exceution record. But how do I pass the automated testscripts in this command? I tried using the parameter -scriptId and passed my TestScriptId,but it did not work. I also tried using -suiteStepScriptIds,but this not working.
Please provide me a solution.
Thanks!
3 answers
Hello Vinaya! Have you tried using the "-tcerId" flog which is the integer id of the Test Case Execution Record for the Test Case which holds link to the automation script?
So with the above, the argument list is as below:
java -jar RQMExecutionTool .jar -tcerId -user -password -passwordFile -publicURI -projectName [-scriptId] [-adapterId] [-resultState] [-exitOnComplete] [-printResultUrl] [-variables]
More details here.
Let me know if the above data helps?
Best Regards, Sunil
Hi Sunil,
I do not want to use -tcerId because this is for testcase.And I want to run it for a testsuite.And also,my scenario is slightly tricky as my testcase has 2 testscripts where one testscript is a manual one and the other is an automated script.And my aim is to run ONLY "automated" scripts from the command line from this particular TestSuite
Hi Ajay,
Let me simplify my question.
I have a TestSuite-"TS1" and this contains two testcases "TC1" and "TC2".
a) TC1 has two TestScripts- TestScriptA and TestScriptB. In this,TestScriptA is a manual testscript and TestScriptB is an automated script(Selenium). NOTE:-The ID for TestScriptB is 6035
b)TC2 has two TestScripts- TestScriptC and TestScriptD. In this,TestScriptC is a manual testscript and TestScriptD is an automated script(Selenium). NOTE:-The ID for TestScriptD is 6036
My aim:- I want to run only automated scripts.In the above case,the manual scripts has to be skipped and only 6035 and 6036 needs to be run
Hence,I tried to do run this command(I added -scriptId)
java -jar RQMExecutionTool.jar -tserId=759 -scriptId=6035,6036 -projectName= -publicURI= -user= -password= -exitOnComplete=true -adapterId=95 -printResultUrl=true
Looks like 6035 runs (this script fails due to some automation code issue) but after 6035 fails,it is not running 6036.Not sure why.I am still investigating this.
Thanks!
I do not want to use -tcerId because this is for testcase.And I want to run it for a testsuite.And also,my scenario is slightly tricky as my testcase has 2 testscripts where one testscript is a manual one and the other is an automated script.And my aim is to run ONLY "automated" scripts from the command line from this particular TestSuite
Hi Ajay,
Let me simplify my question.
I have a TestSuite-"TS1" and this contains two testcases "TC1" and "TC2".
a) TC1 has two TestScripts- TestScriptA and TestScriptB. In this,TestScriptA is a manual testscript and TestScriptB is an automated script(Selenium). NOTE:-The ID for TestScriptB is 6035
b)TC2 has two TestScripts- TestScriptC and TestScriptD. In this,TestScriptC is a manual testscript and TestScriptD is an automated script(Selenium). NOTE:-The ID for TestScriptD is 6036
My aim:- I want to run only automated scripts.In the above case,the manual scripts has to be skipped and only 6035 and 6036 needs to be run
Hence,I tried to do run this command(I added -scriptId)
java -jar RQMExecutionTool.jar -tserId=759 -scriptId=6035,6036 -projectName= -publicURI= -user= -password= -exitOnComplete=true -adapterId=95 -printResultUrl=true
Looks like 6035 runs (this script fails due to some automation code issue) but after 6035 fails,it is not running 6036.Not sure why.I am still investigating this.
Thanks!