Last updated: Jun 13, 2019 17:53
By Christopher Alton
What is a Deep Link?
In regards to using the public web, deep linking uses a hyperlink that links to a specific piece of web content on a website (e.g. "http://directaccount.chickenshack.com"), rather than the website's home page (e.g., "http://www.chickenshack.com"). The URL contains all the information needed to point to a particular item inside that site.
How do I use it?
Deep links are becoming more and more useful. For iOS however, you need to ensure that the coding in your test is correct, else nothing will happen.
In order to run a deep link test on iOS, you need to have the following information
- The Application Identifier
- The URL of your deep link to test on
To access the URL of your deep link, you will need to use a standard driver.get() command. The following code sample below explains how to do this in more detail.
This code sample takes full advantage of our Reportium Client service, to ensure the report is commented, detailed, and easy to find.
Please ensure to update the variables for your host, myToken, myAppIdentifier, deeplink, myDeviceUnderTest and scriptname. Those variables in the test are generic. You will need to use your own variables, not the ones in this code sample.
If you need assistance with deep linking for Android, please see this article in regards to Android Deep Linking in the cloud lab.
For all other questions in regards to deep linking, please contact us via case or chat at our support page.