Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to logout from gmail using QTP
#6
Not Solved
Hi sreekanth,
Thanks you very much for your replay. I followed the steps suggested by you but still the issue has n't been resolved.

In your 3 steps, you said to write the code for clicking on signout. But unfortunately the code fails at this point only. You could have mentioned the code Sad. I have mentioned the code i used to click on signout button(with framename and without frame name).

However i tried the following and it started working. Please let me know if this is the correct way of automating.

Steps:
step 1 and step2 u mentioned are useful
step3: Go to object repository (OR) and select the frame which contains the signout link( The frame name will be shown something like this "c143afasq43"). Add the name property in the object properties by clicking on + sign and selecting the name property.(if name property already exist then ignore adding it).
Step4. Click on name property in the object property and observe the <#> sign. Value configuration properties popup will be displayed. Check the regular expression check box. In the constant text box enter c.* (framename always start with c). Click ok
step5. Now in the expert view , write the code to click on signout link, like below.

Code:
Browser("brwname).Page("pagename).Frame("c143afasq43").link("Sign out").click -9999, -9999
Note that i have given the framename which was captured during recording. But in the object properties we have given it as c.* . So even when the frame name changes the test will pass.

Let me know if this is the correct way to solve this issue.

Thanks
krish
Reply


Messages In This Thread
RE: Not able to logout from gmail using QTP - by kishore.gkk - 08-05-2010, 11:44 AM

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: 6 Guest(s)