Running watir in ruby build from jenkins does not show browser on which automation is running. (Win 7 and Win 8 issue)

62 views
Skip to first unread message

Amit Dewan

unread,
Jul 8, 2014, 1:29:45 AM7/8/14
to jenkins...@googlegroups.com
Hi All,
I am facing a strange issue while running ruby-watir framework from jenkins.

Problem:
I am working on watir-webdriver in ruby. I have developed my own framework to run scripts in ruby.

I am running the framework by executing batch file.
 
Automation is going very well from command line (DOS) and from within eclipse.

But when I create new job in Jenkins to run the framework, the automation is running fine and results are also shown as expected but browser on which automation is running is not shown up. ie- execution is shown as headless where as i am not using headless.
I have tried on jenkins version (1.499 and 1.520) and for both windows 7 and windows 8.

Is there any solution to get rid of this issue or is this the known issue?
Thanks in advance for help.

Regards,
Amit Dewan

kiruba anand

unread,
Sep 15, 2015, 2:56:11 PM9/15/15
to Jenkins Users
hi i am also facing the same issue please help

Mark Waite

unread,
Sep 15, 2015, 2:58:14 PM9/15/15
to Jenkins Users
Are you running the Jenkins slave as a service?  If so, then you'll either need to switch to run the Jenkins slave on the desktop, or you'll need to configure the service to allow it to access a desktop.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/68a159c2-5998-4c4e-adfb-1fdc816cdc35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages