WinRunner Question:
Download Questions PDF

How to do text matching?

WinRunner Interview Question
WinRunner Interview Question

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.

Download WinRunner Interview Questions And Answers PDF

Previous QuestionNext Question
User-defined function that would write to the Print-log as well as write to a filethe MSW_id value sometimes changes, rendering the GUI map useless