How to change the APK for old test cases?

a Quick Question Please …

We upload one version of Apk (for example - 1.0.1)and create test cases using Android emulator or physical device and later if we have new updated version (1.0.2) , in this scenario , when we run our test cases , how can we make sure that the test cases run using the new version of the Apk?

@phani, if you have the path to your new updated apk version, you should use that path for the startApplication() function in your test cases so it would run the latest apk version. Here is the doc for you to check.

Sure @chen.lee , i will try this … Thank you