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 qtp recognizes the object?

0 Answers  


what are recovery management techiniques?

2 Answers   BirlaSoft, GL Noble Denton,


Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..

2 Answers  


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

0 Answers  


4. How u will open the build automatically in QTP except using Systemutil.run command

4 Answers  






Difference between copy to action and call to action?

0 Answers  


If QTP not recognizing using repository while executing, how can we go forward

3 Answers  


can any body tell me all of the release dates of QTP?????..... thanks in adv!

3 Answers  


What are the different recording modes and how do they work?

0 Answers  


how to get no.of non empty rows in a excel sheet through vb-script

2 Answers   HP,


How can we close all webbrowsers which are opened in out desctop?

8 Answers  


How you r using QTP in u r project

1 Answers   IBM, Lehman Brothers,


Categories