Team,
I have following test flow. I want to configure a Executable file to Run it on QA/ Prod Environment from config file.
please guide us.
Unit 1: Test A Env- Prod
Unit 2: Test B Env QA or Prod - Different Url
Unit 3: Test C Env QA or Prod -Different Url
Unit 4: Test D Env QA or Prod -Different Url
How to configure this file so that we can make the Changes to QA/ Prod for Unit-2, 3, & 4.
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"
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”Subject | Author | Latest Post |
---|---|---|