WebPagetest Forums

Full Version: Validate the scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

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".

Regards,
Helio
You can use a custom metric that checks for the text you are interested in and sets the "result" accordingly: https://sites.google.com/a/webpagetest.o...om-metrics
(02-24-2015 11:52 PM)pmeenan Wrote: [ -> ]You can use a custom metric that checks for the text you are interested in and sets the "result" accordingly: https://sites.google.com/a/webpagetest.o...om-metrics

Perfect. Thanks.
Reference URL's