in QTP,how to write a descriptive program for "yahoo"
or "gmail" Login page

Answer Posted / thirumala reddy

Writing the script using object properties and execute teh script without using object repository is called Descriptive program

plz check this descriptive program for gmail
first you have to take unique properties of objects using object spy and write DP

Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Email").set "enter email address"
Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebEdit("name:=Passwd").Setsecure crypt.Encrypt("enter password")
Browser("name:=Gmail: Email from Google").Page("title:=Gmail: Email from Google").WebButton("name:=Sign in").Click

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways is to parameterize the value?

698


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1442


What are the views available in qtp?

686


What is keyword view in qtp?

633


What is the standard timing delay for web based application in qtp?

681






Where you get the run time data table?

674


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1596


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1527


What test cases can you automate using QTP?

740


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1629


Explain the types of object repository?

641


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

6266


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

732


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7413


What is difference in global and action sheet in qtp?

704