{
  "test_id": "ORCL.HCM.COREHR.WORKER.HIRE",
  "scenario_name": "Hire Employee",
  "application": "Oracle Fusion Cloud HCM",
  "product": "Human Capital Management",
  "module": "Core HR",
  "process": "Hire-to-Retire",
  "business_flow": "Employee Lifecycle",
  "scenario_type": "Positive / Functional",
  "priority": "High",
  "automation_status": "SyntraFlow Ready",
  "library": "Syntra Standard",
  "canonical_url": "https://www.syntraflow.cloud/oracle-erp-testing-tool/test-library/hcm/core-hr/hire-to-retire/hire-employee/",
  "objective": {
    "intro": "This test validates that Oracle Fusion HCM can create a new employee using valid person, employment, legal employer, job, position, department, location, manager and compensation data.",
    "confirms": [
      "the correct legal employer, business unit and legislative data are applied to the new hire",
      "person details are captured accurately and a worker record is created",
      "the assignment reflects the correct job, position, department and location",
      "the assigned manager is correctly recorded on the worker's assignment",
      "compensation details, where applicable, are correctly recorded on the assignment",
      "the resulting worker record is retrievable with an active assignment after submission"
    ],
    "scope_note": "This scenario validates the Hire Employee event itself. Subsequent Hire-to-Retire lifecycle events — converting a pending worker, changing assignment, promotion, transfer, global transfer and termination — are covered by separate test scenarios within the same Employee Lifecycle."
  },
  "preconditions": [
    "A valid legal employer is configured and available for the hire.",
    "A valid Business Unit is configured, where applicable to the hire.",
    "An active department is available for the assignment.",
    "An active job is available for the assignment.",
    "An active position is available where position management is used by the legal employer.",
    "A valid work location is configured.",
    "A valid manager, an active worker, is available to be assigned.",
    "The applicable person type for the hire is configured.",
    "Required legislative data for the worker's country is available.",
    "A valid salary basis and compensation setup are available where compensation is captured at hire.",
    "The test user has the appropriate HR role and access to perform the hire."
  ],
  "test_data": [
    {
      "field": "Legal Employer",
      "example": "${LEGAL_EMPLOYER}"
    },
    {
      "field": "Business Unit",
      "example": "${BUSINESS_UNIT}"
    },
    {
      "field": "Country",
      "example": "${COUNTRY}"
    },
    {
      "field": "Legislative Data Group",
      "example": "${LEGISLATIVE_DATA_GROUP}"
    },
    {
      "field": "Person Type",
      "example": "${PERSON_TYPE}"
    },
    {
      "field": "Hire Date",
      "example": "${HIRE_DATE}"
    },
    {
      "field": "Department",
      "example": "${DEPARTMENT}"
    },
    {
      "field": "Job",
      "example": "${JOB}"
    },
    {
      "field": "Position",
      "example": "${POSITION}"
    },
    {
      "field": "Grade",
      "example": "${GRADE}"
    },
    {
      "field": "Location",
      "example": "${LOCATION}"
    },
    {
      "field": "Manager",
      "example": "${MANAGER}"
    },
    {
      "field": "Salary Basis",
      "example": "${SALARY_BASIS}"
    },
    {
      "field": "Salary Amount",
      "example": "${SALARY_AMOUNT}"
    },
    {
      "field": "Payroll",
      "example": "${PAYROLL}"
    },
    {
      "field": "Working Hours",
      "example": "${WORKING_HOURS}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion HCM",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has Core HR hire access.",
      "test_data": "",
      "expected_result": "The Oracle Fusion Cloud home page loads successfully for the authenticated user.",
      "validation_type": "action"
    },
    {
      "step_number": 2,
      "step_name": "Navigate to Workforce Area",
      "action": "Navigate to My Client Groups, or the equivalent workforce area used for hiring.",
      "test_data": "",
      "expected_result": "The workforce area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Start Hire Employee",
      "action": "Start the Hire Employee action to begin creating a new worker record.",
      "test_data": "",
      "expected_result": "The Hire Employee flow opens, ready for input.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Personal Details",
      "action": "Enter the new worker's personal and contact details using representative test data.",
      "test_data": "${PERSON_TYPE}",
      "expected_result": "The entered personal details are accepted without validation errors.",
      "validation_type": "action",
      "note": "This single business step represents entry of person-level details such as name, contact information and person type; SyntraFlow always uses placeholder test data, never real person data."
    },
    {
      "step_number": 5,
      "step_name": "Select Legal Employer",
      "action": "Select the legal employer the worker is being hired into.",
      "test_data": "${LEGAL_EMPLOYER}",
      "expected_result": "The selected legal employer is accepted and applicable legislative options are updated accordingly.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Enter Hire Date",
      "action": "Enter the hire date for the new worker.",
      "test_data": "${HIRE_DATE}",
      "expected_result": "The hire date is accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Select Job and Position",
      "action": "Select the job and, where position management applies, the position for the assignment.",
      "test_data": "${JOB} / ${POSITION}",
      "expected_result": "The selected job and position are accepted as valid for the legal employer.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Select Department and Location",
      "action": "Select the department and work location for the assignment.",
      "test_data": "${DEPARTMENT} / ${LOCATION}",
      "expected_result": "The selected department and location are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Assign Manager",
      "action": "Assign the worker's manager on the assignment.",
      "test_data": "${MANAGER}",
      "expected_result": "The selected manager is accepted and recorded on the assignment.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Enter Compensation",
      "action": "Enter salary basis and salary amount where compensation is captured at hire.",
      "test_data": "${SALARY_BASIS} / ${SALARY_AMOUNT}",
      "expected_result": "The entered compensation details are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 11,
      "step_name": "Review Worker Information",
      "action": "Review the entered person, employment and compensation details before submission.",
      "test_data": "",
      "expected_result": "The review page correctly reflects all entered values.",
      "validation_type": "action"
    },
    {
      "step_number": 12,
      "step_name": "Submit",
      "action": "Submit the hire for processing.",
      "test_data": "",
      "expected_result": "Oracle Fusion HCM creates the worker record and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 13,
      "step_name": "Verify Worker Number and Active Assignment",
      "action": "Retrieve the new worker and confirm the generated worker number and resulting assignment.",
      "test_data": "",
      "expected_result": "A worker number is generated and retained, and the worker has an active assignment with the correct legal employer, job, position, department, location and manager.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the submit action succeeded; the new worker must be retrievable with the correct assignment details."
    }
  ],
  "expected_results": [
    "A new employee is hired successfully using valid person, employment, legal employer, job, position, department, location, manager and compensation data.",
    "The correct legal employer and legislative data are applied to the hire.",
    "The job, position, department and location match the selected values.",
    "The assigned manager is correctly recorded on the assignment.",
    "A worker number is generated and retained.",
    "The worker record is retrievable with an active assignment after submission."
  ],
  "validation_checkpoints": [
    "Employee created.",
    "Person number generated and retained.",
    "Legal employer correct.",
    "Assignment created.",
    "Job/position correct.",
    "Department/location correct.",
    "Manager correct.",
    "Worker status correct.",
    "Hire date correct.",
    "Worker can be retrieved after submission."
  ]
}
