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

what is test data

4 Answers   Wipro,


please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)

1 Answers   IBM,


HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.

5 Answers   CTS,


hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?

1 Answers  


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

0 Answers   TCS,






What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


What is the another extension name of library file. If that is exist than what's the difference between them.

2 Answers   Synechron,


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

3 Answers  


How will you check a web application for broken links using qtp?

0 Answers  


What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.

2 Answers  


How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


Categories