Re: How to capture first link in webpage when content changes everytime??
How about using regular expressions?
Re: How to capture first link in webpage when content changes everytime??
you can use the below script to click the first link in a page:
Browser().Page().link("ClassName:=Link", "Index:=0").click
Re: How to capture first link in webpage when content changes everytime??
You need to create Description object for the links on web page then using For loop count the no.of links on the page then retrive first link content.
Mahi
Re: How to capture first link in webpage when content changes everytime??
I think, there is no need to create a description object. This would be sufficient.
Browser().Page().link("ClassName:=Link", "Index:=0").click