Praman — Agent-First SAP UI5 Test Automation Plugin - v1.3.5
    Preparing search index...

    Function createEmployee

    • Creates an employee master record (PA — PA30/PA40).

      Parameters

      Returns Promise<IntentResult<void>>

      IntentResult describing the outcome.

      Navigates to the Employee-create FLP hash, fills first name, last name, and personnel area, then clicks Save.

      Create an employee master record.

      intent.hr.createEmployee

      HR

      PA30 — maintain HR master data / hiring action.

      import * as hr from '#intents/domains/hr.js';

      await hr.createEmployee(ui5, ui5Nav, vocab, {
      firstName: 'Max',
      lastName: 'Mustermann',
      personnelArea: '1000',
      });