Sunday, December 19, 2010

Run selenium tests in IE 8 (windows 7)

In windows 7, it is not possible to run selenium tests in IE 8. However, there is a workaround. Go to IE 8, Tools->Compatibility view Settings and then check the Display all sites in compatibility view.

Now if you type *iexplore in your code, it will run perfectly in the browser.

1 comment:

  1. I am facing an issue for xpath in IE8 My script works fine in IE7. For IE8 its not identifying the element. I am using webdriver. element"//a[@id='blog]"