> Hi Suman,

1) Since both the objects of different micclass (first is hidden object,
second is Image object), below code is enough:

*Browser("name:=Test").Page("title:=Test").Image("name:=register").Click*
*
*
2) If both are image, then we can use html id since it is unique:

*Browser("name:=Test").Page("title:=Test").Image("html
id:=button_register").Click*

3) If both are image with same html id and name, then use:

*Browser("name:=Test").Page("title:=Test").Image("**name:=register**
","visible:=True").Click*


With Regards,
Johnson Solomon

-- 
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

Reply via email to