Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 5 of 5

Privacy and diagnostics

11 min

Listen to this lesson

0:00 / 5:51

Two topics close the course. First, privacy: automated tests read, create and log data at a scale no human tester does, and when the test system holds a production copy, much of that data is personal. Second, diagnostics: when a test fails, the team must decide quickly whether the cause is data, environment, the test itself or a real defect. Both depend on deliberate data design.

Personal data in automation

A production copy of an S/4HANA system contains business partners who are people, employee data, bank details, addresses and contact persons. Under the EU General Data Protection Regulation and similar laws, copying that data to a test system is still processing personal data, and pseudonymized data is still personal data. Automation adds exposure in places people forget: screenshots, recorded videos, request and response logs, exported result files and defect attachments.

Automation spreads personal data into places people forget to protect.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-302
SourceProduction copy with real people's data, or synthetic data created by the suite.
Test systemMasked or scrambled copy; access restricted to roles that need it.
Automation runtimeTechnical users with least privilege; credentials in a secure store.
EvidenceScreenshots, logs and payloads, masked or minimized before storage.
RetentionEvidence kept only as long as audit and sign-off require, then deleted.
Where personal data appears along the automation chain.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-302

Controls that work

  • Prefer synthetic data for anything the suite creates. A test customer named "AUTO Fleet 0412" with a placeholder address carries no personal data.
  • Mask production copies before testers and automation use them. SAP has offered scrambling as part of its test data tooling, and many teams run masking as a post-copy step; check what is licensed and supported in your landscape.
  • Minimize evidence: capture what proves the result (document number, status, amounts) and avoid full-screen captures of address or bank data.
  • Restrict access to evidence stores with the same care as the test system itself.
  • Set retention for logs and screenshots and delete on schedule.

Classifying failures

When a test fails, the first job is classification. The ISTQB Test Automation Engineering syllabus points out that the defect can be in the test case, the system under test, the automation framework, the hardware or the network, and recommends inspecting logs, setup and teardown, and running isolated tests. For SAP teams a four-way classification is practical.

ClassTypical evidenceWho acts
DataMissing stock, blocked customer, record consumed, pool below minimumAutomation team fixes data design or pools
EnvironmentRFC destination down, system unavailable, background job not running, CMQ being refreshedBasis or integration team
TestLocator changed, wrong assertion, timing issue in the scriptAutomation engineer
DefectProcess gives a wrong result with valid data in a healthy systemDefect logged for development with full evidence
A four-way classification of automated test failures.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-302
  1. Was the environment healthy during the run?No → environment · Yes → continue
  2. Did the setup log show the expected data with the expected attributes?No → data · Yes → continue
  3. Does the failure reproduce manually with the same data?No → test (script or timing) · Yes → continue
  4. Is the result wrong against the agreed expected result?Yes → defect · No → fix the expected result in the test
A triage path for one failed test.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-302

Good data design makes this fast. If every test logs what it created, what it reserved and what it found at run time, the analyst can answer the data question in a minute. If the run starts with environment checks and pool checks, many environment and data failures never reach individual tests at all, because the run stops early with one clear message.

Run-start checks stop a broken run with one message, and setup logs answer the data question in a minute.
The Sign-Off Table · thesignofftable.com/academy/sap-tau-302

What would you do?

A payment run test fails in CMQ. The log shows the open supplier item was reserved correctly, the RFC check at run start passed, and the same steps done manually with the same item give the same wrong discount amount. How should the failure be classified?

Key points
  • Production copies carry personal data; pseudonymized data is still personal data.
  • Prefer synthetic data, mask copies, minimize evidence, restrict access and set retention.
  • Masking rules must keep processes working; test them after each masking run.
  • Classify every failure as data, environment, test or defect before routing it.
  • Run-start checks and setup logs make classification fast and keep only real defects with developers.

Check your understanding · not graded

Lesson check

  1. 1. Where does automation most often leak personal data that teams forget about?

  2. 2. A test fails because the RFC destination to the warehouse system was down during the run. How should it be classified?

  3. 3. Why must masking rules be tested with the key processes?

  4. 4. What should automated evidence for a sales order test capture, given the privacy controls in this lesson?