Verify test methods execute in specified order using @Order annotation
Preconditions (2)
Step 1: Create a test class annotated with @TestMethodOrder(OrderAnnotation.class)
Step 2: Add three test methods annotated with @Test and @Order with values 1, 2, and 3 respectively
Step 3: Inside each test method, print or log a unique message indicating its execution
Step 4: Run the test class
Step 5: Observe the order of test execution in the test report or console output
✅ Expected Result: Test methods execute in the order defined by their @Order values: method with @Order(1) runs first, then @Order(2), then @Order(3)