selenese-runner-java
selenese-runner-java copied to clipboard
Commands `click` and `clickAndWait` hanging on IE
Unfortunately I don't know how to create a concrete test example for this one. I cannot share the test that is failing since the system I'm testing is proprietary.
The problem is the following: at some point in my tests I'm clicking on a button which triggers a new page to load. Both clickAndWait
and click
are hanging when testing on IE (tried IE8 on WinXP and IE9 on Win7). They perform the click action properly, the page loads, but the commands do not succeed. They even do not timeout, they just hang indefinitely. Every now and then they do succeed, but the behavior is not deterministic.
The page that is being loaded has some Flash object in there, I don't know if that might be the problem.
Any ideas on what might be wrong? I would also appreciate any workaround you can think of.
Thanks in advance.
Hmmm... I think it is Selenium WebDriver's problem.
Can you try old version's selenium which does not need IEDriverServer? (modify pom.xml)
Just realized this is also happening in Firefox (tried version 19.0.2), so I guess it doesn't help to try your solution, right?
Any other suggestions?
Thanks in advance!
Can you create test case which reproduce in the probability of over 30% ?
It is difficult to reproduce in a context other than the proprietary one I cannot share :-/ I'll see what I can do though.