Skip to main content

Posts

Showing posts with the label appActivity

How to find appPackage and appActivity from android project

If you have android project, there is a easy way to fine find appPackage and appActivity Open android project (Android studio) Go to Project > Expand the project > app > src > main > Open the AndroidManifest.xml file Collect appPackage and appActivity as given example below: appPackage =   com .example.ezyautomation.myapplication appActivity =   com .example.ezyautomation.myapplication . MainActivity How to find app package and app activity from apk file

How to find app package and app activity from apk file

There are three ways to find app package and activity form apk, here I'm trying to show the ways Way 1: B y using Appium server Install the old version of Appium on your PC  (Appium 1.2.2) Open the  Appium server > Click on the  Android icon > Check the  Application Path check box> Choose > Select apk file Package and Launch Activity will be populated automatically Use Package as appPackage and Launch Activity as appActivity Way 2: By using APK Info application Install test application(which you want to test) on your device Install 'APK Info' application on your device from Play Store (Play Store link) Open 'APK Info' application > Long press on desired application (in my case 'Calculator') Detailed Information   Collect the appPackage and appActivity from below the Activates title Note: For some application appPackage and appActivity not same for that case you sh...