Hi,
I am trying to run an .exe file which is location on my local system. I want to have this file as part of the renorex solution and want the recordings to access it. The exe would be uploaded to git so anyone can access it. How is it done with ranorex and where can I place this file and how to access it ?
Running exe from ranorex folders
Re: Running exe from ranorex folders
Hi,
Just put the exe to a folder inside solution, e.g. Data and make it included in project and set copy to output dir to True...
Then add Run application action to recording of your choice and type name of exe to File name field and "Data" to Working directory field. That's all
Just put the exe to a folder inside solution, e.g. Data and make it included in project and set copy to output dir to True...
Then add Run application action to recording of your choice and type name of exe to File name field and "Data" to Working directory field. That's all
You do not have the required permissions to view the files attached to this post.
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: Running exe from ranorex folders
Thanks for the solution !!
Re: Running exe from ranorex folders
You are welcome
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
-
- Posts: 1
- Joined: Thu Jun 17, 2021 11:47 am
Re: Running exe from ranorex folders
Hi,
I tried this solution but can you please how to include Data folder in project and set copy to output dir to True..? I am very new to Ranorex and can't find these options.
Regards
I tried this solution but can you please how to include Data folder in project and set copy to output dir to True..? I am very new to Ranorex and can't find these options.
Regards
Re: Running exe from ranorex folders
Hi,
I'm afraid, there is no option to set entire Data folder to copy to output directory. YOu can include entire folder to project, but then you must set "copy to output dir" file by file. Boring, but there is no way around (maybe except manual editing of csproj file).
I'm afraid, there is no option to set entire Data folder to copy to output directory. YOu can include entire folder to project, but then you must set "copy to output dir" file by file. Boring, but there is no way around (maybe except manual editing of csproj file).
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