Forum Discussion

sonia1's avatar
sonia1
Occasional Contributor
12 months ago

Jenkins + TestComplete

Hello, 

 

We are trying to integrate TestComplete in Jenkins in order to run a java desktop application.

 

After launching the Pipeline, TestComplete run the tested application successfully by executing a start.bat file that the path is specified before.

 

The problem is that TestComplete cannot exceed this step because it can't have the control of the tested application, it seems that it don't recognise any object, although it recognises them well when launched locally.

 

Is there an issue to resolve that problem ? 

Is there a solution to propose for us quickly please? 

 

Thanks in advance 

 

 

5 Replies

  • If you try to launch your tests with testexecute via jenkins also compare the settings of testexecute with the settings of your testcomplete because they can be different. E.g. "Search for visible objects first..."

     

    • sonia1's avatar
      sonia1
      Occasional Contributor

      Thank you for your response, 

       

      We are not using TestExecute, but TestComplete instead.

       

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Ensure the credentials that are used to launch the batch file from Jenkins has appropriate permissions and that the agent/service is correctly set up. Also, you need to have an active session open i.e. the computer must not be locked.

     

    See Integration With Jenkins

  • sonia1's avatar
    sonia1
    Occasional Contributor

    To summarise the current situation:

    TestComplete behaviour is OK and functional on the normal cession

    Switching to admin cession makes TestComplete not recognise any objects in the tested application, as if it is new to it

    Have you an idea of what it ca be ?