How to verify if the android app is launched correctly when click app icon(pass or fail)?
How to verify if splash screen is display after app is launched?
How to verify if the right activity is open(pass or fail)?
Asked
Active
Viewed 636 times
1

Vadim Kotov
- 8,084
- 8
- 48
- 62

hagemaru marumo
- 11
- 3
2 Answers
0
- You should not test this "feature" specifically, since Android System takes care of this. You should start from test 2.
- Find an element you are sure is present in the splash screen and validate it with
isDisplayed()
- Same as previous

Jorge E. Hernández
- 2,800
- 1
- 26
- 50
0
To verify current activity, try(Python):
self.driver.start_activity("your_app_package_here", "your_app_activity")
activity_name = self.driver.current_activity
assert activity_name == "your_app_activity"

Zzoha
- 1
- 1