Hi,
I have a coded step that does the ff:
string.compare(textblocka.text, texta)
string.compare(textblockb.text, textb)
....
string.compare(textblockz.text, textz)
I want to fail this particular coded step if any of the string compare fails, but I'd like the test to continue comparing the other texts after the failure. Is this doable? Right now what I have are just logs, e.g. Log.WriteLine(<error message>). So the step is still marked as passed. Also, I can't access these logs in the quick execution, because quick executions do not have logfiles.
Regards,
Kristine
I have a coded step that does the ff:
string.compare(textblocka.text, texta)
string.compare(textblockb.text, textb)
....
string.compare(textblockz.text, textz)
I want to fail this particular coded step if any of the string compare fails, but I'd like the test to continue comparing the other texts after the failure. Is this doable? Right now what I have are just logs, e.g. Log.WriteLine(<error message>). So the step is still marked as passed. Also, I can't access these logs in the quick execution, because quick executions do not have logfiles.
Regards,
Kristine