Page 1 of 1
Ranorex Settings in config file
Posted: Thu Feb 17, 2011 1:19 pm
by atom
Hiya
The following settings:
Ranorex.Mouse.DefaultMoveTime
Ranorex.Keyboard.DefaultKeyPressTime
Ranorex.Adapter.DefaultSearchTimeout
Ranorex.Adapter.DefaultUseEnsureVisible
Is it possible to put them in a config file that will be loaded by ranorex api
Instead of supplying them with each test case
Thanks
Re: Ranorex Settings in config file
Posted: Thu Feb 17, 2011 1:58 pm
by Support Team
Hi,
there is a configuration file which can be found at:
C:\Users\<User>\AppData\Roaming\RanorexConfig2.xml
You can use following xml tags for the wanted settings:
- Ranorex.Mouse.DefaultMoveTime: recorder.mousemovetime
- Ranorex.Keyboard.DefaultKeyPressTime: keyboard.presssequencepredelay
- Ranorex.Adapter.DefaultSearchTimeout : adapter.defaultsearchtimeout
- Ranorex.Adapter.DefaultUseEnsureVisible: adapter.defaultuseensurevisible
Kind regards,
Tobias
Support Team
Re: Ranorex Settings in config file
Posted: Thu Feb 17, 2011 2:18 pm
by atom
Hiya
Im using ranorex 2.2 with fixed licensing on windows XP
Don't have this path
Thanks
Re: Ranorex Settings in config file
Posted: Thu Feb 17, 2011 2:33 pm
by Support Team
The equivalent path on Windows XP is:
C:\Documents and Settings\<User>\Application Data\RanorexConfig2.xml
You can also use the %appdata% environment variable, which should work on all Windows operating systems:
%appdata%\RanorexConfig2.xml
Regards,
Alex
Ranorex Team
Re: Ranorex Settings in config file
Posted: Thu Feb 17, 2011 5:00 pm
by atom
Thats nice, thanks!
It means we can setup this file once, and put it on each test machine
Re: Ranorex Settings in config file
Posted: Fri Feb 18, 2011 11:18 am
by Support Team
Hi,
Yes you can setup this once and deploy it to other machines which need the same settings.
Regards,
Peter
Ranorex Team