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
what is stepin & stepout?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Explain about Test Fusion Report of QTP?
What is CMMP and CMMH?
how to evalute defects in QTP script?
Explain hybrid framework with advantages and disadvantages?
Can the user toggle between using Local OR and shared OR for the same action?
What is object spy in quicktest professional (qtp)?
How many ways is to parameterize the value?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
How to capture all the data of a webtable, weblist and combolist using QTP?
What is throw Object?
Is any limitation to xml checkpoints?
Explain about the quicktest professional (qtp) automation object model?