Forum Discussion
Can you please suggest me What the following error says?
[TestComplete] Test runner exit code: -10 (Unable to create a user session). [TestComplete] [WARNING] Unable to find the log file "1646141.tclogx". [TestComplete] [WARNING] Unable to find the log file "1646141.htmlx". [TestComplete] [WARNING] Unable to find the log file "1646141.mht". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as UNSTABLE. [TestComplete] [WARNING] Unable to publish test results (xml data is empty). [TestComplete] The test execution finished
Good afternoon,
The machine that is the Jenkins (installation) tabem is installed TestComplete?
If not, that's why we are not finding the TestComplete / Run.
Also I tried to make installation on another machine and have not had success.
Recalling that the TestComplete project in SVN, and Jenkins looking at the same place (SVN) has just as
goal run that project, just need something to start the project (TestComplete / Execute).
Try ai warns.
- shilpi_agarwal8 years agoContributor
I am badly stuck in TestComplete intgration to Jenkins.
Form Starting I want to share the step by step procedure for achieving TestComplete with jenkins--
1. A Win 7 Machine where all 3 TestComplete , Jenkins and Tortoise SVN are installed.
2. Directory structure of TestComplete Project Suit and Project are -
D:\TestCompleteProject\GUITestingAutomationProject\GUITestingAutomationProject.pjs
D:\TestCompleteProject\GUITestingAutomationProject\GUITestingAutomation\GUITestingAutomatio.mds
D:\TestCompleteProject\GUITestingAutomationProject\GUITestingAutomation\Scripts,NameMapping.... and so on.
3. Created a new Repo named "TestAutomationGUI" on SVN and code is committed from TestComplete IDE to SVN under trunk.
4. Configure TestComplete with Jenkins-
create a new job on jenkins and done settings. for example-
We have workspace on jenkins-
when we run Build we get following error in jenkins-
Please suggest Where I am wrong?.. I have tried with not selecting the "Run Interactive the User Session ." on jenkins project configuration but still not able to achieve.
Please help me out.
- sha8 years agoContributor
A quick answer (my weekend has already started:smileyhappy:):
1) Project should not be "GUITestingAutomation\GUITestingAutomation.mds" but just "GUITestingAutomation"
2) I believe you are getting the error code -10 because of the '\LogonAndExecute" which you get because you set "Run Interactive user session" (I understand you have tried without it; which error do you get then?)
/Søren Harder, QA/Test engineer, Zmags
- shilpi_agarwal8 years agoContributor
I tried to disable the "Run Interactive User Session" and getting the following error on jenkins
Please suggest.
Regarding the project Location, I am not very much clear about this. Current Directory structure is-
D:\TestCompleteProject\GUITestingAutomationProject\GUITestingAutomationProject.pjs -- Project suite file
D:\TestCompleteProject\GUITestingAutomationProject\GUITestingAutomation
If something is missing please suggest me.
- p_bremm118 years agoContributor
Clear what is in red in the image. And try to run the test.
My OS is Portuguese, but I believe that is the same location.
Advanced System Settings> Remote- shilpi_agarwal8 years agoContributor
Advance System Setting -> Remote
- krishnamandal6 years agoNew Contributor
Solved
it seems you are configured wrong in build section. I have attached a screen shoot for the Build section. Please follow the same. I am sure it will work.
Project Suite: Please specify the project suite path.
Script Test:
Project: Specify the project name where the test script available.
Unit: Test Script Name.
Routine: Test script routine. (Function name of the test script)
Please try it. It works for me.