Test keyboard actions keyDown and keyUp on input field
Preconditions (2)
Step 1: Open the browser and navigate to http://example.com/keyboard-test
Step 2: Locate the input field with id 'input-box'
Step 3: Click on the input field to focus
Step 4: Press and hold the SHIFT key (keyDown)
Step 5: Type the letters 'abc' while SHIFT is held down
Step 6: Release the SHIFT key (keyUp)
Step 7: Verify that the input field contains 'ABC'
✅ Expected Result: The input field should contain the uppercase text 'ABC' after typing with SHIFT key held down.