Custom Search

Friday, October 3, 2008

What check points you will use to read and check text on the GUI and explain its syntax?

• You can use text checkpoints in your test scripts to read and check text in GUI objects and in areas of the screen. While creating a test you point to an object or a window containing text. WinRunner reads the text and writes a TSL statement to the test script. You may then add simple programming elements to your test scripts to verify the contents of the text.
• You can use a text checkpoint to:
o Read text from a GUI object or window in your application, using obj_get_text and win_get_text
o Search for text in an object or window, using win_find_text and obj_find_text
o Move the mouse pointer to text in an object or window, using obj_move_locator_text and win_move_locator_text
o Click on text in an object or window, using obj_click_on_text and win_click_on_text

No comments: