Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

how to execute the IEBROWSER IN SELENIUM GRID.

Solved 1 Answers 56 Views
0 1
<!DOCTYPE suite SYSTEM "" >
<suite name="sampleTestSuite" verbose="1" >

 <test name="grid1">
 <parameter name="browserName" value="internetExplorer"></parameter>
 <parameter name="version" value="11"></parameter>
 <parameter name="platform" value="WINDOWS"></parameter>
      <class name="Selenium.grid1"/>


    private WebDriver driver;
    public void beforemethod(String browserName,String version,String platform ) throws MalformedURLException
        DesiredCapabilities cap;
         else if(browserName.equals("chrome"))
         else if(browserName.equals("internetExplorer"))
        driver=new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"),cap);

1 Answer

Best answer
You can setup IE by downloading IEDRIVERSERVER from you can Google it for latest version.

You can set it up the same way you are setting chrome  driver. You have to use in your command line and set path to IEDriverServer.

Hope it helps.
answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.