Hi SanKalp,
Thank you for your response. I was using your approach and thought there might be better way of doing it. When I enter a search string (eg 111) then I get all the links that have 111 in them so here is how I did it now. Please let me know if there is a better way of douing it. Also could you please tell me how to read static text inside a web page?
Thank you,
Sqadri
Thank you for your response. I was using your approach and thought there might be better way of doing it. When I enter a search string (eg 111) then I get all the links that have 111 in them so here is how I did it now. Please let me know if there is a better way of douing it. Also could you please tell me how to read static text inside a web page?
Code:
For i =0 To linkCount -1
linkTag = link_col(i).GetROProperty("name")
Reporter.ReportEvent micPass, "Link Name", linkTag
'if group number '111' exists in the group No link then exit
If Instr(linkTag, "111") Then
Reporter.ReportEvent micPass, "Found Group NO", linkTag
Exit Function
End If
Next
Sqadri