SAP Knowledge Base Article - Public

3769174 - TAT Stops During Supplier Invoice Entry When Intermediate Error Message Occurs (S/4HANA Cloud Public Edition)

Symptom

  • During the Test Automation Tool (TAT) run, the process stops when an error message appears during data entry on the supplier invoice creation screen.
  • When the same steps are performed manually, users can continue entering required fields and post the supplier invoice successfully.
  • The error arises during intermediate input and not at the final posting stage.

Environment

  • Product: SAP S/4HANA Cloud Public Edition
  • Fiori UI for Invoice Verification (Public Cloud)

Reproducing the Issue

  1. Start the Test Automation Tool (TAT) in SAP S/4HANA Cloud Public Edition.
  2. Perform data entry on the supplier invoice creation screen.
  3. Observe that the automation stops when an error message appears during intermediate input.

Cause

TAT is a UI record/replay framework with no access to application server message types (E/W/I/S). When a modal dialog blocks the UI or a field is in a different state than during recording, the next recorded action fails and TAT stops.

Resolution

  1. Note that this is expected behavior: any error encountered during execution causes the test to fail and stop.
  2. Re-record the test steps to avoid triggering intermediate error messages or modal dialogs during data entry.
  3. Rerun the test using the updated recording.
  4. If an enhancement to handle such scenarios is desired, refer to: 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product.

See Also

Keywords

tat, test automation tool, test your processes, supplier invoice, create supplier invoice, intermediate error, modal dialog, stops execution, record replay, ui blocking, message types, balance not zero, no tax code found for difference, fiori, s/4hana cloud public edition , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions