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 |
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)
what is the difference btn risks & Therads in the Test plan documentation?
How to handle Run-time errors?
hi i have one doubt is there any companies are taking correspandence courses plz leme know urjent
Connect to QC using AOM.
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How to get popup error message.
What are the Test design techniques you uses in ur project?
How to load the object repository at run time?