OATS Question: How to change the behavior of a script based on text found in a Web Application?
Hello,
I have a question and I'm hoping someone here can help.
I figured out a way to use a Text Matching Test to detect a condition and then use an IF-ELSE to change the behavior of the script. The problem is that when the script runs it shows that the whole script failed, even though it worked perfectly.
Here's what I'm doing:
1. Set the Error Recovery so that the script will continue even if the text is not found:SetErrorRecovery: HTTP - Text Matching Failed = ReportErrorAndContinue2. At the appropriate place execute a Text Matching Test:Text Matching Test: LookForCondition, Condition
0