java - Using Selenium Grid to run IE tests from a linux hub -


at work, have selenium tests built test website building. need support firefox, chrome , ie (both 10 , 11), , therefore tests must run on these browsers. working on setting selenium grid, hub on linux (xubuntu specific) machine. however, getting hub run tests on our windows vm (on external machine) proving troublesome.

we keep getting error:

the path driver executable must set webdriver.ie.driver system property; more information, see http://code.google.com/p/selenium/wiki/internetexplorerdriver.

we have repeatedly tried adding iedriverserver webdriver.ie.driver property on both linux machine , windows vm using following code no avail:

system.setproperty("webdriver.ie.driver", details[1]); desiredcapabilities capability = desiredcapabilities.internetexplorer(); driver = new remotewebdriver(new url("http://localhost:4444/wd/hub"), capability); 

where details[1] path of iedriverserver. have tried using path on both linux , windows.

is there way this? or pretty stuck running hub on windows vm (which rather not do)?

so after 4 hours got working.

you have include ie driver, selenium-server-standalone-1.45.0.jar in windows path environment variable, , not include "system.setproperty("webdriver.ie.driver", details[1]);" line in test running on linux machine, else gets confused.


Comments