Forum Discussion
shankar_r
7 years agoCommunity Hero
Hi,
Step 1: refer this link https://support.smartbear.com/viewarticle/9021/ to get your url value from command line into TestComplete project variable
Step 2: Make changes in your tests to use the Project Variable to access the URL
Step 3: Get help from this link to frame your command line.
Sample batch file content will look like,
"C:\Program Files (x86)\SmartBear\TestComplete 12\x64\Bin\TestComplete.exe" "D:\myHTMLTest\myHTMLTest.mds" /r /test:Unit1 /exit /SlientMode AppURL="mytest.com" "C:\Program Files (x86)\SmartBear\TestComplete 12\x64\Bin\TestComplete.exe" "D:\myHTMLTest\myHTMLTest.mds" /r /test:Unit1 /exit /SlientMode AppURL="mytest1.com" "C:\Program Files (x86)\SmartBear\TestComplete 12\x64\Bin\TestComplete.exe" "D:\myHTMLTest\myHTMLTest.mds" /r /test:Unit1 /exit /SlientMode AppURL="mytest2.com"
Related Content
Recent Discussions
- 2 days agovladd1