Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Running Automated UI Tests in IE11 using IEDriverServer and Selenium Webdriver - Button Clicks do not work

$
0
0

Hi,

I'm trying to automate our web app's testing using Robot Framework Tests. I have run these tests in Chrome & Firefox and they work fine. I'm trying to execute the same tests in IE11.

I have downloaded the IEDriverServer.exe from Selenium's official site and have done the configurations necessary in my PC for running the tests.

Ref: https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration

I'm using Xpaths or IDs to interact with my webpage elements. I observe that when the driver tries to interact with a submit button (such as Login or Logout) the script just halts.

It does not stop neither does it fail that step and proceed further to the next. (I had used the Robot framework library's In-built keyword 'Click Element' for this purpose.)

After a lot of research in many forums I found that sometimes Submit button clicks and selecting <option> elements do not work as expected with the current implementation of IEDriverSriver in IE11.

Therefore I have changed all the Mouse Clicks to Press Enter Key in my test script and now the tests run. But since this isjust a work around I would like to know if there is any fix or a better solution to solve this Click issue.

Also, since I'm not sure if the issue lies with only Selenium's implementation of IEDriverServer and/or Microsoft's changes made in IE11, I'm posting this issue here in the hope that I would get a solution from at least ONE of the two sources.

Thanks,

Vaish


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>