I get these question consistently from my fellow testers and community.
- How to automate the mobile apps and web applications using Deep Links?
- How to automate the business flows using Deep Links?
- How to achieve end-to-end business flows testing on using Deep Links?
- How to automate scenarios in mobile apps using Deep Links?
- What is the best approach to automate the mobile apps using Deep Links?
- What is the best practice to automate using the Deep Links?
No Deep Dive into - What is Deep Link?
Deep Link and Challenges
How to do end-to-end testing using the Deep Link?
- On using a Deep Link, I should be taken to Apple Store or Play Store based on the app.
- I have to install the app.
- Post this, in the traditional automation, I should start traversing the business work flows via GUI.
- Is this adding to the flakiness aspect of automation via GUI?
Scoping of Automation Using Deep Link
- We have to automate, no escape from it. Let us automate what must be automated!
- Let us not fall into trap of "Automate everything!"
- For today, I'm in this mindset and attitude,
- What we automate depends on the objective or goal that we want to accomplish.
- Each test should have precise and deterministic goal.
- A test via automation is not an exemption to it.
- A test defined in automation should be precise, deterministic and have a single objective - Single Responsibility Principle.
- Should I start the end-to-end or exercising the workflow to be included in the Deep Link tests?
- If included, am I not complicating the testing via automation?
What is the goal of testing via automation using Deep Link?
This question helps me to pick minimal and necessity flow actions. It has lead and leads me to define minimal tests for Deep Link based on what we want to learn from automation of same.
To me, the purpose of Deep Link is not end-to-end testing. It's purpose is,
Am I taken to the intended state and data when used the Deep Link?
I have kept the test intent to this.
With this, I have come with tests that has minimal must evaluation and assertion to learn if the app is responding or not to the Deep Link. This is what the business wants when the Deep Links are created.
The app usage and workflow function is not a problem statement of Deep Link in a general context.
Deep Link is not for end-to-end. It is to take to you from a point to another point, that's it.
Are you automating using Deep Link?
Resources to refer:
ReplyDelete1. https://firebase.google.com/docs/dynamic-links/
2. https://firebase.google.com/docs/dynamic-links/ios/receive
3. https://youtu.be/52n4yn4LmAw
4. https://help.short.io/en/articles/4065870-how-to-set-up-deep-links-for-ios
5. https://help.short.io/en/articles/4170944-how-to-configure-deep-links-in-android-app-and-short-io
More resources and Information:
ReplyDeletehttps://stackoverflow.com/questions/55369717/how-to-open-specific-activity-after-install-an-app-from-google-play-store-for-a
https://stackoverflow.com/questions/28744167/android-deep-linking-use-the-same-link-for-the-app-and-the-play-store/28792160#28792160
https://aws.amazon.com/blogs/mobile/deep-linking-track-mobile-engagement-users/
ReplyDelete