Forum Discussion
I look at the configuration link.
I am seeing the difference in launch method which is "Launch agent via java Web Start"
Thanks
Nishchal
I am using the java Web Start launch Agent. As it has been mentioned when using the Launch Method "Let jenkins conrol this windwn slave as a window service has some other issues.
Also when I minimize the VM window I got the error - Mozilla Firefox is invisible and thus cannot be activated.
Started by user Nishchal Gupta [EnvInject] - Loading node environment variables. Building remotely on slave_plaza in workspace C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway [TestComplete] The test execution started (Banner Fiscal Gateway/Home). [TestComplete] Found TestComplete/TestExecute installations: Type: TE, Version: 12.60.5545.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestExecute.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TE, Version: 12.60.5545.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestExecute.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:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestExecute.exe" "C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway\Banner Fiscal gateway\Banner Fiscal Gateway.pjs" /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway\7634674.tclogx /ExportLog:C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway\7634674.htmlx /ErrorLog:C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway\7634674.txt /ExportLog:C:\Users\nisgupta\Documents\TestComplete\workspace\TC_UDEV_BannerFiscalGateway\7634674.mht /project:Home /DoNotShowLog [TestComplete] Test runner exit code: 2. [TestComplete] [WARNING] Error: The window 'Mozilla Firefox' is invisible and thus cannot be activated.. [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] Marking the build as UNSTABLE. [TestComplete] The test execution finished (Banner Fiscal Gateway/Home). Build step 'TestComplete Test' changed build result to UNSTABLE Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: UNSTABLE
- nisgupta6 years agoValued Contributor
I am using remote desktop Connection to connect to VMs.
- shankar_r6 years agoCommunity Hero
Have you done the below setup? if not please do
Launching Jenkins Slave Agent via Java Web Start
To connect to a node via Java Web Start, launch the Jenkins agent on the slave machine:
-
Log on to your slave computer.
-
On the slave computer, open the http://<Master_Name>:8080/computer/<Node_Name>/ web page in the browser:
-
Click Launch, or launch the slave agent using the command line provided by Jenkins.
To automate the launch via Java Web start, you can install Jenkins as a service from the Jenkins slave agent:
-
On your slave computer, launch the Jenkins slave agent as described above and click File > Install as a service:
-
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. To learn how to do that, see the description of the Run interactive user session property of the TestComplete Test build step or the description of the
useTCService
parameter of the step (for Pipeline script). If no interactive user session is open, your tests will fail.
Under Windows 8 and later Windows versions, TestComplete needs elevated permissions by default. The Java Web Start agent application cannot start it with needed permissions, but the service can. You can also disable support for testing Windows Store applications and launch TestComplete with user level permissions. Another option is to add the downloaded .jnlp file to startup (you will need to add the slave agent's certificate to trusted certificates) and enable auto-login following the MSDN instructions. In this case, Jenkins will connect to the user session, so you will not have to open an interactive user session from your TestComplete Test step.
-
- shankar_r6 years agoCommunity Hero
DUPLICATE
Related Content
- 11 years ago
- 3 years ago
- 4 years ago
- 8 years ago
Recent Discussions
- 3 hours ago
- 20 hours ago