Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
checkbox in gmail
#5
Solved: 11 Years, 4 Months, 4 Weeks ago
Thanks Saket!

My next hurdle is after sign on, click Trash link and select ALL check boxes
Code:
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").webedit("name:=Email").Set "narayan1975"
browser("name:=Gmail: Email from Google").page("title:=Gmail: Email from Google").webedit("name:=Passwd").Setsecure [Moderator : Never disclose your Password - Saket]
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

browser("name:=Gmail - Trash - narayan1975@gmail.com").page

("title:=Gmail - Trash - narayan1975@gmail.com").link("name:=trash").click
browser("name:=Gmail - Trash - narayan1975@gmail.com").page("title:=Gmail - Trash - narayan1975@gmail.com").webelement("outertext:=all").click

I encounter an error in line browser("name:=Gmail - Trash - narayan1975@gmail.com").page("title:=Gmail - Trash - narayan1975@gmail.com").link("name:=trash").click

Cannot find the "[ Link ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application.


Messages In This Thread
checkbox in gmail - by narayan1975gmail - 11-19-2009, 12:26 PM
RE: checkbox in gmail - by Saket - 11-19-2009, 01:03 PM
RE: checkbox in gmail - by narayan1975gmail - 11-19-2009, 03:07 PM
RE: checkbox in gmail - by Saket - 11-19-2009, 03:17 PM
RE: checkbox in gmail - by narayan1975gmail - 11-19-2009, 03:44 PM
RE: checkbox in gmail - by Saket - 11-19-2009, 03:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check if the checkbox is checked or not? pjavvaru 5 15,591 11-28-2024, 03:54 PM
Last Post: Demon31
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 1,119 02-13-2020, 07:34 PM
Last Post: RamUFT
  Webtable Checkbox in UFT Syahirah 7 11,566 11-15-2017, 03:47 PM
Last Post: Ankur
  How to delete particular mails in Gmail using QTP rajkumarsm 1 4,200 10-06-2014, 07:03 PM
Last Post: rajkumarsm
  Delete Gmail email newqtp 4 4,768 07-05-2013, 02:12 PM
Last Post: Staff

Forum Jump:


Users browsing this thread: 5 Guest(s)