priyalmistry4
7 years agoOccasional Contributor
How To Use Parameters To Change The URL
Hello,
I am working on automating test scripts for staging and prod environment where I need to set dynamic values for the URL. I am trying to use parameters which takes different values for URL. How can I set the parameter value in Sys.Browser().page() function and use the parameter for web comparison.
Thanks!
You can use data-driven testing to test a list of different urls
https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/index.html
If you just change the url every once in a while, then I would just use a project variable for the parameter.