I have been writing test cases against a new product that my company is developing. I developed the test cases on an Windows XP machine & am now in the process of getting the test cases running on Vista.
The code that I wrote to click on the required menu items (see below) works on Win XP but not Vista. Since the menu items can change I created a function that takes in the path to menu item as a parameter & uses a TextImage to click on the appropriate items.
On Win XP the font used in the menu item is Tahoma 8 but that doesn’t seem to work on Vista. The OCR software (ScreenOCR) that I am using says that the font in the menu on Vista is Courier New 14 but it doesn’t look anything like Courier New.
Does anyone know what font this might be? More importantly does anyone know a good way for me to determine the font that Eggplant expects in a particular TextImage? I have run into the situation a couple of times now where the font that the OCR software identifies is not the font that Eggplant wants. Having some way to know exactly what font Eggplant is expecting would be very helpful. Thanks