{
  "test_id": "ORCL.HCM.COREHR.WORKER.HIRE.CWK",
  "scenario_name": "Hire Contingent Worker",
  "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-contingent-worker/",
  "objective": {
    "intro": "This test validates that Oracle Fusion Core HR can create a contingent worker using valid person, assignment, legal employer, department, job/position, location, manager and work relationship information.",
    "confirms": [
      "the correct legal employer and worker type are selected for the contingent worker",
      "the department, job, position and location entered are valid and accepted for the assignment",
      "the start date, and end date where applicable, are correctly applied to the work relationship",
      "Oracle Fusion creates the contingent worker record and returns a retrievable worker/person number",
      "the worker status and assignment reflect successful creation",
      "the resulting worker record is available for subsequent assignment change, conversion, transfer and termination scenarios"
    ],
    "scope_note": "This scenario validates the initial creation of a contingent worker record and assignment. Converting a contingent worker to an employee, changing assignment, promotion, transfer and termination are covered by separate test scenarios within the same Hire-to-Retire lifecycle."
  },
  "preconditions": [
    "A valid, active legal employer is configured for contingent worker hires.",
    "An active department is available for the assignment.",
    "An active job and, where used, position is configured and available for selection.",
    "A valid manager is available and active in the organization.",
    "Worker type configuration for contingent workers is enabled for the legal employer.",
    "The proposed start date, and end date where applicable, falls within a valid, open period.",
    "The test user has the appropriate HR role and access to hire contingent workers."
  ],
  "test_data": [
    {
      "field": "Legal Employer",
      "example": "${LEGAL_EMPLOYER}"
    },
    {
      "field": "Worker Type",
      "example": "${WORKER_TYPE}"
    },
    {
      "field": "Department",
      "example": "${DEPARTMENT}"
    },
    {
      "field": "Job",
      "example": "${JOB}"
    },
    {
      "field": "Position",
      "example": "${POSITION}"
    },
    {
      "field": "Location",
      "example": "${LOCATION}"
    },
    {
      "field": "Manager",
      "example": "${MANAGER}"
    },
    {
      "field": "Start Date",
      "example": "${START_DATE}"
    },
    {
      "field": "End Date",
      "example": "${END_DATE}"
    },
    {
      "field": "Supplier / Agency",
      "example": "${SUPPLIER}"
    }
  ],
  "business_steps": [
    {
      "step_number": 1,
      "step_name": "Sign In to Oracle Fusion",
      "action": "Sign in to Oracle Fusion Cloud with a user account that has Core HR contingent worker 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 Person Management",
      "action": "Navigate to the workforce management area used to add a new worker.",
      "test_data": "",
      "expected_result": "The Person Management work area opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Start Add Contingent Worker",
      "action": "Start the Add Contingent Worker action to begin the hire flow.",
      "test_data": "",
      "expected_result": "The Add Contingent Worker flow opens, ready for input.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Personal Details",
      "action": "Enter placeholder personal details for the contingent worker using test environment data only.",
      "test_data": "",
      "expected_result": "Personal details are accepted without validation errors.",
      "validation_type": "action",
      "note": "Uses anonymized, non-production placeholder data only — this test does not involve a real individual's personal information."
    },
    {
      "step_number": 5,
      "step_name": "Select Legal Employer and Worker Type",
      "action": "Select the legal employer and worker type for the contingent worker.",
      "test_data": "${LEGAL_EMPLOYER} / ${WORKER_TYPE}",
      "expected_result": "The selected legal employer and worker type are accepted and applicable assignment options are updated accordingly.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Enter Start and End Dates",
      "action": "Enter the work relationship start date and, where applicable, the end date.",
      "test_data": "${START_DATE} / ${END_DATE}",
      "expected_result": "The start date, and end date where entered, are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Select Job and Position",
      "action": "Select the job and, where used, the position for the assignment.",
      "test_data": "${JOB} / ${POSITION}",
      "expected_result": "The selected job and position are accepted as valid for the legal employer and department.",
      "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 and associated with the assignment.",
      "validation_type": "action"
    },
    {
      "step_number": 9,
      "step_name": "Assign Manager",
      "action": "Select the manager the contingent worker will report to.",
      "test_data": "${MANAGER}",
      "expected_result": "The selected manager is accepted and associated with the assignment.",
      "validation_type": "action"
    },
    {
      "step_number": 10,
      "step_name": "Review and Submit",
      "action": "Review the entered details and submit the hire transaction.",
      "test_data": "",
      "expected_result": "Oracle Fusion accepts the submission and returns a confirmation.",
      "validation_type": "action"
    },
    {
      "step_number": 11,
      "step_name": "Verify Worker Record and Assignment",
      "action": "Retrieve the newly created worker record and confirm the resulting worker type, assignment and dates.",
      "test_data": "",
      "expected_result": "The contingent worker record is retrievable, the worker type, department, job, position, location and manager are correct, the start/end dates are retained, and the worker status correctly reflects successful hire.",
      "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 created worker record must be retrievable with the correct details."
    }
  ],
  "expected_results": [
    "A contingent worker is created successfully using valid legal employer, worker type, assignment and work relationship data.",
    "The correct department, job, position and location are applied to the assignment.",
    "The correct manager is associated with the assignment.",
    "The start date, and end date where applicable, are correctly retained.",
    "Worker status reflects successful creation.",
    "The worker record is retrievable for subsequent assignment change, conversion, transfer and termination scenarios."
  ],
  "validation_checkpoints": [
    "Contingent worker created successfully.",
    "Worker type correct.",
    "Assignment correct.",
    "Department, job and location correct.",
    "Start and end dates retained.",
    "Worker status correct.",
    "Worker record retrievable after submission."
  ]
}
