QA/Tools/Selenium/AMO Automation: Difference between revisions

Jump to navigation Jump to search
Line 10: Line 10:
## Drop your testcase.html file(s) into the htmlSuite directory
## Drop your testcase.html file(s) into the htmlSuite directory
## In htmlSuite, create an HTML file called testSuite.html, following the markup in [http://wiki.openqa.org/display/SIDE/Automating+Selenium+IDE+tests http://wiki.openqa.org/display/SIDE/Automating+Selenium+IDE+tests]
## In htmlSuite, create an HTML file called testSuite.html, following the markup in [http://wiki.openqa.org/display/SIDE/Automating+Selenium+IDE+tests http://wiki.openqa.org/display/SIDE/Automating+Selenium+IDE+tests]
## Change the |href=| filename to match each of your testcase's filename
## Change the |href=| filename attributes to match each of your testcase's filename
# From the command line, issue: java -jar selenium-server.jar -htmlSuite "*firefox" "https://preview.addons.mozilla.org" [1 -- just a footnote, don't enter me!] "/Users/stephend/Desktop/selenium-remote-control-1.0-SNAPSHOT/htmlSuite/testSuite.html" "/Users/stephend/Desktop/results.html" (substituting, of course, the folder name of your RC version and path/to/tests and path/to/results.html)
# From the command line, issue: java -jar selenium-server.jar -htmlSuite "*firefox" "https://preview.addons.mozilla.org" [1 -- just a footnote, don't enter me!] "/Users/stephend/Desktop/selenium-remote-control-1.0-SNAPSHOT/htmlSuite/testSuite.html" "/Users/stephend/Desktop/results.html" (substituting, of course, the folder name of your RC version and path/to/tests and path/to/results.html)
# If all goes, well, your first testcase will begin running; when it's finished, it'll run the next testcase, and once that's completed, it'll quit Firefox and write out |results.html|
# If all goes, well, your first testcase will begin running; when it's finished, it'll run the next testcase, and once that's completed, it'll quit Firefox and write out |results.html|
Confirmed users
9,511

edits

Navigation menu