Use PC as slave for ORQA tests with Jenkins

Is it possible to run ORQA tests with a slave via Jenkins while I’m still using the PC?

Hi,

Yes you can do this. There are 2 options for this:

a) Use the Jenkins Slave installer (here) and install the slave as a service (see item #6 in the guide). You can do this under your own user or as the System Admin. Make sure you set it to Startup type = “Automatic”.
76e7332f64d3aa5c5078d6eed8248f099a5e9bbb

b) You can also use the scheduler to do the same. Just create a new scheduled task but this time you would only run the slave from command line

f8199aebaa2f676ae2aa343558c03657bb5634ef

90dfc2eac37b4d22701c930daf23b6eeb9af9f26

5666639bd84dadbd9fd521cee7d64923d24b1980

On Jenkins side

We’re assuming you already have the slave node configured.

  1. Create a “New Item” and use the Freestyle project configuration:

bbfb09e1a75e0c5a647011121e69ca12883692e0

  1. Select slave node in the “Restrict where this project can be run”

e4dc3a893c1828b2522762bb9e0578feb4e3dcc4

  1. Add Build Step and select “Execute Windows batch command” (assuming you run your slave on Windows)

ea5dace42e6dcfd6f7161ec8b94f5f8bbe654307

  1. Enter the startup script. The below example assumes ORQA is installed in the “ORQA” directory in Jenkins workspace on the slave node.

0a8a2571ca29ada21a9ffdec9aa0068cec370e91

Thank you

And can he run this tasks for GUI automation even if user is not logged in?

Yes that works too in both cases.

1 Like