I wonder how apps like these generate screenshots for different browsers. Are they using EC2 instances to run various browsers and generate and store (Amazon S3?) screenshots?
I wonder how apps like these generate screenshots for different browsers. Are they using
Share
That’s apparently exactly what they are doing – as far as I know this is not officially documented in detail indeed, but one can deduce it to some extent from the following information.
1) Their Feature Tour -> Email Tests answers How does it work? as follows:
This is exactly what one would expect, i.e. they are apparently running a test harness which exercises all supported email clients (and dito for browsers) after a new test is scheduled via a queue. This requires a decent amount of automation around all these clients; while some may nowadays offer a dedicated automation API/component to allow rendering without running the full application, I expect this to be a fairly complicated process all in all still, likely requiring external UI automation, which used to be brittle and slow (OS support for this improved in recent years though).
2) Litmus has fortunately participated in an AWS Case Study in February 2010 (updated in April 2011), which confirms their infrastructure to be (meanwhile) running on AWS (specifically Amazon EC2 and Amazon S3) and provides additional insight:
Furthermore (as of April 2011) Litmus uses Amazon S3 to store over 6TB of customers’ images and Amazon EC2 for running customers’ tests:
Finally, they are using Spot Instances [to] gain significant EC2 cost savings: