WebPagetest Forums
Visual Compare with Script Commands - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Visual Compare with Script Commands (/showthread.php?tid=11411)



Visual Compare with Script Commands - Retailgeek - 07-11-2012 09:36 AM

Is it possible to make a visual comparison video using script commands?

At the moment, I'm making individual videos from the Advanced Setting Scripts tab, and then editing the resulting videos to put them together. I'd love to be able to create multiple runs videos with script commands.

Thanks!

-Jason


RE: Visual Compare with Script Commands - Retailgeek - 07-12-2012 04:17 PM

It turns out the answer to my question was in the docs, in the form of the Advanced Visual Comparison Configuration.

You can run individual tests using scripts, and get resulting test IDs. Then use the Advanced Configuration URL to combine the separate test runs in a single video. A very cool tool!

Quote:Advanced Visual Comparison Configuration
There are additional customizations that can be done by modifying the tests parameter in the comparison URL directly.

URL structure: ...compare.php?tests=<Test 1 ID>,<Test 2 ID>...

The tests are displayed in the order listed and can be customized with options:

Custom label -l:<label> 110606_MJ_RZEY-l:Original
Specific run -r:<run> 110606_MJ_RZEY-r:3
Repeat view -c:1 110606_MJ_RZEY-c:1
Specific End Time -e:<seconds> 110606_MJ_RZEY-e:1.1

Examples:

Customizing labels: http://www.webpagetest.org/video/compare.php?tests=110606_MJ_RZEY-l:Original,110606_AE_RZN5-l:No+JS
Compare First vs. Repeat view: http://www.webpagetest.org/video/compare.php?tests=110606_MJ_RZEY, 110606_MJ_RZEY-c:1