Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
weblink issue
#7
Not Solved
Code:
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").webedit("name:=Email").Set "xxx"
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").webedit("name:=Passwd").Setsecure "xxx"
If browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").WebCheckBox("name:=PersistentCookie").GetROProperty("Checked") then
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").WebCheckBox("name:=PersistentCookie").Set "OFF"
else
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").WebCheckBox("name:=PersistentCookie").Set "ON"
end if
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").webbutton("name:=sign in").click
wait(10)
Browser("title:=Gmail.*").Page("title:=Gmail.*").link("Innertext:=Trash").Click
Browser("title:=Gmail").Page("title:=Gmail.*").webelement("Innertext:=all",  "outertext:=all", "x:=235", "y:=161").Click
Browser("title:=Gmail").Page("title:=Gmail.*").webelement("Innertext:=Delete forever", "outertext:=Delete forever", "x:=188", "y:=136").Click

Now the issue is with last line....QTP doesnt throw any error ,but it doesnt delete any
Reply


Messages In This Thread
weblink issue - by narayan1975gmail - 11-19-2009, 04:00 PM
RE: weblink issue - by v_selvam - 11-19-2009, 06:09 PM
RE: weblink issue - by narayan1975gmail - 11-19-2009, 10:04 PM
RE: weblink issue - by sreekanth chilam - 11-19-2009, 10:40 PM
RE: weblink issue - by narayan1975gmail - 11-20-2009, 06:45 AM
RE: weblink issue - by basanth27 - 11-20-2009, 11:05 AM
RE: weblink issue - by narayan1975gmail - 11-20-2009, 11:43 AM
RE: weblink issue - by narayan1975gmail - 11-21-2009, 08:47 AM
RE: weblink issue - by narayan1975gmail - 11-24-2009, 08:09 AM
RE: weblink issue - by akash - 08-03-2010, 10:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Presence of WebLink and Webbutton hamzaz 1 2,217 07-29-2012, 03:49 PM
Last Post: sree.85
  Anchor tag (WebLink) always takes smart identification path!!! sepgs2004 3 4,423 02-09-2009, 08:44 PM
Last Post: sepgs2004
Question General RunTime Error when clicking a weblink manojmathew1984 4 4,101 11-28-2008, 04:08 PM
Last Post: manojmathew1984

Forum Jump:


Users browsing this thread: 2 Guest(s)