what is descriptive.create()in qtp?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you load the test cases in ddt?

1598


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

705


what is command for executing files?

1514


What is the synchronization point in qtp?

561


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1741






Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1428


Generic function to search for the unique link in webtable and click on it

2484


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3217


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1479


Explain more about the Test Fusion Report of QTP?

606


what frame work you are following?

1524


What is throw Object?

1558


what is object and child object.. explain ..if possible give some example for better understanding ..

1529


Why qtp always start action1 and does not start action?

604


What is Associate Repository in QTP 9.2 ?

603