Background App
Sends the app away for a few seconds and brings it back — the standard way to ask whether state survives being suspended.
Send the app to the background for a few seconds, then bring it back — the usual way to check that state survives being suspended. The step reports the app it moved and whether it really left the foreground and came back.
Reach for it when
- Proving a half-filled form, a video position or a cart is still there after a phone call.
- Catching the reload-on-resume bug, where coming back throws the user to the home screen.
Every setting this block has. A field marked only when appears once you have chosen the mode above it — those are alternatives to each other, not extra things to fill in.
- Secondsstarts at 3
- Return to foregroundstarts at on
Bring the app back after the wait (the usual suspend-and-resume check). Turn it off to leave it in the background — the step then ends on the home screen, and a later Launch App decides when it comes back.
Say how long it goes away for
Background AppSettings Seconds3Return to foregroundThe usual suspend-and-resume checkonOr leave it in the background
Turn Return to foreground off and the step ends on the home screen, with a later Launch deciding when the app comes back. Useful when something else has to happen in between.
away, then back Check what came back
The step reports whether the app really left the foreground and really returned — assert on the screen either way.
Background AppWait for ElementAssert / Verify
- The app it moved, and whether it actually left and returned.
- Three seconds is not long enough for the system to reclaim memory. To test being killed in the background, use Terminate App instead.