http://blog.codecentric.de/2010/02/remote-screenshots-mit-selenium-und-dem-robot-framework/
Also, if you know how to get this working for IE without the
singleWindow mode, please let me know :)
Kindest Regards,
Andreas
I was recently looking at "Sauce Labs". They use selenium and let you
execute your test cases on the cloud. One feature they have is that you
can get movies of your test execution and see the failures.
I was thinking that it would be easy to do that in the selenium-plugin.
Create a keyword that will start takig screenshots automatically after
every selenium function is executed. Then at the end, concatenate all
screen shots into a movie file.
--
Radek
Thanks for the interesting post. Here's a direct link to the English
version if somebody interested about this missed it:
http://blog.codecentric.de/en/2010/02/remote-screenshots-mit-selenium-und-dem-robot-framework/
> Also, if you know how to get this working for IE without the
> singleWindow mode, please let me know :)
Capture Screenshot keyword has now been enhanced so that it can be
used with all browsers regardless is the Selenium Server running on
the local or remote host [1]. Notice that this keyword takes a
screenshot of the whole desktop. We also decided to implement a
separate Capture Page Screenshot [2] but it only works on Firefox due
to problems in Selenium you already noticed.
Our target was to release SeleniumLibrary 2.3 today but fixing some
problems with IE and other yak shaving took so much time that the
release is postponed to Monday. All the issues targeted for 2.3 [3]
have now been fixed (or descoped) so the current code can be
considered RC quality.
[1] http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=89
[2] http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=93
[3] http://code.google.com/p/robotframework-seleniumlibrary/issues/list?can=1&q=target%3D2.3
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org