08-10-2011, 02:42 PM
Hi Gaveyom,
what u had told its very correct but there is an alternative to it also.(if u want to practice more on DP)
U can use Descriptive programing.
look for all the links in web table
navigate through each link and click on the desired link
Correct me if wrong
Regards,
Sankalp
what u had told its very correct but there is an alternative to it also.(if u want to practice more on DP)
U can use Descriptive programing.
look for all the links in web table
navigate through each link and click on the desired link
Code:
Set odesc=Description.Create()
odesc("micclass").value="link"
Set l_link=Browser("a").Page("b").WebTable("c").ChildObjects(odesc)
For i=0 to l_lionk.count-1
If l_link(i).Name="XX" Then
l_link(i).Click
End If
Next
Correct me if wrong
Regards,
Sankalp