Take a moment to evaluate the situation to see if using a captured image is feasible or if you need to use OCR. While you can use OCR almost any time you need to search for text on the SUT, it should be treated as a secondary option to captured images. There are multiple ways of finding text on the SUT: However, for scenarios where the text is dynamic or the text value to be searched isn't known ahead of time, Eggplant Functional provides on an optical character recognition (OCR) engine to search the screen for the text string on the system under test (SUT). This works best in situations where the text is static and unchanging, such as button text. When you need to find text, remember that you can capture an image of the text and let your script perform an image search. You are here: Working with Text in Eggplant Functional
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |