[wtr-general] Issues with CSS hover menus and jQuery click events including solution/workaround

2013-11-07 Thread Mont Rothstein
We ran into some issues and I thought I would share how we resolved them. Issue #1 - We have a CSS hover based hierarchical menu in our web app. It has an always visible top level and two sub-levels that only appear as you hover and navigate through the menu. We could get the first sub menu

Re: [wtr-general] Intermittent failure of when_present

2013-07-22 Thread Mont Rothstein
After reporting this bug I was kindly pointed to this wikihttps://code.google.com/p/selenium/wiki/InternetExplorerDriveron the Selenium webdriver. It explains about the need for the IE window to have focus. -Mont -- -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Intermittent failure of when_present

2013-07-19 Thread Mont Rothstein
Thanks. I forgot to mention we are running Jenkins on Windows server. That said, I've been googling and it seems that under Windows people are doing things like leaving the user that runs the Jenkins process logged in. I think we will probably use PowerShell to remote to a Client machine

Re: [wtr-general] Intermittent failure of when_present

2013-07-19 Thread Mont Rothstein
John, Thank you very much for your reply and suggestions. While elements not being visible due to scrolling are not an issue in this case it did lead me to the answer. The test I have been trying to run is quite long. Therefore I had been going about my other business on the same

[wtr-general] Re: Intermittent failure of when_present

2013-07-18 Thread Mont Rothstein
If no one has an answer to this are other people seeing similar behavior? This flakiness has got me a bit spooked about Watir. Thanks, -Mont -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Intermittent failure of when_present

2013-07-16 Thread Mont Rothstein
I am getting intermittent failures of when_present. I can't figure out how to resolve them. *Environment*: IE 10 (Browser mode: IE10 Compat View, Document mode: IE7 standards) ruby 2.0.0p247 (2013-06-27) [x64-mingw32] watir (4.0.2) watir-webdriver (0.6.4) selenium-webdriver (2.33.0) *Failing

Re: [wtr-general] Possible element.click bug

2013-07-15 Thread Mont Rothstein
Done and thanks. -Mont -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you

Re: [wtr-general] Possible element.click bug

2013-07-13 Thread Mont Rothstein
watir-webdriver -Mont -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are

[wtr-general] Possible element.click bug

2013-07-12 Thread Mont Rothstein
I've found what I believe is a bug in element.click but it is strange and inconsistent so I am uncertain. The general issue is clicking menu items in a CSS drop-down menu. The specific problem is that for some menu items, specifically and only the first item under the first and third

Re: [wtr-general] Possible element.click bug

2013-07-12 Thread Mont Rothstein
Driving IE 10 (Browser Mode: IE10 Compat View, Document Mode: IE7 Standards) Windows 7 Starting browser with Watir::Browser.start(url, :ie) Thanks, -Mont -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com