This issue was originally posted as a discussion item but just in case it has not been raised as a bug, please see below details:
- Windows logs folder: \config.metadata.log
Can be provided on request
Appium version = 1.12.1
Mobile platform/version under test = Android 9
Real device or emulator/simulator = Real, Moto G6
Appium Logs: .appium = Can be provided on request
Application file (.apk/.ipa): (if possible) - can be provided if required but is private
Script is built and ‘Take Screenshot’ keyword is included. Usually used once per screen/page.
Script is run and passes but an error message appears against the step ‘result too large’. The test step has a PASS result.
See post Failure: result too large when take screenshots in mobile for evidence and screenshots.
Expected Behavior = Screenshots should be saved and appear in a report. If script fails for any reason, a screenshot should also capture the screenshot for that point (according to user preferences). If a screenshot is captured it should record a PASS result - otherwise it should FAIL (where behaviour is ‘STOP ON FAILURE’)
Please see linked post above.