Page 1 of 1

Access SimpleDataConnector

Posted: Wed Feb 22, 2012 5:45 pm
by saltsman
I'd like to pull data from my AD/LDAP server and plop it into my data source (dconn) using C# to use throughout the rest of my test folders for the project. Is that possible?

Re: Access SimpleDataConnector

Posted: Thu Feb 23, 2012 12:36 pm
by Support Team
Hi,
saltsman wrote:I'd like to pull data from my AD/LDAP server and plop it into my data source (dconn) using C# to use throughout the rest of my test folders for the project. Is that possible?
You want to create a Simple Data Connector via code? Or do you want to change an existing one?

Regards,
Peter
Ranorex Team

Re: Access SimpleDataConnector

Posted: Thu Feb 23, 2012 4:09 pm
by saltsman
If I was able to edit an existing one (meaning one mapped out in Ranorex Studio), that would be ideal. I'd rather not have to go and make a global for it, but if I have to - I have to.

Re: Access SimpleDataConnector

Posted: Fri Feb 24, 2012 11:41 am
by Support Team
Hi,
saltsman wrote:If I was able to edit an existing one (meaning one mapped out in Ranorex Studio), that would be ideal. I'd rather not have to go and make a global for it, but if I have to - I have to.
Attached you will find a sample solution how you can change the datasource during runtime.
ChangeDataSource.zip
Regards,
Peter
Ranorex Team