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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南