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



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

Answer / 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

More QTP Interview Questions

if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?

2 Answers   Ordain Solutions,


How to export data present in Datatable to an ".xls" file?

2 Answers  


How to creating an output value using quicktest professional (qtp)?

0 Answers  


How we can add actions in the test using QTP?

4 Answers   BirlaSoft,


PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP?

1 Answers   Wipro,






How do you change Logical Name of the object in test script?

1 Answers   TCS,


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

0 Answers  


Can we run test with out adding object in object repository? How it is possible?

0 Answers  


Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ

3 Answers  


What is the significance of “action 0” in qtp?

0 Answers  


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks

1 Answers   iCreate,


Categories