| || |
How to get the items from the list
In our Application i have a link named "Menu" and when i click on that link a list of items are displayed whose class name is also Link.
I want to get all the items that are displayed while clicking on the "Menu" link and save them in a array and compare those items with a user defined array.
Can any one help me on this?
Re: How to get the items from the list
1) get the collection of the links with defined class
<font class="small">Code:</font><hr /><pre>
Set obj = Description.Create
obj("micclass").value = "Link"
obj("class").value = "your class"
Set collect = Browser(...).Page(...).ChildObjects(obj)
2) compare this collection with your user defined array [img]/images/graemlins/smile.gif[/img] (try to find the ready solution for this or use "For" construction)