Hi,
My Application contains a lot of ActiveX Objects. Some of the command
buttons designed using ActiveX show a tick mark when clicked once and
removes the tick mark when clicked again, basically it toggles.
I tried to script this functionality in descriptive programming and used
the below code:
Set chk=VbWindow("XXX").ActiveX("cmdXXX").Object
If chk.Picture=Nothing Then
Msgbox "No Picture"
Else
Msgbox "Picture is there"
End if
It gives a general runtime error. While debugging, I could see the Picture
property of 'chk' set to Nothing when no image is there and to the image
name when the Tickmark image is present.
Can someone suggest a way to get the picture property which is retrieved
but not able to be used in the program ? I tried using Bitmap Checkpoints,
but it is not very consistent and fails sometimes.
--
--
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/groups/opt_out.