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

What r the different filters in defect in quality center

3287


Explain the difference between check point and output value?

498


write the vb script for call to new action in qtp?

1863


How to modify the text checkpoint?

621


What is the Difference between test object and run time object?

613






Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3253


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1429


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1505


how can we do the frame work in qtp

1608


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1541


How can you pass value one action to another action?

557


who QTP recognizes the object stored in object repository?

1667


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

591


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

1869


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

1628