Neeraj Kulkarni
Neeraj Kulkarni

Reputation: 1

Jenkins Ranorex plugin not executing test

I am new to Jenkins. I have master and slave configuration done and I have installed Jenkins on my master and want to run my ranorex test on my slave machine. All files needed for running ranorex scripts are present on my slave. When the job from the master runs, it gives error

[2019/11/18 17:04:51.686][Debug  ][Logger]: Console logger starting.
[2019/11/18 17:04:51.845][Failure][TestSuite]: This operation requires an interactive window station
[2019/11/18 17:04:51.858][Debug  ][Logger]: Console logger stopping.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE

i tried workarounds like going to Jenkins serve and selection option of user interaction. If i only have bat file on slave of copying one folder to another and if i trigger job from master, it works. So master slave configuration does not have issue. Issue is running Ranorex GUI Test on Slave.

Upvotes: 0

Views: 484

Answers (1)

Ned
Ned

Reputation: 530

Jenkins needs to be running as an application not a service (which is default). Services cannot show anything with a GUI nor interact with anything with a GUI.

  1. Disable the Jenkins service

    enter image description here

  2. Run Jenkins via Command Line java -jar jenkins.war

    enter image description here

For a more detailed guide, check out the Infrastructure section of the Ranorex Jenkins integration blog.

Upvotes: 1

Related Questions