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

How to add a runtime parameter to a datasheet?

1 Answers   Crea,


Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


what is object repository?

4 Answers  


What is keyword view and Expert view in QTP?

1 Answers   Crea,


How to associate function library at a run time?

0 Answers  






can we call a test in another test?

3 Answers   iFocus,


How to export quicktest professional (qtp) results to an .xls file?

0 Answers  


What is Virtual object wizard in QTP?

4 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?

2 Answers   IncRev,


There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.

0 Answers  


Can we Test Welcome Screens and Process Images with QTP

0 Answers  


Categories