As mentioned in previous post, we now use the following archtiture to do the testing:
Selenium IDE + Selenium Server
The exact command we used for the execution of testing suite is:
java -jar c:/jenkins/selenium-server-standalone-2.33.0.jar -userExtensions C:\jenkins\bin\user-extensions.js -port 4520 -timeout 900 -firefoxProfileTemplate c:\FirefoxPortable201\Data\profile -htmlSuite "*firefox C:\FirefoxPortable201\App\Firefox\firefox.exe" http://example.com test_cases\suit_405_testing_example.html result_suit_405_testing_example.html -singlewindow
Some highlights here:
-
The
suit_405_testing_example
was assumed to be exported from Selenium IDE, it is a set of HTML actions that are recorded on Selenium IDE. -
We set up a custom
user-extensions.js
for screen capture of error page in Firefox, it was not supported by default. Here are some details of the script.
Read more Painful Selenium Testing – Part 3 – Automated HTML Suite with Firefox