| || |
Color of text in Tewindow
Is there a way to get the color of the text in tewindow.
I need to test if a transaction has happened or not. the color of the transaction is different from the day it is posted and the next day.
I tried capture bitmap... it works but the problem is each page is saved as a different .bmp file. Is there a method to merge .bmp files in QTP.
Any suggestions greatly appreciated.
Re: Color of text in Tewindow
You can use the Windows API function 'GetPixel' to return the color of a pixel. The QTP documentation explains how to use Windows API functions, and Google will give you plenty of hits on how to use the 'GetPixel' function.
Hope this helps!