how to run selenium rc test case in Internet Explorer
Solution 1
Change the browser start command string you pass to DefaultSelenium factory. It will be *iehta or *iexplore depending on your selenium version.
new DefaultSelenium("localhost", 4444, "*iexplore", "http://www.google.com/");
Check out the docs for more info.
--Sai
Solution 2
Just replace *firefox
with *iexplore
. The exact code will vary depending on what language you're writing your test in or how you're actually launching the browser.
see: http://seleniumhq.org/docs/05_selenium_rc.html#from-selenese-to-a-program and click the button for your particular language.
Solution 3
If you hit the Script error while running tests on IE with selenium RC, it might be because of not running the selenium server with Administrator privileges. I had the similar issue and could get it running with by running the selenium server as an Administrator
Srishti
Updated on June 04, 2022Comments
-
Srishti almost 2 years
My selenium RC java code is running successfully on firefox. Can anyone tell me how to run the same test case on internet explorer?
-
Srishti about 13 yearsThanks but it is throwing Internet Explorer Script Error. It is saying 'No such interface supported'
-
Sai Venkat about 13 yearsWhich version are you using.. It depends on that. I think the earlier versions supported *iehta.. Check the docs for that version for more info about browser interfaces