Hi Ashok
Its difficult to answer your question with no code example or html output
But I'm guessing if you check to see if the count (of nodes) is equal to
zero.
Good Luck
On Tue, Jul 20, 2010 at 12:33 AM, Ashok Prabhu wrote:
> I have a web application which has a tree structure. I m using Watir
> to automate the application. Sometimes the test case fails where the
> tree group is empty (no nodes under it). Hence there is no plus sign
> to its left. However the application expects it to have nodes and
> fails. How do I find out whether the tree group has nodes under it and
> handle it accordingly.
>
> Thanks,
> ~Ashok.
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe:
> watir-general+unsubscr...@googlegroups.com
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com