selenese-runner-java icon indicating copy to clipboard operation
selenese-runner-java copied to clipboard

Commands `click` and `clickAndWait` hanging on IE

Open josepedrocorreia opened this issue 11 years ago • 4 comments

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.

josepedrocorreia avatar Feb 05 '13 15:02 josepedrocorreia

Hmmm... I think it is Selenium WebDriver's problem.

Can you try old version's selenium which does not need IEDriverServer? (modify pom.xml)

vmi avatar Feb 17 '13 14:02 vmi

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!

josepedrocorreia avatar Mar 27 '13 15:03 josepedrocorreia

Can you create test case which reproduce in the probability of over 30% ?

vmi avatar Mar 28 '13 11:03 vmi

It is difficult to reproduce in a context other than the proprietary one I cannot share :-/ I'll see what I can do though.

josepedrocorreia avatar Mar 29 '13 10:03 josepedrocorreia