[wtr-general] Re: Nested Div/Spans element..How to select it?

2014-12-29 Thread Sohail Mirza
Hi, I am able to resolve it using following two lines. @browser.span(:text,'').click // Click on list to expand it. @browser.div(:text,'').click //click on element to select it. I hope this is nice way. Any suggestion from experts? On Mon, Dec 29, 2014 at 3:32 PM, Sohail Mirza

[wtr-general] Watir - Identifying a Span ID and its Text Element - False

2014-12-29 Thread Ma St
I have reviewed many posts, but am unable to get passed this. I am basically trying to verify if the text on the web page is displayed. The text is Welcome under a span id element. It is not clear what the syntax should be when referencing the text under the span id. I get an error that

[wtr-general] Fill up values in popup with nested frames is slow in IE

2014-12-29 Thread Andrew Petrenko
Hello. I have popups with frames (not iframes). And when I set values into textboxes, selectlists and others it takes about 5 seconds for every control. I wonder, is this a defect of watir or there is some other way for workaround? Here is my code: @browser.window(:title = Add New Plan).use do

[wtr-general] Watir - Unable to capture Span Element Text value

2014-12-29 Thread Ma St
I am attempting to figure out how to capture an element's text value (ex. span id text value = Welcome), but I keep getting an error that it is unable to locate the value. The following is my statement in the ruby file. I tried online forums and documentation, but the syntax seems tricky.