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 年前188 查看次数
1 回答
0

Hi

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

VarunN
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则