Forum Discussion
this is pure guesing, but :
with the caps you have here:
"appPackage": "com.myCie.pjc",
"appActivity" : "myCie.views.pages.root.RootPage",
"noReset" : "true",
"fullReset" : "false"
i feel like you can get rid of the "app" capability to the the path of your apk, and given the app is already on your android device, appium should be able to start the app given the 4 caps above without reinstalling from scratch.
- hkim54 years ago
Staff
also, i feel like it shouldnt be reinstalling from scratch for android devices as per appium capabilities docs state:
enforceAppInstall
By default application installation is skipped if newer or the same version of this app is already present on the device under test. Setting this option to true
will enforce Appium to always install the current application build independently of the currently installed version of it. Defaults tofalse
. - slecault4 years agoContributor
Thank you hkim5,
Tried previously, obviously something was not ok at that time. The setup is currently not well known by myself. All from the laptop and physical device. I need to learn the sequencing:
Plugin device
Allow file transfer on device
Start Fiddler (need to redirect app traffic to work office)
start Appium
Start Session (appium)
Run test from TC!
Last attempt work after removing "App" capability. It did restart the my app, but I am guess this is related to Mobile.Connect...
I continue from here.