Sunday, November 17, 2013

How to work on IE applications with Selenium Web Driver

If you want to run your application on IE browser, there should be certain configurations we need to do.

Please follow the below procedure.

1. Download "IESERVERDRIVER" from the below given path.
https://code.google.com/p/selenium/wiki/InternetExplorerDriver .
And make sure download the file according to your system configurations.
 if it is windows 64 bit-- download :IEDriverServer_x64_2.37.0.zip
If it is windows 32 bit -- download : IEDriverServer_Win32_2.37.0.zip
 After downloading the same . make sure unzip the file and ..
Create one folder in C: driver like below
                   C:\Selenium Automation\IEServerDriver  ..
Now place the .exe file in the above path.

Now you need to do IE settings:

1. Open the IE browser.
2. Go to Tools option.
3. Go to Internet Options.
4. Select Security Tab.
Now.. Enable protected mode should be checked for
a. internet.
b. Local Intranet.
c.Trusted sites.
d. Restricted sites.


follow the below settings also


Now you can write the Program like below.


1 comment:

TestNG - Can i use the 2 different data providers to same @test methods in TestNG?

public Object [][] dp1 () { return new Object [][] { new Object [] { "a" , "b" }, new Obje...