12 years ago
TestComplete + Jenkins
Colleaguess,
I have seen these two articles:
Running TestComplete Tests with Multi-Configuration Jenkins Projects and
Cross-Browser Web Testing – a TestComplete and Jenkins Framework
and they both did not solve my issue.
I have Jenkins installed on Windows 7, x64, I have TestExecute installed on the same host and loaded TC project.
Also I have .bat file that I use to run my tests.
When I was creating a job on jenkins I did it in two ways and both did not work.
First one was when I set a path in Execute Windows Batch Commands window . A path to run that .bat file that I click to run my tests.
The second way I used the following in Execute Windows Batch Commands window
date /t
time /t
SET TESTEXECUTOR="C:\SmartBear\TestExecute 9\Bin\TestExecute.exe"
IF EXIST "C:\SmartBear\TestExecute 9\Bin\TestExecute.exe" SET
TESTEXECUTOR="C:\SmartBear\TestExecute 9\Bin\TestExecute.exe"
%TESTEXECUTOR% "C:\AplanaFinal\HomeCredit_autotests\Source\MyTestProject2\MyTestProject2.mds" /run project:MyTestProject2 /test:"Script|preparingDataForTests|preparingDataForTests" /exit /SilentMode /el:C:\tmp\new-preparingDataForTests1.mht /ns
In both cases I see that testexecute appears as a process in TaskManager but it did not appear in system tray and I did not see the testexecute player.
So in both cases my tests were not going. The tested application was not run and tested WEBs were not opened
May be you know where I was wrong.
I would appreciate for any suggestions.
Thank you.
I have seen these two articles:
Running TestComplete Tests with Multi-Configuration Jenkins Projects and
Cross-Browser Web Testing – a TestComplete and Jenkins Framework
and they both did not solve my issue.
I have Jenkins installed on Windows 7, x64, I have TestExecute installed on the same host and loaded TC project.
Also I have .bat file that I use to run my tests.
When I was creating a job on jenkins I did it in two ways and both did not work.
First one was when I set a path in Execute Windows Batch Commands window . A path to run that .bat file that I click to run my tests.
The second way I used the following in Execute Windows Batch Commands window
date /t
time /t
SET TESTEXECUTOR="C:\SmartBear\TestExecute 9\Bin\TestExecute.exe"
IF EXIST "C:\SmartBear\TestExecute 9\Bin\TestExecute.exe" SET
TESTEXECUTOR="C:\SmartBear\TestExecute 9\Bin\TestExecute.exe"
%TESTEXECUTOR% "C:\AplanaFinal\HomeCredit_autotests\Source\MyTestProject2\MyTestProject2.mds" /run project:MyTestProject2 /test:"Script|preparingDataForTests|preparingDataForTests" /exit /SilentMode /el:C:\tmp\new-preparingDataForTests1.mht /ns
In both cases I see that testexecute appears as a process in TaskManager but it did not appear in system tray and I did not see the testexecute player.
So in both cases my tests were not going. The tested application was not run and tested WEBs were not opened
May be you know where I was wrong.
I would appreciate for any suggestions.
Thank you.