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 agoTestQA1
- 3 years agoMis3
- 2 years agodhundley
- 6 years agoJakemorley
- 6 years agoSreera
Recent Discussions
- 2 hours agosimonaferrara
- 6 hours agomacheshmeh
- 21 hours agomarkos