Hi Team,
I am trying to start my application via 'Run application' command but unable to give parameters.
My application is exe file and have security certificate warning once it is triggered from cmd, below syntax I am using currently:
Run Application C:\Program File\Documents\Test.exe /nolocalcheck
/nolocalcheck This am using in Arguments but it isnt working, could you pls suggest how to make it work.
Thanks
Unable to run my application via 'Run application' command
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to run my application via 'Run application' command
Hi ndhiman,
Be sure you are adding the /nolocalcheck argument to the Arguments field in the Run application action (as pictured below). I hope this helps!
Cheers,
Ned
Be sure you are adding the /nolocalcheck argument to the Arguments field in the Run application action (as pictured below). I hope this helps!
Cheers,
Ned
You do not have the required permissions to view the files attached to this post.
Re: Unable to run my application via 'Run application' command
I tried this already but it isnt working.
What I want to achieve is similar when i type the below command in cmd prompt
C:/Program Files/Test.exe -nolocalcheck
Is there any different command to be used in Ranorex?
What I want to achieve is similar when i type the below command in cmd prompt
C:/Program Files/Test.exe -nolocalcheck
Is there any different command to be used in Ranorex?
Re: Unable to run my application via 'Run application' command
Hi,
Three things...
In your first post, you mentioned /nolocalcheck argument, while in second post you mentioned -nolocalcheck, so which is right?
At next, apart of path to exe and argument, have you filled also working directory path? Missing working directory sometimes cause problems with certain apps. So make sure, it's filled.
And finally, since you mentioned security certificate, I need to ask if you are running your test as administrator?
Three things...
In your first post, you mentioned /nolocalcheck argument, while in second post you mentioned -nolocalcheck, so which is right?
At next, apart of path to exe and argument, have you filled also working directory path? Missing working directory sometimes cause problems with certain apps. So make sure, it's filled.
And finally, since you mentioned security certificate, I need to ask if you are running your test as administrator?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Unable to run my application via 'Run application' command
Hi,
Could you try runnning your application from code just to check it runs via Ranorex. You can then use this code module in your recording steps.
Manish
Could you try runnning your application from code just to check it runs via Ranorex. You can then use this code module in your recording steps.
BRHost.Local.RunApplication("C://Program Files//Test.exe","-nolocalcheck", "path to working Directory");
Manish