Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
madhav
madhav
Posts : 5
Join date : 2015-02-16
Age : 40
Location : Bangalore

couldn't able to run test in IE11 Empty couldn't able to run test in IE11

Fri Feb 27, 2015 7:57 pm
hello friends,

     I couldn't able to run test on IE browser

     I am getting error "This is the initial start page for the WebDriver server."

    Can you guys please suggest to overcome the above issue.

     code:

       System.setProperty("webdriver.ie.driver", "F:\\IEDriverServer.exe");
         driver = new InternetExplorerDriver();
        
         driver.get("URL");

      above code works fine for chrome and firefox.


  Thanks in advance
avatar
l3l00
Active particpant
Active particpant
Posts : 11
Join date : 2015-01-06

couldn't able to run test in IE11 Empty Re: couldn't able to run test in IE11

Sat Feb 28, 2015 5:10 am
For the longest time, IE11 was not possible with Selenium expecially Webdriver. It was not until a few months ago that it had become possible, the reason for this being is because IE11 tacked on many new enhancements to make it still a very horrible browser. 

Here is a link to more documentation dealing with IE11:
https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration

Also, I tend to have IE driver break when I try and set its properties.
This is how I have IE setup in my setup method:
Code:
            driver = new InternetExplorerDriver(dPath + @"requiredPlugins\IEdriver\x86");//PATH where the IEDriver Server is present


Your code that you posted has F drive as the location of your IE Driver. I recommend that you create a folder in your automation project to hold the driver itself.

If you left the code as is, you lost the F drive or the automation scripts need to be ran on other computers besides your own, your scripts will eat it right out the door.

The dPath is just a cSharp thing I setup so it starts in the project no matter where the project is locally downloaded to.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum