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
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
Can we run multiple QTP scripts one after the other without manual intervention? How?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
What is active screen?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
How many types of actions are there in quicktest professional?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Explain about datafile/verification of date file when file is not available in local system?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
when u script reveiwing in which area u more concentrates?
What is the difference between analog and low level recording?
How to remove associated function library?
if anyone has idea of the interview procedure in covansys, plz send me a mail?