Unable to click on android popup

0

Since android ver 6 and higher, my app asks to allow navigation stuff at the very beggining of it. So I open the app and this allow-popup appears. On my usual appium test everything is fine, I can click on it, close, rerun app and continue. But when AWS runing my app it doesn't click on that popup. So here's 2 runs. First where android 5 and next is higher.

Successful run: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/e9705ee5-4015-478f-b9f1-c62f8b73ef49/runs/331a79f6-dabb-4e7d-96ff-483e7b7be706/jobs/00000

Unsuccessful run: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-east-1#/projects/e9705ee5-4015-478f-b9f1-c62f8b73ef49/runs/12aa1322-646b-41cb-bc90-af6038b7b558

gefragt vor 5 Jahren248 Aufrufe
1 Antwort
0

For me the solution was:
add in desired capabilities - setCapability("autoGrantPermissions", true);

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen