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
whare exactly we have to use functions and sub routain
Hi, how can we check or avoid the memory leakage in QTP9.2?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How you can find the absolute value of the number in qtp?
What is standalone database?
What are the different kinds of test steps?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
If I change the property value at runtime is it effect is object repository?
hou can we use vb script in qtp could u tell me breafly
How to find a window is minimized or not
How to test the login page in different ways in automation testing and i need code?
give me the code to save all messages of inbox of gmail into a folder and notepad
What is difference between Recording time object identification and Run time (Execution) time.
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
Explain the terms test and business component?