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
Analyzing the checpoint results?
How to analyzing test results using quicktest professional (qtp)?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What are the main differences of qtp and win runner?
What are the views available in quicktest professional?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How can you pass value one action to another action?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
Explain advantages and disadvantages kdf?
When Recovery scenario actually starts while testing the application?
What is RTM (require ment tracebulity marix) fromate?