Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LInk reg expression
#3
Not Solved
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

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..
Reply


Messages In This Thread
LInk reg expression - by QAVA - 11-02-2012, 11:49 PM
RE: LInk reg expression - by Ankesh - 11-08-2012, 04:54 PM
RE: LInk reg expression - by newqtp - 02-08-2013, 02:21 AM
RE: LInk reg expression - by Ankesh - 02-14-2013, 11:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic link and Regular expression sudhirzpatil 5 8,780 03-03-2011, 02:16 PM
Last Post: indirani
  var can be used in reg expr ? zhangjiaqiang 0 1,801 06-19-2009, 02:45 PM
Last Post: zhangjiaqiang
  Regular Expression to click an Link ramkumar 1 2,706 07-28-2008, 12:51 PM
Last Post: surya_7mar

Forum Jump:


Users browsing this thread: 1 Guest(s)