[wtr-general] Re: Introducing Watirsome

2013-05-18 Thread Jarmo Pertman
Hi! If you're looking something really lightweight, then my gem Test::Page is the one you're looking for: https://github.com/jarmo/test-page Jarmo On Friday, May 17, 2013 11:46:18 PM UTC+3, Chuck van der Linden wrote: On Monday, May 13, 2013 11:36:12 PM UTC-7, Alex Rodionov wrote: Hey

[wtr-general] Re: click_no_wait not working

2013-05-18 Thread Jarmo Pertman
You still have to use #click_no_wait with Watir-Classic to make the alert to appear. Using #click would block indefinitely :( I have written about debugging #click_no_wait problems in the past. It can be slightly out of date, but the big picture should be the same. Read it here:

[wtr-general] Re: Introducing Watirsome

2013-05-18 Thread Alex Rodionov
@Jarmo @Chuck I created this because I've been using page-objecthttps://github.com/cheezy/page-objectfor more than a year and I didn't know abut test-factory and test-page. It has a bit different API compared to them: test-factory and test-page provide with #element class method, while

[wtr-general] Re: How to locate an element on a mask layer?

2013-05-18 Thread Alex Rodionov
It is very difficult to help you unless you provide some actual Ruby and HTML code. On Saturday, May 18, 2013 9:28:26 AM UTC+7, Christian wrote: After I clicked a button,then the site gives a floating mask layer. I tried to find an element on the mask layer using class,like

[wtr-general] Re: Cannot identify button element by value?

2013-05-18 Thread Alex Rodionov
Reposting myself from SO: +1 to raise this as issue on watir-webdriver as it definitely needs discussion. I use button(:value) in my tests a lot and it actually matches button's value, so there is something behind this. According to code, button tag name and value are treated specifically.

[wtr-general] Re: Introducing Watirsome

2013-05-18 Thread Alex Rodionov
For the record, I have updated Watir readme to include all these libraries. On Saturday, May 18, 2013 8:19:47 PM UTC+7, Alex Rodionov wrote: @Jarmo @Chuck I created this because I've been using page-objecthttps://github.com/cheezy/page-objectfor more than a year and I didn't know abut