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 |
In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Is it possible to merge two object repository files in qtp?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
i have an array CAPGEMINI .....Here i need to check whether G is there or not ..how to do that and friends i have one big doubt that is whether it is array or string ,how we come to know that and where we consider that it's array ,where we consider that it's an string because when i want to find the length i have big doubt whether we need to use len function or ubound ... ans me for this TWO Questions any one please
How can you capture(Read) the values from a Table?
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?
How did you resolve conflicts present in Object Repository?
Explain calling sub procedure.
Hi Friends ,I want to Know name of the Site for the QTP Help and the Best Book through that I can start the QTP Practice here also whare can I download the QTP Users Guide I search I was Unable .
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Can we record using all the modes in a single script? Explanation with example is appreciated