Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Selenium RC Multi-Window Vs Single-Window Mode

In Selenium RC, users can run tests under Multi-Window mode or Single-Window mode. Multi-Window mode is the default behavior by default. Some application may not run correctly in a sub frame, and needed to be loaded into the top frame of the window. The Multi-Window mode option allows users to run the tests in a separate window rather than in the default frame.

Multi-Window Mode

C:\selenium-java-2.39.0>java -jar selenium-server-standalone-2.39.0.jar -htmlSuite "*firefox" "http://www.seleniummaster.com" "c:\SeleniumTestCase\SeleniumMasterLoginTestSuite.html" "C:\SeleniumTestCase\LoginTestSuiteTestResult.html" -multiwindow

 

 


Single-Window Mode

C:\selenium-java-2.39.0>java -jar selenium-server-standalone-2.39.0.jar -htmlSuite "*firefox" "http://www.seleniummaster.com" "c:\SeleniumTestCase\SeleniumMasterLoginTestSuite.html" "C:\SeleniumTestCase\LoginTestSuiteTestResult.html" -singlewindow