Browser, screen and mobile test tools
Learn the tools that drive and inspect an app screen. They cover browser tools, Selenium, Cypress, Appium, test frameworks and reports.
- Browser DevTools, part 1: inspect elements and read the consoleOpen DevTools, inspect any element, read its text, attributes and styles, and read the Console for errors, so every screen bug report can say exactly what the pag…
- Browser DevTools, part 2: the Network panel, request by requestWatch every request a page makes.
- Browser DevTools, part 3: breakpoints, storage and phone viewPause the page code at a line, read what the browser stored, and see the page as a phone would.
- Selenium locators: find elements in a way that survives changeChoose how Selenium finds an element: by id, name, CSS (Cascading Style Sheets) selector or a test attribute.
- Selenium waits: stop flaky tests by waiting for a conditionMost flaky Selenium tests fail because the test is faster than the page.
- Selenium page objects: one place for locators, and how to debug a failureMove locators and steps into page object classes so a page change is fixed once, then learn a fixed routine for debugging a Selenium failure with screenshots and …
- JUnit 5 from zero: first tests, set-up methods and assertionsWrite a first JUnit 5 test in Java, learn the few annotations that matter, use assertions that show clear messages, and check that a call fails in the right way.
- pytest from zero: your first tests, fixtures and markersWrite a first test in plain Python, read a failing assertion, share setup with a fixture, run one input set after another, and label tests with markers so you can…
- Cypress: stable selectors, built-in retries and how to debug a failing testPick selectors that last, understand what Cypress retries and what it does not, and use pause and the time-travel view to find out why a test fails.
- Appium setup: drivers, a doctor check, an emulator and the InspectorGet Appium ready on your own machine: install the driver, run the doctor check, start an emulator, and use the Inspector to find elements before you write a test.
- Cloud device testing: real browsers and phones with BrowserStackUse a cloud of real browsers and phones for live and automated testing, reach a test site on your own machine safely, and use the session video and logs as evidence.
- Selenium from zero: install, driver set-up and a first script that opens a pageInstall Selenium for Python or Java, let Selenium Manager find the browser driver, and run a first script that opens a page, reads its title and closes the browser.
- Cypress from zero: install, open, project layout and the config fileInstall Cypress with npm, open it for the first time, understand the folders it creates, and know what the config file, spec pattern, support file and fixtures ar…
- Selenium reports: an HTML report and a screenshot when a test failsTurn pytest runs into a easy-to-share HTML report, take a screenshot when a Selenium test fails, and attach both so a failure can be understood without a re-run.
- Selenium: frames, new windows and tabs, and alert pop-upsReach elements inside a frame, move between windows and tabs, and handle browser alert pop-ups, so the "no such element" error stops fooling you.
- pytest conftest.py: share fixtures across files, and choose a fixture scopeMove set-up that many test files need into one conftest.py file, pick how long each fixture lives, and keep that file small so it stays easy to read.
- JUnit 5 set-up and clean-up methods, parameterized tests and disabled testsRun one test with many inputs instead of copying it, set up and tidy once or every time, and skip a test with a reason instead of deleting it.
- Appium gestures in Python: tap, swipe, long press and scrollWrite the finger movements of a phone test as code. Tap, swipe, press and hold, and scroll to the end of a list, with pointer steps or ready-made gesture calls.
- Appium on a real phone and on an emulator: what differs and how to attach eachLearn what an emulated phone cannot copy, how to turn on developer mode on a real Android phone, and how to check that your computer can see the device.
- BrowserStack part 2: your first remote run on a cloud phoneSet up an account, keep the access key as a secret, write the capabilities, run a first test on a cloud phone and read the session page afterwards.
- BrowserStack part 3: debug a failed cloud run with video and logsA test failed on a cloud phone you cannot hold. Learn to use the video, the text log and the network log, and to share the session link in a bug report.
- Allure Report from pytest or JUnit results: steps, attachments and historyCollect test results in a folder, build a clear report with steps and screenshots, and keep a history so you can see whether tests get better or worse.