Sap webgui recording

From marcellourbani/vscode_abap_remote_fs · View interactive version

Sap webgui recording is an AI agent skill from the GitHub repository marcellourbani/vscode_abap_remote_fs. Guides an agent in deciding when SAP WebGUI exploration needs a focused user recording, coaching the user through Playwright recording in Edge, and consuming the resulting reference file safely. Use when autonomous browser exploration cannot inspect a complex SAP control or when the user asks how to

How to use this skill

Skill file

SAP WebGUI Recording — User-Assisted Evidence

For bounded, self-contained support work, use sap-task-helper with explicit inputs, allowed writes, and an output contract.

How to use this skill

Use this workflow to decide whether user-assisted recording is necessary, coach the user, and consume the resulting evidence in the active phase:

Recordings are reference evidence

The command ABAP FS: Record SAP WebGUI Flow writes:

<TEST_FOLDER>/recordings/<descriptive-name>.recording.ts

A recording is not a test case or production spec:

Decide who should explore

Explore autonomously first

Use the integrated browser when you can safely:

Do not ask the user to record merely to offload normal exploration.

Ask for a focused recording

Escalate only when one or more apply:

State the exact blocker and the smallest interaction that needs recording. Do not request an entire transaction when one grid edit or dialog path is enough.

Coach the user

Give these instructions:

  1. Run ABAP FS: Record SAP WebGUI Flow.
  2. Pick the intended SAP system when the command asks — it prompts for the connection and signs the browser in for you.
  3. Enter a descriptive name, for example me21n-edit-po-item.
  4. Start from a fresh transaction in English.
  5. Record one focused path with the fewest necessary actions.
  6. Use safe test data; never type passwords, secrets, or production personal data.
  7. Avoid exploratory clicks. Every click becomes generated code.
  8. Before Save, Post, Release, Delete, Approve, or any other data-changing action, decide whether the recording actually needs to include that final action. If it does, use a safe test system and test data and understand that the recording will change SAP data. Otherwise stop immediately before it.
  9. Close the Playwright recorder when the focused path is complete.
  10. Share the generated recording path and describe the intended outcome, any ambiguous control, and whether personalization or a variant was active.

When requesting a data-changing flow, explicitly tell the user whether to stop before the final action or include it. Base that instruction on the evidence needed, the target system, and whether the supplied test data is safe to modify.

Consume the recording

  1. Read the recording and the current _screens.md together.
  2. Load sap-webgui and classify every generated locator using its recording-interpretation rules.
  3. Extract interaction order, visible labels, accessible names, titles, dialog transitions, server roundtrips, and rerenders.
  4. Treat typed business values as examples, not constants.
  5. Add verified evidence to _screens.md, including:
  1. Resume the phase workflow already in progress. A recording does not bypass any phase gate.

If the recording contains only an unstable generated ID for a required control, it proves interaction intent but not a usable locator. Request narrower exploration or report a runtime gap; do not bless the ID.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.