Forum Discussion
Isn't java webstart for JNLP deprecated ?
I was getting the same logs even when the test was working fine before. Please find the logs when test execution worked fine before jenkins upgrade.
[TestComplete] The test execution started (XLVirtual/XLVirtualGroups/FULL). [TestComplete] Found TestComplete/TestExecute installations: Type: TC, Version: 15.69.139.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 15\x64\bin\TestComplete.exe" Type: TE, Version: 15.69.139.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe" Type: TELite, Version: 15.69.139.50, Path: "C:\Program Files (x86)\SmartBear\TestExecuteLite 15\x64\bin\TestExecuteLite.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TC, Version: 15.69.139.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 15\x64\bin\TestComplete.exe" [TestComplete] [WARNING] 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. [TestComplete] Launching the test runner. $ C:\cygwin64\bin\cygpath -w '"C:\Program Files (x86)\SmartBear\TestComplete 15\x64\bin\SessionCreator.exe"' $ '"C:\Program Files (x86)\SmartBear\TestComplete 15\x64\bin\SessionCreator.exe"' ExecuteProcess '/c:""C:\Program Files (x86)\SmartBear\TestComplete 15\x64\bin\TestComplete.exe"" ""C:\Users\utaadmin\Documents\TestComplete 15 Projects\XLVirtual\XLVirtual.pjs"" /run /SilentMode /ForceConversion /ns /exit "/ExportLog:c:\jenkins-pspc\workspace\LTE\BeOn\BeOn_Android\XLVirtualAndroid-Product\1756958455186.tclogx" "/ExportLog:c:\jenkins-pspc\workspace\LTE\BeOn\BeOn_Android\XLVirtualAndroid-Product\1756958455186.htmlx" "/ErrorLog:c:\jenkins-pspc\workspace\LTE\BeOn\BeOn_Android\XLVirtualAndroid-Product\1756958455186.txt" "/ExportLog:c:\jenkins-pspc\workspace\LTE\BeOn\BeOn_Android\XLVirtualAndroid-Product\1756958455186.mht" "/project:XLVirtualGroups" "/test:FULL" /JenkinsTCPluginVersion:2.9.2' [TestComplete] Test runner exit code: 2. [TestComplete] [WARNING] Error: Unable to find an element by the specified selector.. [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] The test execution finished (XLVirtual/XLVirtualGroups/FULL).
Also the tests works fine when I use SessionCreator from jenkins for executing tests. its just that it doesnot work with the Testcomplete plugin now. When it was working fine before , the agent was connected using JNLP. This log statement [WARNING] 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. was present even when the tests worked fine .