This is probably a really easy one, being new to WinRunner I was wondering if someone could help advise the best way to search a window for text as there seem to be quite a few commands.
Ultimately I only need to know if the window contains the text PASSED or FAILED, I don't need it to return location of text. The PASSED or FAILED text is surrounded by other text.
Would the win_check_text command be the one, how would I add the necessary wildcards to this?
Refer back the the "Checking Text" chapter in your User's Guide for specific functions to check the text in your window.
Never argue with an idiot, they bring you down to their level and beat you with experience -- Dilbert
This was the line I used in the end which seemed to work fine.
rc = win_find_text("WSH","PASSED",coord_array);