Your question is on managing test executions and cross browser testing. Managing test execution is better handled by Continuous Integration, which is a must for serious test automation attempts. (Check out Lisa Cripin's blog on this topic: http://lisacrispin.com/category/continuous-integration/)
Back to your question, yes, it can be done. we implemented that following the guidance from the book 'Practical Web Test Automation': https://leanpub.com/practical_web_test_automation. The tests are distributed to different build agents (on different machines), each agent can be set to run with a specified browser, eg. Firefox or Chrome. A piece of advice: get distributed test execution done first, which can significantly reduce your test execution time (aiming for 10 minutes, regardless how many tests you have or how long does it take to run all on a single machine). The rest (cross browser testing, ..) can be easily achieved after that. On Tuesday, November 26, 2013 1:01:33 PM UTC+10, [email protected] wrote: > > I have a set of tests which are run on firefox. is there any way i can run > the same set of scripts on 2 browsers simultaneously or one after the other > with out duplicating code. > Im using rspec and watir-webdriver > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
