[wtr-general] Re: Watir not able to locate any element on the page

2012-03-15 Thread Anthony Hallett
Yes Sorry Chuck .. my mistake .. the input element is the target .. On Friday, 16 March 2012 14:07:29 UTC+11, Chuck van der Linden wrote: > > I could swear the html he posted said he was looking for an input tag. I > see the outer div container that holds it, and it's possible he may need to >

[wtr-general] Re: Validating Image is clickable

2012-03-15 Thread Chuck van der Linden
On Tuesday, March 13, 2012 8:40:21 PM UTC-7, Joe Fl wrote: > > Hi, > > I need to confirm this tag [a class="person-inline-profile "] is > available to know the image is clickable. I have included the html > code below. > > I have tried the following and returns as 'false'. > > @browser.div(:i

[wtr-general] Re: Watir not able to locate any element on the page

2012-03-15 Thread Anthony Hallett
The element you are trying to find is: ? firstly, as it has an id, and by convention this should be unique try: found = ie.div(:id => 'Submitted-From').present? found will be true if watir finds the element I noticed in your post you have id => 'Submitted-From_txt' which does not match the id

[wtr-general] Watir not able to locate any element on the page

2012-03-15 Thread srinivasarao jyothi
Hi There, I am new to ruby& watir. I have started learning recently. When i tried to automate the following, watir is throwing error saying could not locate.Please help me out on this. -i want to locate the following:--- = = i tried: ie.text_field(: