02-08-2013, 02:21 AM
I have below code..its not giving any error it just goes through and doesn't click register link. what am I doing wrong? Please help
No luck with both..
Code:
if Browser("openurl:=.*").Page("url:=http://www.yahoo.com.*").link("href:= http://www.yahoo.com.*","name:=register").Exist then
Browser("openurl:=.*").Page("url:=http://www.yahoo.com.*").link("href:= http://www.yahoo.com.*","name:=register").Click
end if
Also Tried
if Browser("openurl:=.*").Page("url:=.*").link("html tag:=A", "name:=register", "href:= http://www.yahoo.com.*").exist then
Browser("openurl:=.*").Page("url:=.*").link("html tag:=A", "name:=register", "href:= http://www.yahoo.com.*").click
end if
No luck with both..