Any one knows about descriptive programming to identify
objects in a page?
Kindly drop me mail
prasanna.sabat@gmail.com

Answer Posted / madhusudana

hi friends this is madhusudan

we can achieve D.P in two ways

* static way
* dynamic way

static type means we can directly write the properties and value of the test objects in script.
example script

browser("title:=Ranford home page").page("title:=Ranford home page").exist

like this

dynamic means we have to create the description object to the test objects by fixing the set of properties and values and that description object we can use in script directly.

example

dim br,pg

set Br("propety").value="value"
set pg("property").vlue="value"
Browser(br).page.Exist

these are the two types of D.P

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1620


What are the benefits of quick test pro(qtp)?

558


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1391


In qtp, explain what is qrs file?

581


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

1781






which type of testing process are you following in ur company? how to recognize a qtp page?

1399


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1410


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1346


How may types of defects identify application or your currently working application?pls give me answer..

1508


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5930


How to interact tool & application build in QTP?

1460


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

5862


What are the different types of qtp test assets and their extensions?

592


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1574


What is test object model in quicktest professional?

619