Forum Discussion

gevans's avatar
Occasional Contributor
6 years ago

[Jenkins] Test Complete Report Images are Blank / Click Causes User Session Disconnected Error

I'm using the Test Complete plugin on Jenkins to run Test Items within my project suite. Through each assertion of a step in a test scenario, I call the following function to take a screen shot of th...
  • gevans's avatar
    6 years ago

    Was able to get this to work -


    The way Jenkins was connecting to the node prior was through a headless method, meaning that a RDC was not being established, therefore I wouldn't be able to get screenshots or use any clicks.


    From this document

    "If your tests interact with the GUI, configure your TestComplete Test build steps in your Jenkins projects to open an interactive user session in which they will run. Otherwise, your tests will fail. See the description of the Run interactive user session property of the TestComplete Test build step."


    However, with my initial setup I was getting an error when I specified the "Run interactive user session" flag in the Jenkins config.


    "The node is connected via Java Web Start (JNLP). In this mode, the "Run interactive user session" property of the TestComplete Test step is ignored. TestComplete (or TestExecute) will work in the current user session."


    After installing Jenkins as a service, I was able to use the "Run interactive user session" property, but I also needed to use the "Use active session," meaning I had to manually set up a RDC with the specified user prior to starting the Jenkins job.