Hi there,
When I manually start my Windows application under test, it starts correctly and the required .ini files are found and read. When Ranorex starts the application, it looks in the wrong location for these files, it is looking in C:\..\RanorexStudio Projects\LogIn\LogIn\bin\Debug\Config\ (where the solution is called LogIn). Can anyone tell me how to set the correct location?
Many thanks
Ranorex looking in wrong location for .ini file
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: Ranorex looking in wrong location for .ini file
Hi,
You could try to use an automated double-click on your application under test to open up the app.
Cheers,
Robin
You could try to use an automated double-click on your application under test to open up the app.
Cheers,
Robin
Re: Ranorex looking in wrong location for .ini file
Hi,
Have you tried to define working directory path in Run application command?
Have you tried to define working directory path in Run application command?
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: Ranorex looking in wrong location for .ini file
Bit of a school boy error. I set the working directory, and now it runs like a dream.
Re: Ranorex looking in wrong location for .ini file
Cool. Nice to hear such simple trick helped 

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