CAPABILITY GENERATOR

LambdaTestVisual User Interface Testing ● Automated Screenshot Testing

Automated Screenshot Testing


Automated Screenshot testing will help you in capturing bulk screenshots through different desktops and mobile devices running on various OS in a single go! It is facilitated by instrumented UI test cases to help you realize how seamlessly your web app renders through different screen sizes using different browsers. At LambdaTest, you can capture up to 25 screenshots of different configurations of browsers and OS in a single session. You can choose from a wide range of latest to oldest browser versions of Chrome, Firefox, Safari, Edge, Internet Explorer & Opera. You also get to test on different operating systems Windows, MacOS, Android and iOS.

How To Do Screenshot Testing?


Step 1: Click screen shot test in Visual UI Test menu.

Automated-Screenshot

Step 2: Enter your URL & select the browser-version and OS combinations on which you want to generate a screenshot. Click on capture and you will be taken to the result page where you can view your screenshots. You can also select the mobile devices by clicking on mobile icon on top left.

Automated-Screenshot

How To Download Screenshots?


Step 1: If you want to download particular screenshots, you will find a download icon near every screenshot generated. Just click on it to download.

Automated-Screenshot

Step 2: If you want to download all the screenshots, on top centre, you will find Download all (zip) option. Click on it to download all the screenshots in zip format.

Automated-Screenshot

How To View Recent Screenshot Testing Sessions?


Step 1: Click ‘Screenshot’ submenu under Visual UI Test menu in menu box. On screenshot page, you will find view recent button on the page. Click that button.

Automated-Screenshot

Step 2: In the recent session page you can select the desired recent session from the sessions listed.

Automated-Screenshot

How To Change Preference For Screenshot Testing Sessions?


Step 1: Select the Screenshot from the Visual UI test from the menu bar.

Step 2: Click on gear icon on the right side of the screenshot page. After clicking on it, a pop-up will appear on the screen. Click the given options to change the desired screenshot settings and then finally click Apply.

Automated-Screenshot

  • OSX resolution: Choose various resolution for your OS X machine.

  • Windows resolution: Choose various resolution for the Windows machine.

  • Quality: You can either choose the high quality version or an compressed image as per your requirements.

  • Mobile Layout: In case you are taking screenshots on mobile devices, you can choose mobile layout as portrait or in landscape mode.

  • Defer Time: If your page takes time to load completely, you can set a defer time so that there’s apmple time for each element to load

  • Smart Scroll: You can ignore all the iframes in your page by choosing the smart scroll

  • Email me on completion: You can choose to get an email after the tests are done. You can download all the screenshots from there.

How To Schedule Your Screenshot Tests?


Step 1: Select the Screenshot from the Visual UI test from the menu bar. Select the browsers you want to perform the tests on tand enter your website name. Click on the schedule button on the right side of the screenshot page.

Automated-Screenshot

Step 2: After clicking on the schedule button, a pop-up will appear on the screen.

Automated-Screenshot

Step 3: Enter the desired time, frequency and the day you want to schedule your screenshot for. After this click on the schedule button and your screenshots would be scheduled!

Automated-Screenshot

How To Share The Screenshots With Your Team?


Step 1: Select the Screenshot from the Visual UI test from the menu bar. After that click on the recent sessions button

Automated-Screenshot

Step 2: In the recent session page select the recent session you want to share.

Automated-Screenshot

Step 3: In the next screen you can see the screenshots on all the devices. Here click on the share screenshots button

Automated-Screenshot

Step 4: A pop-up will appear, here you can enter the email-ids you want to share the screenshots with along with any note you might want to add. You can even set the expiry time for the screen shots

Automated-Screenshot

How To Use Basic Authentication For Password Protected Websites


If the website you want to take screenshots on requires basic authentication, you can click on the basic authentication button and enter your login details. After that click on ‘Save’, the basic authentication would be enabled and you can take screenshots easily.

Automated-Screenshot

How To Save Your Browser Combinations


You can save your favourite mobile and desktop browsers as a list and use them again. You can create up to three different lists for different browser combinations.Just chose your favourite browsers and click on the star icon.

Automated-Screenshot

In case you want to take a screenshot of a page behind the login, you can refer to this support doc on Taking Screenshots of Pages Behind Login

That was all you need to know for performing automated screenshot testing on LambdaTest. If you still have any questions for us, please feel free to let us know. Our experts are always available on chat to help you out with any roadblock regarding our product. Happy testing!