How can SilkTest check the state of a Bitmap which will change colour under certain conditions e.g. OnMouseOver?
Unfortunately the "state" of an object of this nature e.g. a bitmap button cannot be returned as there is no state change taking place and what usually happens is it is just replaced by another bitmap.
The best way to verify that it has changed is by using the CRC of the image. The CRC is a checksum that is created to check if the data in a file has been corrupted. If the file changes in any way then the CRC is changed.
To verify if the image is changed use the GetBitmapCRC () method to record the CRC of the original image and compare it to the CRC of the new image.