Hi,
You said that the web menu has 2 objects-image and link and that u want to
click on the image.
Could u try the following:
Set imgobj=Description. Create
imgobj("micclass").value="Image"
Set x =
Browser("abc").Page("HelloWorld").WebMenu("TabView:0:scForm:j_idt98").childobjects(imgobj)
'this returns all the childobjects of type Image. In this case, we have
only one such childobject
x.item(0).click
Let me know if it works or not.
Thanks,
Gurman
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.