- Newest
- Most votes
- Most comments
Hi:
Thanks for reaching out. Can you please provide a run URL so that I can further debug the issue? Thanks.
Andy
Hi Andy,
Sorry forgot to add the link. Here it is:
Hi guys,
Can you please take a look into provided link and give me some suggestions regarding Appium not being able to see launched application
Error : Found package: 'com.everfx' and fully qualified activity name : 'com.everfx.MainActivity
Can you please verify if capabilities are set correctly. Looks like appWaitActivity is set incorrectly which should be "com.everfx.MainActivity". Please try running the test again with code as below.
capabilities.setCapability("appPackage", "com.everfx");
capabilities.setCapability("appActivity", "com.zoontek.rnbootsplash.RNBootSplashActivity");
capabilities.setCapability("appWaitPackage", "com.everfx");
capabilities.setCapability("appWaitActivity", "com.everfx.MainActivity");
capabilities.setCapability("appWaitDuration", "50000");
Please let us know if you still seeing any issue.
Thank you for your answer, however it didn't help to resolve the issue.
I am putting the value you've given into desired capabilities, however appium seems to ignore my those capabilities.
Appium is still expecting to find app by default: "Original error: 'com.zoontek.rnbootsplash.RNBootSplashActivity' or 'com.everfx.com.zoontek.rnbootsplash.RNBootSplashActivity' never started."
So question is how to effectively override desired capabilities at AWS device farm so appium at device farm would use the ones overridden?
Can you try replacing the Appium command in your test spec file with the following:
-
--default-capabilities "{"deviceName": "$DEVICEFARM_DEVICE_NAME", "platformName":"$DEVICEFARM_DEVICE_PLATFORM_NAME",
"appPackage":"com.everfx", "udid":"$DEVICEFARM_DEVICE_UDID", "platformVersion":"$DEVICEFARM_DEVICE_OS_VERSION",
"chromedriverExecutable":"$DEVICEFARM_CHROMEDRIVER_EXECUTABLE","appActivity":"com.zoontek.rnbootsplash.RNBootSplashActivity","appWaitActivity":"com.everfx.MainActivity"}"
This appium command does not specify your app package, but only encoded the app package and activity names in the appium server as default capabilities.
Edited by: raygader-aws on Oct 21, 2020 8:10 PM
Thank you, both of your suggestions helped me a lot!
The issue is resolved now
Relevant content
- asked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago