How to Run Mobile Tests in Parallel
Mobile tests are slow, and running them one device at a time makes them slower. Here is how to run one test on Android and iOS at the same time on Sauce Labs real devices, with Appium, Mobilewright, Espresso and XCUITest.
appium · espresso · mobile · mobile testing · mobilewright · parallel · real devices · sauce labs · xcuitestHow to Install Your App on a Real Mobile Device
To test your own app on a real device, upload it to Sauce Labs first. Here is how to upload an Android or iOS app to Sauce Labs storage and install it from there, with Appium and Mobilewright.
appium · mobile · mobile testing · mobilewright · real devices · sauce labsHow to Test a Website on a Real Mobile Device
Many of your users visit your site from a phone. Here is how to test it in Chrome on a real Android phone and in Safari on a real iPhone on Sauce Labs, with Appium and Mobilewright.
appium · mobile · mobile testing · mobile web · mobilewright · real devices · sauce labsHow to Test Two Users at Once
A chat, a shared document or a multiplayer game only works when one user sees what another user does. One test can start two browsers, one for each user, and check that a message sent by one user reaches the other.
browser contexts · multiple browsers · multiple users · playwright · selenide · selenium · vibium · webdriverio · websocketsHow to Print a Page to PDF
Invoices, tickets and reports are often printed or saved as PDF. The test can print the page to a PDF, without the print dialog, to check the printed version or to keep it as a record of the run.
pdf · playwright · print · selenide · selenium · vibium · webdriverioHow to Check Screenshots with Sauce Labs Visual
Comparing screenshots in the test code means keeping baselines for every browser and operating system, and reviewing the differences by hand. Sauce Labs Visual stores the baselines, compares the snapshots, and shows the changes for review.
playwright · sauce labs · screenshots · selenide · selenium · visual testingHow to Compare Screenshots of an Element
A button that moves a few pixels, a wrong color, or a missing logo pass every functional check. A test that compares screenshots of an element, pixel by pixel, notices them.
playwright · screenshots · selenide · selenium · vibium · visual testing · webdriverioHow To Run Your Tests Headlessly with Chrome
A Continuous Integration (CI) server usually has no display for the browser to open a window in. Chrome can run headless (without a window), so the tests run there with no extra tools.
chrome · headless · playwright · selenide · selenium · vibium · webdriverioThe Mobile Testing Pyramid
There are loads of trade-offs when it comes to mobile testing. But by learning to use all layers of the mobile testing pyramid to your advantage you can gain the fast feedback that is required in modern CI/CD environments.
mobile · pyramid