How To Use Parameters To Change The URL
We have a suite of tests that we kick off using a PowerShell script every time there's a product deploy. We have 2 environments where the tests run: A QA environment and a "live" environment. Currently, when we want to run the tests in one of the environments, we go to the project suite variables tab and change the URL variable for the project suite to the URL that we want to run the tests on right before we deploy to that environment.
What we're trying to do now is set the tests up in a way so that every time there's a deploy to our QA environment or the "live" environment, the tests will automatically kick off in the environment that we deployed to without someone manually having to go into the project suite variables and changing the URL. I'm thinking that the best way to go about that is to pass in that project variable as a parameter somehow, but I have no idea how to go about doing that.
I did a Google search and came across this video on the TestComplete support site, but the video never loaded or played for me: https://community.smartbear.com/t5/TestComplete-General-Discussions/Running-Test-Execute-file-from-powershell/td-p/126056
Any other ideas or suggestions on how we can get the tests to automatically run in the correct environment would be greatly appreciated.