RQM cannot invoke "cmd.exe" configured application in RFT, while running the script
Sunil Kumar R (1.1k●1●33●44)
| asked Jun 12 '13, 10:36 a.m.
JAZZ DEVELOPER edited Jun 12 '13, 10:37 a.m.
RQM cannot invoke "cmd.exe" configured application in RFT, while running the script?
RQM v4.0.1 and higher
RFT v8.2.1 and higher
An RFT script with the actions as below when executed from RFT eclipse UI, command line, RQM has the behavior given below..
script content...
startApp("cmd_prmt");
sleep(5);
// Window: cmd.exe: Administrator: C:\windows\system32\cmd.exe
administratorCWindowsSystem32C().click();
administratorCWindowsSystem32C().inputKeys("cd /{ENTER}");
administratorCWindowsSystem32C().inputKeys("cd Pro{TAB}");
administratorCWindowsSystem32C().inputKeys("{ENTER}");
administratorCWindowsSystem32C().inputKeys("dir{ENTER}");
administratorCWindowsSystem32C().inputKeys("exit{ENTER}");
behavior...
eclipse UI - works!
command line - works!
RQM UI - does not work {invokes script, fails to start application!! and hence fails}
command : (same as in RFT adapter console, works when invoked directly on RFT adapter machine)
"C:\IBM\RFT\jdk\jre\bin\java.exe" -Drqm.mode=true -Drqm.task="C:\Users\ADMINI~1\AppData\Local\Temp\RQMRFTTask3040109936879455416.xml" -jar "C:\IBM\RFT\FunctionalTester\bin\rational_ft.jar" -datastore "C:\RFTwork\TProject1" -rt.log_format xml -iterationcount -1 -rt.bring_up_logviewer false -execmode rqm -playback cmdPrmt
Why is the "cmd.exe" invoke failing in RQM playback? issue not observed for other applications eg: calc.exe, browser, classicJava..
|
Accepted answer
2 other answers
Is there any error message on the console or log?
Comments Nope there are no errors..
Infact RFT script playback goes ahead without problems (even though the cmd is not opened by the playback)..
08:02:36:766 AM Starting Adapter
08:02:36:956 AM Login to https://clm.jkebanking.net:9443/qm <Project Area: = JKE Banking (Quality Management)>
08:03:18:715 AM Execution request: C:\RFTwork\TProject1\cmdPrmt received
08:03:18:821 AM Executing RFT command "C:\IBM\RFT\jdk\jre\bin\java.exe" -Drqm.mode=true -Drqm.task="C:\Users\ADMINI~1\AppData\Local\Temp\RQMRFTTask2662736152400760501.xml" -jar "C:\IBM\RFT\FunctionalTester\bin\rational_ft.jar" -datastore "C:\RFTwork\TProject1" -rt.log_format xml -iterationcount -1 -rt.bring_up_logviewer false -execmode rqm -playback cmdPrmt
08:03:55:793 AM Execution of script cmdPrmt done
|
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.