what is descriptive.create()in qtp?

Answers were Sorted based on User's Feedback



what is descriptive.create()in qtp?..

Answer / aditya790

Krishna Prasad, That is not Descriptive.Create(). It is Description.Create()
For writting description programming in Unified Functional Testing(UFT) it is used to declare description Object.

Is This Answer Correct ?    1 Yes 0 No

what is descriptive.create()in qtp?..

Answer / ani

To create properties collection and we can create
properties object(MYDescription).once we have filled
properties collection with a set of properties objects
(properties,values) we can specify properties object in
place of an obj name

Is This Answer Correct ?    1 Yes 1 No

what is descriptive.create()in qtp?..

Answer / rashmi jaiswal

Set objdesc = Description.Create is used to create an object from which we can get child objects from any page like number of links present in a page or number of browser opened.

Ex:-
Set objdesc = Description.Create
objdesc("micClass").value ="Link"
Set childObj = Browser("Anyproperty").Page("Anyproperty").ChildObjects(objdesc)

print childObj.count will give you number of links present in the page.

Is This Answer Correct ?    0 Yes 0 No

what is descriptive.create()in qtp?..

Answer / m dora babu

Incase, Two objects are same , While recording the
application, and adding the objects in the Object
Repository of application then we have to use Descriptive
Programming.

Below:

Property assign a property value

EX:-
Browser("Flight").Page
("Height:=22","Widht:=71","Classname:=FlightPage").Exist







M Dora Babu S O N T A S O F T W A R E
BANGLORE Mail me @ mdorababum@gmail.com

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM

8 Answers   Infosys, TCS,


What is the Diff between Image check-point and Bit map Check point?

3 Answers   Ordain Solutions,


How many types of object repository in qtp?

0 Answers  


where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code

3 Answers  


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

0 Answers  






How to add a page checkpoint to your test?

1 Answers  


How to load object properties to object repository through scripting.give one example

7 Answers   IBM,


How to interact tool & application build in QTP?

0 Answers  


can u explain about QTP Frameworks? what are the framework types are available? and How to set or create frame work for a application? Explain briefly?(Also give me one example)

1 Answers  


What are they Advantages and Disadvantages in QTP 9.2?

1 Answers   Infotech,


What are the advantages of a Hybrid framework?

0 Answers  


More details about keyword driven technique in QTP

1 Answers   TCS,


Categories