question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

allow wildcards in appWaitActivity

See original GitHub issue

Issue

I have a trouble launching my android app on Appium 1.6.0 or later. [ADB] Error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity I understand that appWaitActivity is required and the problem may be fixed by setting a correct activity, however, I think it is very difficult to set all activities to appWaitActivity for a number of reasons:

  • My app includes an Ad SDK which contains multiple activities.
  • I tried driver.currentActivity(); but it returns various values. It may be a timing issue, though.
  • This Ad SDK is developed by an outside developer so there is a possibility that the activity name of the SDK may be changed.

It would be great if Appium provide an option to skip the activity check or a setting to specify appWaitActivity like 'com.mydomain.*, com.sdkdomain.*'.

Environment

  • appium 1.6.0 or later
  • Desktop OS/version used to run Appium:Mac OS X El Capitan
  • Node.js version (unless using Appium.app|exe): v6.9.2
  • Mobile platform/version under test: android
  • Real device or emulator/simulator: both

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
imurchiecommented, Dec 27, 2016

This seems like a good feature to have, to be able to send in a wildcard. Adding it to our work.

0reactions
lock[bot]commented, May 8, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Activity startup - appium - Read the Docs
Also, Appium allows to use wildcards while setting appWaitActivity value. This might be particularly useful if the activity name is generated dynamically or ......
Read more >
Desired Capabilities - Appium
appWaitActivity, Activity name/names, comma separated, for the Android activity you want to wait for. By default the value of this capability is the...
Read more >
Robotframework + AppiumLibrary: "Open Application" with two ...
You can use wildcards in the AppWaitActivity to wait for your application: example: //the code bellow will work for YourApplication.
Read more >
HOW TO GET & USE WINTER WILDCARDS SWAPS TOKENS!
... ALL WINTER WILDCARDS SWAPS REWARDS - 2 Tokens - 87 Winter Wildcards Trippier 3 Tokens - 81+ x11 Rare Players Pack 5...
Read more >
Unable to start application on this device: an unknown server-side ...
Set appWaitPackage to * - a wildcard might allow Appium to run with any ... You can also try setting appWaitActivity just to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found