I am trying to a automate a Native application and am not providing “Package” and “Launch Activity” options in the Android setting of Appium. Still the test runs fine and the application is launched. I have not even provided these options in the “DesiredCapabilities” object.
How is this happening?
Please have a close look on console logs…“Package” and “Launch Activity” options are fetched from apk.
←[36minfo←[39m: [debug] No appActivity desired capability or server param. Parsing from apk.
←[36minfo←[39m: [debug] No appPackage desired capability or server param. Parsing from apk.
←[36minfo←[39m: [debug] Using local app from desired caps: D:\Projects\Fonetastic\Builds\Android\mobile-phone-local-advance-paid-en
←[36minfo←[39m: [debug] Parsing package and activity from app manifest
←[36minfo←[39m: [debug] Using aapt from D:\Android\sdk\build-tools\23.0.2\aapt.exe
←[36minfo←[39m: [debug] Extracting package and launch activity from manifest.
←[36minfo←[39m: [debug] executing cmd: D:\Android\sdk\build-tools\23.0.2\aapt.exe dump badging D:\Projects\Fonetastic\Builds\Androi
←[36minfo←[39m: [debug] badging package: com.quickheal.fonetastic
←[36minfo←[39m: [debug] badging act: com.quickheal.platform.activities.ScrPreLauncher
←[36minfo←[39m: [debug] Parsed package and activity are: com.quickheal.fonetastic/com.quickheal.platform.activities.ScrPreLauncher