You can test the behavior of Android App Links (a mechanism to launch mobile apps via URLs on Android) and Universal Links (the equivalent for iOS/macOS) using Autify NoCode Mobile!
To add a deep link step, you can either use the "Insert Set Deep Link Step" button in the Scenario Editor, or select "Set Deep Link" from the device operation menu during a recording session. For more details, please refer to this article .
Autify’s Deep Link step works by opening the specified URL in a browser. Depending on your application's configuration, there may be cases where clicking a deep link does not redirect to the app. If the browser opens the web page instead of launching the application when a Deep Link step is executed, please check the following:
1. Verify Application Settings
Please consult with your development team to ensure that the application is correctly configured to redirect from the browser to the app. You may need to review or update the app's link handling settings.
2. Using a JavaScript Step
If modifying the application settings is not feasible, you can try opening the deep link using a JavaScript Step. Note: This method may also not function depending on the application's configuration.
Instructions
Add a JavaScript Step to your scenario and enter the following code. Replace the url value with the deep link you wish to test.
const driver = autify.mobile.getDriver();
// Process to open a Deep Link
await driver.executeScript("mobile: deepLink", {url: "Enter your deep link URL here"});
Please contact us via Autify chat if these solutions don’t work for you.
