I am running a test in Selenium RC with Java in Eclipse to browse two URLs. I get two Selenium windows, but testing of both URLs is done by opening one single IE window. How can I make it open the URLs on two different IE browsers and if possible, simultaneously?
views:
674answers:
3How can we open multiple IE instances while testing web appl. with selenium RC and java in eclipse?
I believe you must use two Selenium instances to achieve this effect - one selenium instance per window.
Hi Metroid,
Iam using the below java code in eclipse. I could get two selenium windows for two iterations in while loop (Aren't these two windows the selenium instances? If so how to achieve this) and on third IE window google page is opened twice. I need to open google page on two separate IE windows.
while ((strLine = br.readLine()) != null) { browser = new DefaultSelenium("localhost", 4444, "*iexplore", "http://www.google.com"); browser.start(); browser.open("/"); ....... ..... }
Did you achiev this? I am trying doing the same, but on this page http://svn.openqa.org/fisheye/browse/~raw,r=497/selenium-grid/trunk/doc/website/faq.markdown I read, that the selenium instance is writing something into the registry, a value, that identifies his internet explorer instance. If you start another selenium instance, it uses the same value and the same explorer.
please tell me if you found something. thanks.