WinRunner Question:

How to do text matching?

Tweet Share WhatsApp

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 PDF Read All 67 WinRunner Questions
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