As we all know capturing screenshot is
one of the most important testing process that we need to follow either in
manual or in automation testing to report bug/issue to the development team or
to simply show the testing results to different Stakeholders. So in this blog, I am
going to discuss how we can capture a screenshot using Appium for our mobile automation test.
In this example to Capture Screenshot, we
can create one utility. Let’s Name it as CaptureScreenShot.
For Capturing Screenshot we are going to use TakeScreenshot interface of selenium webdriver and store that screenshot with date and time in a particular folder and call this utility whenever we need to take a screenshot in our mobile App.
Below is the Code Snippet for this
Is there a way to take full page screenshot of a long webpage
ReplyYou can refer to this blog for taking full page screenshot
Replyhttps://www.qaautomation.co.in/2018/11/full-page-screenshot-using-selenium-ashot.html