Odin Technology - Automated Software Testing

Axe Test Automation Platform

General discussion relating to the Axe Test Automation Platform from Odin Technology

Posts by Odin employees marked:

Multi-environment use of datasource

Hi

Axe v3.3
Selenium C#

We have a Datasource file containing usernames and user details, eg:
id          username        firstname    lastname
SuperUser    AXESU1          Axe          SuperUser

We are now looking to use Axe in another environment, but found that due to LDAP configurations, the same username cannot exist in both environments.

Our subtests call this data file by id to load the username for login. 

The only way I can think to handle this is to manually nobble the file to change the usernames (however this is not ideal from a source control perspective and would affect the other environment)

Is there anything you can think of to solve this? 

Thanks

Mark
Mark Winspear Send private email
Monday, May 14, 2012
 
 
Hi Mark,

I would recommend placing username/password information in the RunConfig file rather that a static datasource. This would be much cleaner IMHO and would mean you only have to build the scripts once and just select a different runconfig for each environment.

See the OdinPortal sample for some examples of how to do this. i.e. test OPLI512 in AdvancedTests:Tests
Then look at one of the RunConfig files such as Selenium_Firefox.

Sam
Sam Warwick Send private email
Friday, May 18, 2012
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics