Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Unable to launch command ...
Hi
I am trying to automate the flow of running a command in the command prompt for several machines. I am unable to launch command prompt from Rapise. When an instance of command prompt is already open, I am able to select that and complete the test and for replaying the script I need to have the command prompt open. I cannot do this in all the machines that I would like to test. I want Rapise to launch command prompt and execute the command and close the window .
When I click on 'Record' and I select 'Run Application" tab and give the path to cmd.exe, It does not open the command prompt.
Please let me know if this is possible?
Thanks
Jagan
Hi Jagan
Please use:
Global.DoLaunch("cmd.exe");
You can then send keyboard commands to the open command prompt using:
Global.DoSendKeys("ipconfig.exe{ENTER}");
(for example).
Regards
Adam
And if you have any questions, please email or call us at +1 (202) 558-6885