Skip to content

Resource · Guide or article

User Interface Testing

Guidance on when UI tests are worth their cost and how to keep them maintainable, written mainly for web front ends with notes that mobile and desktop are similar. Good background for frontend candidates who expect questions on test strategy or flaky browser tests.

Reviewed

Open the original: User Interface Testing (opens the original site in a new tab)

Add to a roadmap

Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.

Source content: English

This section is primarily geared towards web-based UIs, but the guidance is similar for mobile and OS based applications.

PrepKit overview

PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.

Suited to
The source does not state a level
Format
Guide

What it covers

  • Explains when UI testing matters most (public or mission-critical interfaces) and when unit, functional and e2e tests should carry the load.
  • Describes runtime bugs UI tests catch that unit tests miss, such as a submit button that renders but cannot be clicked.
  • Gives writing principles: testable selectors or ids, testing on the devices users actually use, and creating and cleaning up test data per test.
  • Discusses common Selenium friction like timeouts and missing elements, plus headless rendering differences.
  • Lists web and mobile frameworks, noting BrowserStack as the paid option.

How to use it

PrepKit study advice, not a claim made by the source.

Take a form from your own project and list which checks belong in unit tests and which need a UI test, with a reason for each. Being able to explain why one specific UI test was flaky and how you would stabilize it makes a strong concrete answer.

Scope and limitations

The CI section centers on Azure DevOps (test result publishing, self-hosted agents), and the mobile list includes Microsoft tools like Coded UI tests and Xamarin.UITest. No code samples are included, and it is a team playbook page rather than interview prep.

Access and format

Free English web page in the ISE Engineering Fundamentals Playbook on microsoft.github.io; the text comes from the CC BY 4.0 microsoft/code-with-engineering-playbook repository.

Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a

Evidence behind this overview
  • docs/automated-testing/ui-testing/README.md

Pages that include this

Get the PrepKit newsletter

Optional. You don't need it to use PrepKit.

How we handle your email