Robotframework and Jenkins to small screenshot resolution

939 views
Skip to first unread message

WarBar

unread,
Aug 6, 2015, 11:02:04 AM8/6/15
to robotframework-users
HI.

I wonder what is the reason that in some projects, when i run "Maximize Browser Window" and "Capture Page Screenshot" i have very long jpg file ( like 1280x4000 )
and in other project i have only (800x600). [ same robot/ same Jenkins slave ]
Small resolution is big problem for my tests. Web page looks unnatural and screenshot are useless from debugging point of view.
Maybe there is a way to set resolution for screen when i start test by Jenkins slave ?

Tatu Aalto

unread,
Aug 7, 2015, 1:35:17 AM8/7/15
to bartosz...@gmail.com, robotframework-users

Ugh

Selenium2Library and selenium do not have means to control the display resolution. Resolution is controlled by the OS of the slave and the resolution can change from various reasons. I would investigate problem from the OS side.

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Igor Radovanovic

unread,
Oct 7, 2015, 6:38:11 AM10/7/15
to robotframework-users
Did you fix this problem? I have the same one.

Mark Winspear

unread,
Oct 7, 2015, 6:47:54 AM10/7/15
to robotframework-users
If you use Sauce labs, the VM can be configured for different screen resolutions (for some OS):

Reply all
Reply to author
Forward
0 new messages