Current time: 12-14-2017, 11:21 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validate the scripts
02-24-2015, 11:43 PM
Post: #1
Validate the scripts
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
Find all posts by this user
Quote this message in a reply
02-24-2015, 11:52 PM
Post: #2
RE: Validate the scripts
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
Visit this user's website Find all posts by this user
Quote this message in a reply
02-25-2015, 12:33 AM
Post: #3
RE: Validate the scripts
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)