Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to logout from gmail using QTP
#1
Not Solved
Hi,

My name is Hemant. I just started learning the QTP tool.

Actually I am trying to record a web application.


I just recorded a script for login to the gmail and logout.
I am facing some problems in the below line.

Code:
Browser("Gmail: Email from Google").Page("Gmail - Inbox (28635)").Frame("czecrpgao5tpb").Link("Sign out").Click

Here the value 28635 changes dynamically and the frame "czecrpgao5tpb" name changes dynamically whenever we log on to the gmail.

So these objects are not recognised by QTP and I am not able to log out.

I tried using regular expressions in "Expert View" window pane but it's not working.

How to handle such situations in which the name of the object changes dynamically?

Thanks and Regards,
Hemant Kumar
Reply


Messages In This Thread
Not able to logout from gmail using QTP - by hemant - 03-02-2010, 05:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to delete particular mails in Gmail using QTP rajkumarsm 1 4,181 10-06-2014, 07:03 PM
Last Post: rajkumarsm
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 11,365 07-09-2014, 10:43 PM
Last Post: hhamilton
  Delete Gmail email newqtp 4 4,747 07-05-2013, 02:12 PM
Last Post: Staff
  Total no of mail in gmail excellentpawan 2 3,157 07-05-2013, 01:56 PM
Last Post: Staff
  gmail signout dropdown thru DP zakshah.12 0 2,310 03-05-2013, 07:47 AM
Last Post: zakshah.12

Forum Jump:


Users browsing this thread: 5 Guest(s)