To markFailedAndStop or Not To markFailedAndStop?
Based on the criteria of the original tests I set up several months ago, if an object was missing, that was a critical error and needed to be flagged. Since we were making heavy adjustments to the code base, anything missing needed to be checked. Things have changed quite a bit, so if an object is missing, should the situation be handled within an IF statement or does a missing object represent a much larger problem and the test has to be flagged as an Error? This continues on from the idea of checking for the existence of an object without throwing an error. Using a Custom Keyword is was possible to suppress the error and not fill the log with False Positives. Taking that a step further, it seems we could check if an object exists and continue on with the test if needed or exit out of the test completely. Using the example from before, let’s say we […]
Recent Comments