I have a issue related to this
I need to click on a link in the webtable if it exist else click on a link to go back to the search page.
I wrote the code elow
Note: There is gonna be only one link in the webtable. Please help
I need to click on a link in the webtable if it exist else click on a link to go back to the search page.
I wrote the code elow
Code:
Set WebLinkObj = Browser("").Page("").WebTable("").ChildItem(2,2,"Link",0)
If WebLinkObj.Exist(5) then
WebLinkObj.Click
else
Browser("").Page("").Link("").Click
end if
Note: There is gonna be only one link in the webtable. Please help