Lee_M
4 years agoCommunity Hero
Data driven loop round collection of variables
I have a test that is made up of 3 parts
- Log in
- test for the correct user
- Log out
Log in passes URL as a parameter, the test works fine.
I now have 2 environments:
Live and test on different URLs - both MUST URLs be stored as separate string vars (liveUrl, testUrl)
Given that both environments share the same credentials, is there any way to loop these so they share the same test?
a DDT loops using a var (excel sheet, table, DB)
How can I loop round the 2 vars
The only way I can work around this problem is to programmatically populate a table var with these 2 separate values before runtime
Does anyone have any solutions/suggestions on this problem?