Failing to detect App Activity

0

Hi

1)When tried to run app through appium testng shown following error on console

-shown error "Activity never started"

2)But when i tried to launch app on my device through adb shell with package/activity name i am able to launch the app.
adb shell am start -n <package/activity>

3)Appium - Testng able to launch app in my device and works fine

  1. I have tried to run in device farm by not providing app activity capability in first run and with app activity in second run , but both the times it has failed

Below are run's url:

https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-west-2#/projects/3c91870d-d21d-41a7-bf65-c051dd5ba700/runs/f3c0a151-5064-4004-92bb-33a22535a839

https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-west-2#/projects/3c91870d-d21d-41a7-bf65-c051dd5ba700/runs/1cb115c5-4150-48b3-b6d8-f45445d7d407

Please help.

Edited by: VarunN on May 12, 2020 6:10 AM

Edited by: VarunN on May 12, 2020 4:02 PM

VarunN
feita há 4 anos188 visualizações
1 Resposta
0

Hi

I am able to address this issue by adding app wait activity and app wait duration capabilities.
Thank you.

VarunN
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas