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
질문됨 4년 전187회 조회
1개 답변
0

Hi

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

VarunN
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠