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 is the Bitmap checkpoint different from Image checkpoint?

0 Answers  


Explain how to use QTP to check broken links on a page?

0 Answers  


take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?

2 Answers   IBM,


What is the regular expression for Yahoo mail Inbox?

2 Answers  


Where should we turn Smart Identification ON in QTP?

5 Answers  






Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)

2 Answers   Broadridge,


Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me

1 Answers  


What is the extention of Virtualobject

1 Answers   Accenture,


Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?

6 Answers   Oracle, TCS,


Explain advantages and disadvantages of ddf?

0 Answers  


What are the different types of recording modes?

0 Answers  


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

0 Answers   Avenger Software,


Categories