Is this the way you wanted?
'================================================================================
Set oDesc=Description.Create()
Set ChldObj= Browser("Gmail: Email from Google").Page("Gmail: Email
from Google").ChildObjects(oDesc)
For i=0 to ChldObj.count-1
Print "Class"&chr(32)&ChldObj(i).GetRoProperty("micclass")
Print "Text"&chr(32)&ChldObj(i).GetRoProperty("text")
Next
'================================================================================
The ChldObj.count-1 is your total child objects count. Other needs you
can enhance if needed.
On Feb 6, 2:16 pm, Saurabh Jain <[email protected]> wrote:
> hi,
>
> Please give me a solution to count objects (editbox, button, combo
> etc...) appearing on the web....
>
> I am trying to script in QTP9.2...
>
> Please help me..
>
> regards,
> saurabh jain
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en