Recently, we updated our Web UI, and now watir is unable to find items
in firefox.  These items are also tested vs IE and those tests are
working fine.  I can not find a reason why these Items are failing.
At first,  I thought that it may be an issue with the "depth" of where
the fields are in the HTML but that doesn't seem to be the issue.

In my test I am selecting an Item in the table,  however the table
"labelRow" is not able to be found.  So I put a break point in my code
before where the selection happens and do a "puts $Browser.table
(:id,"labelRow").exists?"  That returns false.  I check firebug and it
shows the table is there.  I tried testin other Items on the page and
things that were there were also returning a false positive (double
and triple checked spelling).

Here is an example of what is returned from IE developer toolbar.  The
last Item is the table.  I have placed 0's near items that returned
true on "exists?" and an "x" that returned false.
<HTML>
.....<BODY>
.........<DIV id=page-wrap>
..............<DIV id=main-content-wrapper>
..................<DIV id=main-content> 0
......................<DIV id=main-content-1> 0
..........................<DIV id=main-content2> 0
..............................<DIV id=extendedPrintViewContent> x
..................................<FORM
id=extendedPrintViewContentForm> x
......................................<DIV
id=content_labelGridView.tile> x
..........................................<DIV class=printpage
accordian>
..............................................<DIV class=content>
..................................................<DIV
id=my_grid_Container> 0
......................................................<DIV
class=xhdr>x
......................................................<DIV
class=objbox>x
..........................................................<TABLE id
=labelRow>x

The "."'s are to help with spacing, to show the structure of the
html.  So I wondered if the table was bing seen as a different name
so I tried "puts $Browser.show_tables"  and it returned "There are 0
tables" "0..-1".

I have not been able to find a pattern as to why watir can not find
these items.  Any sugestions would be greatly appreciated.  If you
need more information please let me know.  Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to