{"id":19734,"date":"2020-06-18T17:28:18","date_gmt":"2020-06-18T17:28:18","guid":{"rendered":"https:\/\/applitools.com\/?p=19734"},"modified":"2023-12-01T10:44:44","modified_gmt":"2023-12-01T18:44:44","slug":"visual-testing-appium-amazon","status":"publish","type":"post","link":"https:\/\/applitools.com\/blog\/visual-testing-appium-amazon\/","title":{"rendered":"Visual Testing with Applitools, Appium, and Amazon AWS Device Farm"},"content":{"rendered":"\n

Visual UI testing is more than just testing your app on Desktop browsers and Mobile emulators. In fact, you can do more with Visual UI testing to run your tests over physical mobile devices.<\/p>\n\n\n\n

Visual UI testing compares the visually-rendered output of an application against itself in older iterations. Users call this type of test version checking. Some users apply visual testing for cross-browser tests. They run the same software version across different target devices\/operating systems\/browsers\/viewports. For either purpose, we need a testing solution that has high accuracy, speed, and works with a range of browsers and devices. For these reasons, we chose Applitools.<\/p>\n\n\n\n

Running your Visual UI testing across physical devices means having to set up your own local environment to run the tests. Imagine the number of devices, screen resolutions, operating systems, and computers you\u2019d need! It would be frustratingly boring, expensive, and extremely time-consuming.<\/p>\n\n\n\n\n\n\n\n

This is where Amazon’s AWS Device Farm<\/a> comes into play. This powerful service can build a testing environment. It uses physical mobile devices to run your tests! All you do is upload your tests to Amazon, specify the devices you want, and it will take it from there!<\/p>\n\n\n\n

In one of my recent articles, How Visual UI Testing can speed up DevOps flow<\/a> I showed how you can configure a CD\/CI service to run your Visual UI tests. The end result would be the same, whether you are running your tests locally, or via such services. Once the tests run, you can always check the results over the Applitools Test Manager Dashboard.<\/p>\n\n\n\n

In this article, I will show you how you can run your Visual UI tests, whether you\u2019ve written them for your mobile or web app, on real physical mobile devices in the cloud. For this, I will be employing Applitools<\/a>, Appium<\/a>, and AW<\/a>S Device Farm<\/a>.<\/p>\n\n\n\n

AWS Device Farm for mobile visual testing<\/h2>\n\n\n\n

AWS Device Farm is a mobile app testing platform that helps developers automatically test their apps on hundreds of real devices in minutes.<\/p>\n\n\n\n

When it comes to testing your app over mobile devices, the choices are numerous. Amazon helps to build a \u201cDevice Farm\u201d on behalf of the developers and testers, hence the name.<\/p>\n\n\n\n

Here are some of the major advantages and features for using this service:<\/p>\n\n\n\n

    \n
  1. Cross-platform<\/strong>. Android and iOS platforms (Native, Hybrid, and Web) are all supported. This includes native apps built with:\n