Forum Discussion
Alex!
Thank you for your response!
I have modified my Execution Plan to "Stop current item" on the remote connection test case. In the test case, I have the following code :
if connection_error.Exists: # Cannot continue with this routine if error dialog shown.
connection_error.OK_Button.ClickButton()
Log.Warning("User Cannot Connect To The Instrument : %s - NO Privileges." % SIMULATOR_NAME)
return False
Does this error need to be a Log.Error() in order for it to fail correctly and NOT continue?
Hi,
> Does this error need to be a Log.Error() in order for it to fail correctly and NOT continue?
Yes, correct.
The indication of whether test item succeeded of failed is not the true/false value returned by its underlying code/KW test/manual test/BDD feature/etc., but presence or absence of error(s) posted to test log.
Related Content
- 2 years ago
- 4 years ago
- 2 years ago
- 6 years ago
Recent Discussions
- 13 hours ago
- 2 days ago