myapp://products/12345). This is the primary method used in Spur.
Why Use Deep Links in Tests?
- Skip repetitive navigation — Jump straight to the screen you want to test instead of tapping through five screens to get there.
- Isolate test scope — Test a specific feature without coupling to login and browsing flows.
- Test deep link behavior — Verify that your app correctly handles incoming deep links.
How It Works
In native mobile tests, Spur triggers deep links using a JavaScript injection step with the[Deeplink] label. You can add this step through the native commands UI in the test editor.
To find your app’s URI scheme, ask your development team or check the app’s configuration files (
Info.plist on iOS, AndroidManifest.xml on Android).Example

myapp:// routes to the app, and the path collections/womens-shop-all tells it which screen to display.
Best Practices
- Use the recommended starting template to handle login and popups before triggering the deep link.
- Always verify the expected screen loaded after the deep link.
- If a test starts failing after an app update, check whether the URI scheme or path has changed.
Related Resources
- Mobile Prompting Guide — Best practices for writing native mobile test steps
- JavaScript Injection — The
Cached Actionstep type used for deep links
