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:
Operating System
-Windows 10
Katalon Studio Version
KSE 7.2.6
Katalon Studio logs
- Windows logs folder: \config.metadata.log
Can be provided on request
Environment (for Mobile testing)
-
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
Steps to reproduce
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’)
Actual Behavior = A screenshot is not captured, an error message is given, overall result is PASS.
Screenshots / Videos
Please see linked post above.