Ahmed_Abdullah_1
13 years agoNew Contributor
Invoke TestComplete from Linux
Hi,
I can execute following batch script named 'run-one-test.bat'
start /wait "TestComplete" "C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe" "C:\MPSAUTO\IBOXtoMPS.pjs" /run /exit /SilentMode /p:MPS /t:"Script|RunFunctions|runIboxToMps" "SUITE_NAME=OPCBA" "TEST_NAME=OPS01"
When I run 'run-one-test.bat' file in my local Windows-7 test machine, it executes the test end-to-end successfully.
but I want to run the batch file from a Linux box.
So I installed cygwin and cofigured password free ssh. So I execute following command:
ssh user@windows-7-host "C:\temp\run-one-test.bat"
It executed the batch file from Linux box. But it has problmes with output redirection and fails to run the test end to end.
I am not much experienced with TestComplete. So, is there some other way to invoke a TestComplete test from Linux?
Ahmed
I can execute following batch script named 'run-one-test.bat'
start /wait "TestComplete" "C:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe" "C:\MPSAUTO\IBOXtoMPS.pjs" /run /exit /SilentMode /p:MPS /t:"Script|RunFunctions|runIboxToMps" "SUITE_NAME=OPCBA" "TEST_NAME=OPS01"
When I run 'run-one-test.bat' file in my local Windows-7 test machine, it executes the test end-to-end successfully.
but I want to run the batch file from a Linux box.
So I installed cygwin and cofigured password free ssh. So I execute following command:
ssh user@windows-7-host "C:\temp\run-one-test.bat"
It executed the batch file from Linux box. But it has problmes with output redirection and fails to run the test end to end.
I am not much experienced with TestComplete. So, is there some other way to invoke a TestComplete test from Linux?
Ahmed