Need to test application without apk file


I have the application installed in my device, but I don’t have the apk file for the same. How can I automate that application without apk file?

Ideally I enter the apk path in my appium server, but I won’t be having it now.

Many thanks,

You can build your own if you have sources . Or you can try to access already installed debug version of app .

Dont pass “app” capability then appium will launch the installed app based on package name and launch activity name passed from desired capabilities

I neither have source nor any binaries. Just one installed application. Can I omit the app capability and launch based on its activity and package name?

Yep you can do that. It will work 100%. I did it many many times. But app should be installed on device.

Thanks a lot.! It worked.