how to find coresponding element
Hi to all
if an Element is known and unique how can we find out the coresponding element displayed in the web page.
if Browser(BrowserName).Page(Page name).Link("xxxx").Exist then
??? get the Previous and Next element of the known element displayed in the page
Re: how to find coresponding element
You could use following code to fetch element.
This example is to fetch all the links.
In case you want to try other elements,we must identify common property replace it with "html tag".Here html tag is common property for link but diffrent names.
set list=Browser(BrowserName).Page(Page name).ChildObjects(desc)
for i=0 to list.count-1