Validate the scripts


Is there a way to automatically validate the outcome of a script?

e.g. Suppose I have a script that add items of a eCommerce website to the basket. My validation could be verifying the existence of the text “Added to the basket”.


You can use a custom metric that checks for the text you are interested in and sets the “result” accordingly:

Perfect. Thanks.