appium: app process started by activateApp stops when the app goes to background
The problem
https://github.com/appium/appium/issues/16941#issuecomment-1129626136
--pct-syskeys 0
monkey command stops the app when it calls home.
The previous moneky
command worked as “resume” the app instead of start particular activity,
Environment
- Appium version (or git revision) that exhibits the issue: appium 2
- Last Appium version that did not exhibit the issue (if applicable):
- Driver version that exhibits the issue (only for Appium2): UIA2
- Last driver version that did not exhibit the issue (if applicable, only for Appium2):
- Desktop OS/version used to run Appium:
- Node.js version (unless using Appium.app|exe):
- Package manager name and version (we only officially support NPM):
- Mobile platform/version under test:
- Real device or emulator/simulator:
- Appium CLI or Appium.app|exe:
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium logs
Create a GIST which is a paste of your full Appium logs, and link them here. Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read! If you are reporting a bug, always include Appium logs!
Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.
Please git clone https://github.com/appium/appium and from the sample-code
directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (8 by maintainers)
UIA2 driver v2.2.0 has both changes. Please check them, thank you for your deep-diving into the issue.