• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Perform testing (protactor / selenium) with jenkins with 1024x768 resolution

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm working on an integration project continues using jenkins.
I have installed Jenkins and cofigurado properly on a Windowns machine and run a command "grunt test" that performs a test suite with protactor and selenium.

The test run, but jenkins open a session with the OS and I can not see the execution, as I would see it?

The biggest problem is the jenkins opens the browser at a lower resolution to 800x600 to run the test where just giving error mostly already tried using QRes.exe

Example: "QRes.exe / x: 1024 / y: 768," more is generated the message: "Error: The graphics mode is not supported."

I also tried using VNC with Xvnc plugin in jenkins and configured this way.

command line = "C: \ Program Files \ RealVNC \ VNC Server \ vncserver: $ DISPLAY_NUMBER -geometry 1024x768"

The setup worked for in the build log I can see the plugin running:


But the test still end up failing because the resolution is still less than 800X600,

I do not know what to do to set up a resolution in jenkins, then ask for help come to you.

Thank
 
Erick Macedo
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
up
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
cross linking to Testing forum
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont' think the problem is related to Jenkins. Can you try running the QRes.exe directly from DOS on the Jenkins Windows server? If that doesn't work, you'll have to figure out why before going back to Jenkins.

Also, you list the command:
QRes.exe / x: 1024 / y: 768,

Are there spaces in it? I would expect to see /x:1024 and /y:768
 
reply
    Bookmark Topic Watch Topic
  • New Topic