Hi, 

I'm working on an integration project continues using jenkins 
<http://jenkins-ci.org/>. 
I have installed Jenkins and cofigurado properly on a Windowns machine and 
run a command "grunt test" that performs a test 
<http://www.javaranch.com/unit-testing.jsp> 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: 

? 
<http://www.coderanch.com/t/651457/tools/Perform-testing-protactor-selenium-jenkins#>
1
2
3
4
5
6
7
8
9
10
11
Initiated by the user anonymous
Building on the workspace C: \ Program Files (x86) \ Jenkins \ jobs \ Test 
screen \ workspace
System is not Unix, Xvfb will not be started
Starting Xvnc
[Workspace] $ C:\Program Files\RealVNC\VNC Server\ vncserver: 13 -geometry 
1024x768
............
? [4mRunning "protractor: run" (protractor) task [24m?
Using ChromeDriver directly ...
[Launcher] 1 Running instances of WebDriver ...
............
Terminating Xvnc.

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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bfe4285a-d532-4797-857d-0b7b5407bd51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to