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.
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.
when I end up, I realised this content worth a lot
ReplyDeleteselenium webdriver with java
java with selenium jobs