Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

couldn't able to run test in IE11

View previous topic View next topic Go down

couldn't able to run test in IE11

Post by madhav on 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
madhav

Posts : 5
Join date : 2015-02-16
Age : 34
Location : Bangalore

Back to top Go down

Re: couldn't able to run test in IE11

Post by l3l00 on 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.

l3l00
Active particpant
Active particpant

Posts : 11
Join date : 2015-01-06

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum