Loading user configuration file from API

Class library usage, coding and language questions.
adanilenko
Posts: 2
Joined: Fri Dec 23, 2011 10:55 am

Loading user configuration file from API

Post by adanilenko » Fri Dec 23, 2011 10:59 am

Hi can you please describe how load user configuration from file (like C:\Documents and Settings\Administrator\Application Data\RanorexConfig3.xml) from API.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Loading user configuration file from API

Post by Support Team » Fri Dec 23, 2011 11:17 am

Hi,

you can use the method LoadFromUserSettings Method (parent) with Configuration.Current as parent configuration.

May I ask what you want to achieve with this call?

Regards,
Tobias
Ranorex Support Team
.
Image

adanilenko
Posts: 2
Joined: Fri Dec 23, 2011 10:55 am

Re: Loading user configuration file from API

Post by adanilenko » Mon Dec 26, 2011 12:54 pm

Hi Tobias,

we want to use different Configurations (like Mouse.MoveTime) for tests development and test executing on production with dynamically loading configs.
Thanks, I will try your solution.