Re: [wtr-general] watir xpath how to use variable

2015-01-03 Thread Oscar Rieken
I would suggest you take some time and learn how ruby works, and how to manage strings. On Fri, Jan 2, 2015 at 10:23 AM, Sohail Mirza mrz...@gmail.com wrote: Hi Joe I am getting the following error. *Code:* $rowCount = @browser.table(:class, 'table table-hover table-condensed

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

2015-01-03 Thread Dan
Give this a try. From your description it sounds like you're looking for the text and not the value. You might also be running into a timing issue here. puts @browser.span(:id = *lblTitleHolder*).when_present.text On Friday, December 26, 2014 5:29:52 PM UTC-5, Ma St wrote: I am attempting