1
0
Fork 0
Runs prerecorded actions in an SAP system to complete exercises for the SAP-Fallstudien course. Designed as a reference/archive of executed solutions; not intended for general-purpose use.
This repository has been archived on 2025-12-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 100%
Find a file
2025-09-30 10:02:56 +02:00
.vscode chore: add instructions for vscode extension 2025-09-30 10:02:56 +02:00
src first commit 2025-09-30 09:49:19 +02:00
tests first commit 2025-09-30 09:49:19 +02:00
.env.example first commit 2025-09-30 09:49:19 +02:00
.gitignore first commit 2025-09-30 09:49:19 +02:00
LICENSE Initial commit 2025-09-27 13:50:37 +02:00
package-lock.json first commit 2025-09-30 09:49:19 +02:00
package.json first commit 2025-09-30 09:49:19 +02:00
playwright.config.ts first commit 2025-09-30 09:49:19 +02:00
README.md chore: add instructions for vscode extension 2025-09-30 10:02:56 +02:00
tsconfig.json first commit 2025-09-30 09:49:19 +02:00

sap-exercise-solver

Runs prerecorded actions in an SAP system to complete the "SAP‑Fallstudien HWR‑Berlin" exercise.

Configuration (env variables)

  • URL: full SAP URL (valid URL)
  • CLIENT: numeric client ID (integer ≤ 999)
  • BROWSER: one of supported browsers (defaults to chromium)
  • HEADLESS: "true" or "false" (case-insensitive)
  • UNumber: exactly 3 characters
  • USERNAME: SAP username
  • PASSWORD: SAP password

Usage

Using Terminal

  1. Set env vars or use .env
  2. Install dependencies
npm install
  1. Run the app (node / npm script). Validation errors are printed to console.
npm start

Using VSCode extension

  1. Set env vars or use .env (browser and headless configuration can be omitted as they're set by the extension)
  2. Install dependencies
npm install
  1. Open the project in vscode and install recommended extensions (playwright)
  2. Go to the left menu bar and select the "Erlenmeyer flask"
  3. In the test explorer select tests -> index.spec.ts -> SAP FALLSTUDIE
  4. In the lower menu "Playwright" you can select your settings (like browser or headless)
  5. Click on the play-icon to start the run

License

MIT