Hey there,
Let's say I have two sites...
http://shopping.mycompany.com/ - Shopping Site
http://admin.mycompany.com/ - Administers Shopping Site
And I have many environments...
http://devshopping.mycompany.com - Developer
http://uatshopping.mycompany.com - UAT
http://shopping.mycompany.com - Released
I want to schedule a test list on a remote machine for the DEV environment to run every night.
I want to schedule the same test list on the local machine for the RELEASE environment to run every night.
Obviously, I want to avoid copy pasting each test for each environment. I created a step to extract text from an input box (either dev, uat, or nothing) and run coded navigation steps. Thus, I must change a test step in this "Environment" test each time I want to run my tests in a different environment. The issue is that I can not simultaneously run my tests at night in multiple environments.
This sounds like a great job for the Base URL option. I'll create a test list for each build and set a different base URL each time. However, i'm experiencing an issue with Base URL.
The base URL for my dev test list is "http://dev" for example. I expect this to then append to "~shopping.mycompany.com" to create... "http://devshopping.mycompany.com". Instead, it attempts to navigate to "http://dev/shopping.mycompany.com", adding a slash.
Is there a way to get rid of that slash?
Let's say I have two sites...
http://shopping.mycompany.com/ - Shopping Site
http://admin.mycompany.com/ - Administers Shopping Site
And I have many environments...
http://devshopping.mycompany.com - Developer
http://uatshopping.mycompany.com - UAT
http://shopping.mycompany.com - Released
I want to schedule a test list on a remote machine for the DEV environment to run every night.
I want to schedule the same test list on the local machine for the RELEASE environment to run every night.
Obviously, I want to avoid copy pasting each test for each environment. I created a step to extract text from an input box (either dev, uat, or nothing) and run coded navigation steps. Thus, I must change a test step in this "Environment" test each time I want to run my tests in a different environment. The issue is that I can not simultaneously run my tests at night in multiple environments.
This sounds like a great job for the Base URL option. I'll create a test list for each build and set a different base URL each time. However, i'm experiencing an issue with Base URL.
The base URL for my dev test list is "http://dev" for example. I expect this to then append to "~shopping.mycompany.com" to create... "http://devshopping.mycompany.com". Instead, it attempts to navigate to "http://dev/shopping.mycompany.com", adding a slash.
Is there a way to get rid of that slash?