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

www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1502


What are the properties you would use for identifying a browser and page when using descriptive programming?

633


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1450


What is checkpoints for quicktest professional (qtp)?

579


How you can delete excel file in qtp?

599






How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

702


What ate the Technologies supported by QTP?

648


What is a Patch in QTP?

606


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1941


How do we handle run-time errors?

583


Can you list some technologies that support qtp?

552


How can you give wait up to 10 seconds in qtp?

588


Explain the concept of how quicktest professional identifies object?

534


How to use descriptive programming?

616


What is the difference between analog and low level recording?

624