![]() |
|
SCript?? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: SCript?? (/Thread-SCript--7203) |
SCript?? - rawat.jagat9 - 02-14-2013 how to check the number of unread emails in gmail using qtp SCript?? - Pavan keerthi - 02-14-2013 'You need to be logged into the Gmail account Code: Browser("title:=Gmail.*").Page("title:=Gmail.*").Link("innertext:=Inbox.*").ClickRE: SCript?? - newqtp - 02-15-2013 Code: 'Login to gmail Account RE: SCript?? - Ram2009 - 02-16-2013 To add to the above script, I am able to login successfully to gmail. But when I tried to click on Inbox I am getting the error. Browser("name:=Inbox.*", "hwnd:=854422").page("title:=Inbox.*","hwnd:=852998").Link("innertext:=Inbox.*").click Error is seen as below: Cannot find the "[ Link ]" object's parent "[ Browser ]" (class Browser). Verify that parent properties match an object currently displayed in your application. I am using QTP 10 trail version, Windows 7 ultimate OS, IE 8 Plx let me know if you need any other info. |