Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

I want to know whether it is possible to Install selenium Ide in Internet explorer
and also if it cannot be installed in IE how can the test cases be executed in IE
any help will be valued the most

Thanks
Abinav Shankar
Posted

According to Selenium[^] it is a Firefox extension; so I guess the answer is "No".
 
Share this answer
 
To answer the 2nd half of your question:
To get Selenium to test a web site using IE, you need to first tell the Selenium IDE to generate code for you in your preferred language, and then you can modify that code a with a small tweak like the one shown below. After that you can run it using the combined benefits of Selenium RC and NUnit.

If your preferred language is C#, the first line of generated code in public void SetupTest() will look a little like this:

selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.SiteYouAreTesting.com/");

If you replace "*firefox" in the line above with "*iexplore" the test case will run with Internet Explorer instead of FireFox.

For a thorough description of how to use Selenium IDE, Selenium RC, and NUnit to build and run automated tests, see: http://thetestingblog.com/2009/09/10/selenium-rc-in-c-using-nunit-an-end-to-end-example/#comment-645

The one point where I disagree with the above blog posting is where the author recommends removing a try/catch block in the generated [Test] method. Instead, I recommend that you change this:
verificationErrors.Append(e.Message);
... to this:
verificationErrors.Append(e.ToString());
If you don't make either change then tests that actually fail will be listed as passing because e.Message unfortunately comes out as the empty string (""). On the other hand, e.ToString() correctly has a non-empty string describing the exception details.

What about browsers other than FireFox and IE? The most complete discussions of other browser strings I have found are here: http://seleniumhq.org/docs/05_selenium_rc.html
See the section immediately under, "Handling HTTPS and Security Popups". See also the section under "Supporting Additional Browsers and Browser Configurations".


HTH,

Larry
 
Share this answer
 
You can not install selenium IDE in IE.
But you can run selenium IDE test case in IE or google chrome from command prompt.
For that you need to download selenium server standalone file.
http://software-testing-tutorials-automation.blogspot.in/2013/07/steps-of-running-selenium-ide-test.html[^] will show you all steps to running selenium IDE test case in IE or google chrome.
 
Share this answer
 
CSS
No. you can not install selenium IDE for chrome or internet Explorer. Selenium IDE is only for FireFox.

You can run your testcase generated using selenium IDE in chrome or IE.
you need-
1- Selenium-standlone-server-2.XX.X.jar
2- IEDriverServer.exe
3- Selenium IDE for firefox

Lets put these files with extraction on d:\temp folder
open Command prompt and type
go to d:\ using cd d:\
d:\ go to folder temp using
d:\ cd temp
d:\temp> then type

d:\temp>java -jar Selenium-Standlone-Server-2.XX.X.jar -Dwebdriver.ie.driver=.\IEDriverServer.exe

server will get start

go to firefox->select selenium IDE->Open it->select option menu->select options-> select wedriver tab->check enableplay back web driver and put internet explorer browser name below instead of firefox

restart the Selenium IDE
create- record the test
execute the test will execute in Internet Explorer.
 
Share this answer
 
v2
Getting started with Selenium[^]
This a small effort by me, an article on getting started with selenium, hope you get some idea from this.
Thanks. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900