- madhav
- Posts : 5
Join date : 2015-02-16
Age : 40
Location : Bangalore
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
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
- l3l00Active particpant
- Posts : 11
Join date : 2015-01-06
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:
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.
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.
- Selenium IDE showing error In google page couldnt test the links and verifyTextpresent when we click on some links
- Selenium : NoSuchElementException in IE11 JAVA
- Not able to click a webelement in IE11 using Selenium Webdriver
- What are the possible solution to trigger IE11 on Remote Machine in Selenium
- Pass multiple test data record to run test suite recursively
Permissions in this forum:
You cannot reply to topics in this forum
|
|