In the previous chapter, we created a PDF report for a test execution. We created an empty list type imageList in the test suite to store the images. In this chapter, we will discuss a few methods that can be used to generate and save screenshots. We will start by looking at the method we created in the MobileBaseActionScreen class.
13. Enhancing the Framework: Screenshots
Get Create an Enterprise-Level Test Automation Framework with Appium: Using Spring-Boot, Gradle, Junit, ALM Integration, and Custom Reports with TDD and BDD Support now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.