Overview
Restart App fully terminates the app and relaunches it for a clean cold start. Unlike Activate App — which only brings an already-running app back to the foreground — Restart App kills the process first, so the app comes up in its initial state. Use it for steps that test cold-start or first-launch behavior, or to recover from a wedged screen.How to use
Write a step in plain language:Restart the appKill and relaunch the appCold start the app
Restarting a different app
By default Restart App targets the app under test. To restart (launch) a different app, include its identifier in the step:- iOS — the app’s bundle id, e.g.
Restart app com.apple.Preferences - Android — the app’s package name, e.g.
Restart app com.android.settings
Phrase it as restart or relaunch (not “open” or “activate”) and include the
literal bundle id / package name so it is launched as a fresh app rather than the
agent trying to tap an icon.
Example use cases
- Cold-start / first-launch testing — verify onboarding or splash behavior
- Recovering a stuck screen — relaunch to a known state mid-test
- Opening system Settings — e.g.
Restart app com.apple.Preferences(iOS) /Restart app com.android.settings(Android) to change a system setting
