WinRunner Question:
How to do text matching?

Answer:
You could try embedding it in an if statement. If/when it fails use a tl_step statement to indicate passage and then do a texit to leave the test. Another idea would be to use win_get_text or web_frame_get_text to capture the text of the object and the do a comparison (using the match function) to determine it's existance.
Previous Question | Next Question |
User-defined function that would write to the Print-log as well as write to a file | the MSW_id value sometimes changes, rendering the GUI map useless |