what is descriptive.create()in qtp?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
how do you run scripts in QTP?please anyone can answer my questions
Explain advantages and disadvantages of ddf?
It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???
What is method name to compare two XML files.
without Qtp features can we automated?
In qtp, how you can remove the spaces from string?
can we use QTP for load testing instead of load runner?
suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately?
what is the difference between the modular framework and datadriven frame work
what is the Vbscript to connect Database
Explain calling sub procedure.
Where we can use the synchronization?