Check Not Focused
Check a specific element is not currently focused.
Check Not Focused confirms keyboard focus is not on the Element. Use it when focus should move away after submit, dismiss, or tab navigation.
See Element states for how focus fits with the other Element state checks.

When to use it
Confirm focus left an input after the form submitted.
Verify a modal field lost focus when the dialog closed.
Pair with Check Focused on the control that should receive focus next.
Configure
Basics
Field
What to set
Element
The Element to check
Advanced
Field
What to set
Status on fail
When should screenshots be taken?
Always or On Failures (default)
Related
Tags: check, is, notFocused, test, expect, assert, element, state
Last updated