{
  "test_id": "ORCL.HCM.COREHR.STRUCTURE.GRADE",
  "scenario_name": "Grade Management",
  "application": "Oracle Fusion Cloud",
  "product": "HCM",
  "module": "Core HR",
  "process": "Workforce Structures",
  "business_flow": "Workforce Configuration",
  "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/workforce-structures/grades/",
  "objective": {
    "intro": "This test validates creation and maintenance of grades and the related workforce relationships — grade ladder, job and position associations — that make a grade usable for worker assignment and compensation structures.",
    "confirms": [
      "a new grade is created with the correct grade code, name and effective start date",
      "an existing grade can be updated, and prior effective-dated versions remain retrievable",
      "job and/or position associations are correctly recorded against the grade where configured",
      "a grade ladder association, where used, is correctly applied to the grade",
      "an inactivated grade correctly stops being offered for new assignments while existing dependencies are handled according to configuration",
      "an active grade is correctly available for selection on a worker assignment"
    ],
    "scope_note": "This scenario validates the grade workforce structure itself, together with its job, position and grade ladder relationships. It does not certify compensation calculation logic, salary structures or the worker assignment transaction in full — those are covered by dedicated compensation and assignment test scenarios."
  },
  "preconditions": [
    "Oracle Fusion Workforce Structures access is available to the test user.",
    "The Job and Position workforce structures used for association are already configured, where the customer associates grades with jobs and/or positions.",
    "A grade ladder is configured where the customer's implementation uses grade ladders — this is not a universal Oracle Fusion configuration.",
    "The test user has the appropriate role to create, update and inactivate grades.",
    "A representative worker record exists for confirming that an active grade is available for assignment."
  ],
  "test_data": [
    {
      "field": "Grade Code",
      "example": "${GRADE_CODE}"
    },
    {
      "field": "Grade Name",
      "example": "${GRADE_NAME}"
    },
    {
      "field": "Grade Ladder",
      "example": "${GRADE_LADDER}"
    },
    {
      "field": "Effective Start Date",
      "example": "${EFFECTIVE_START_DATE}"
    },
    {
      "field": "Effective End Date",
      "example": "${EFFECTIVE_END_DATE}"
    },
    {
      "field": "Status",
      "example": "${STATUS}"
    },
    {
      "field": "Job",
      "example": "${JOB}"
    },
    {
      "field": "Position",
      "example": "${POSITION}"
    },
    {
      "field": "Salary Context",
      "example": "${SALARY_CONTEXT}"
    }
  ],
  "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 Workforce Structures grade maintenance 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 Structures",
      "action": "Navigate to the Workforce Structures work area and select the Grades task.",
      "test_data": "",
      "expected_result": "The Grades task opens successfully.",
      "validation_type": "action"
    },
    {
      "step_number": 3,
      "step_name": "Initiate Create or Update Grade",
      "action": "Start the Create Grade action for a new grade, or select an existing grade and choose Update.",
      "test_data": "${GRADE_CODE}",
      "expected_result": "The grade entry page opens, ready for input.",
      "validation_type": "action"
    },
    {
      "step_number": 4,
      "step_name": "Enter Grade Code, Name and Ladder",
      "action": "Enter the grade code and grade name, and select the grade ladder where the customer's configuration uses one.",
      "test_data": "${GRADE_CODE} / ${GRADE_NAME} / ${GRADE_LADDER}",
      "expected_result": "The grade code, name and ladder selection are accepted without validation errors.",
      "validation_type": "action"
    },
    {
      "step_number": 5,
      "step_name": "Associate Job and/or Position Where Applicable",
      "action": "Associate the grade with a job and/or position, where the customer's configuration links grades to job or position workforce structures.",
      "test_data": "${JOB} / ${POSITION}",
      "expected_result": "The job and/or position association is accepted and recorded against the grade.",
      "validation_type": "action"
    },
    {
      "step_number": 6,
      "step_name": "Set Effective Date and Status",
      "action": "Set the effective start date, optional effective end date, and status for the grade.",
      "test_data": "${EFFECTIVE_START_DATE} / ${EFFECTIVE_END_DATE} / ${STATUS}",
      "expected_result": "The effective dates and status are accepted and applied to the grade record.",
      "validation_type": "action"
    },
    {
      "step_number": 7,
      "step_name": "Review and Submit",
      "action": "Review the entered grade code, name, ladder, associations, effective dates and status before submitting.",
      "test_data": "",
      "expected_result": "All entered grade details display correctly for review, and the transaction submits without error.",
      "validation_type": "action"
    },
    {
      "step_number": 8,
      "step_name": "Verify Grade Available for Worker Assignment",
      "action": "Retrieve the saved grade record and confirm it is available for selection on a worker assignment while active.",
      "test_data": "",
      "expected_result": "The grade is saved with the correct code, name, ladder and associations, and is available for worker assignment while its status is active.",
      "validation_type": "business_assertion",
      "note": "This is the main business assertion for the scenario — the test does not stop merely because the save action succeeded; the grade must be correctly retrievable and usable for assignment."
    }
  ],
  "expected_results": [
    "A grade is created or updated successfully with the correct grade code and name.",
    "The grade ladder association, where used, is correctly applied to the grade.",
    "Job and/or position associations are correctly recorded against the grade where configured.",
    "The effective dates and status applied to the grade are correct.",
    "An inactivated grade correctly stops being offered for new selection where dependencies allow.",
    "An active grade is correctly available for selection on a worker assignment."
  ],
  "validation_checkpoints": [
    "Grade created correctly.",
    "Grade code and name correct.",
    "Effective dates correct.",
    "Status correct.",
    "Job/position associations retained.",
    "Available for assignment when active."
  ]
}
