How to get all the objects count and objects names in
webpage using QTP ?
Answer Posted / sai
Dim a(100)
set p=Browser("Home").Page("Home").ChildObjects
cnt=0
For i=0 to p.count-1
b=p(i).GetTOProperty("micclass")
If i<1 Then
a(0)=b
Else
For j=0 to Ubound(a)-1
If a(j)<>b Then
cnt=cnt+1
a(cnt)=b
End If
Next
End If
Next
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
What are metrics and matrix?
What is the file extension of the code file in qtp?
How to find the length of the string in qtp?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
how interviews will be on QTP?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
what is the structure for the data driven framework
Explain the features and benefits of quick test pro(qtp)?
what are the mandatory properties for a tex boxc (scenario?)
What is a programmatic description?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
Is it possible to change the property value at runtime? How it is possible?
What is QTP’s model for test creation?