Forum Discussion

Subbulakshmi's avatar
Subbulakshmi
Frequent Contributor
6 years ago

Test Complete execution through Jenkins - Database issue

Hi,

 

I have configured Test complete plugin in Jenkins and able to execute the test cases properly, if the script does not have any database queries. If there is a database query, It is waiting for infinite time. 

The same configuration works in colleague's machine properly and When I execute the test case directly from Test complete, it works fine. 

 

Could you please let me know the issue and work around. 

  • Subbulakshmi's avatar
    Subbulakshmi
    6 years ago

    Hi, 

     

    The issue is resolved now. The problem was, We use Test Complete 32-bit for our execution and Database driver is also 32-bit. But Jenkins is launching Test Complete 64-bit. Hence Database is not connected. When I redirected it to use 32-Bit test complete, we are able to execute the test case properly. 

    Thank you all. 

11 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    You need to configure database access on the machine where tests are running via Jenkins.

     

    • Subbulakshmi's avatar
      Subbulakshmi
      Frequent Contributor

      Hi,

       

      I am able to connect to database when I run my testcase from Test complete directly. Only through Jenkins, it is not working. 

      • shankar_r's avatar
        shankar_r
        Community Hero

        It might be an access issue.

         

        Do you running your tests VM or in local system?