Module 8

File Upload and Download

Module objective: Validate upload/download flows and browser permission handling in automation tests.

Main flow: Complete all three tasks: upload, generate download, and handle permission popup.

Upload

What to do: Attach a file using the file input control.

Expected result: Status shows Passed: with uploaded file name and byte size.

Pending: no file uploaded.

Download

What to do: Click Generate Report Download and verify download link appears.

Expected result: Status changes to Passed: download link generated.

Pending: download link not generated.

Browser Permission

What to do: Click permission button and handle notification permission dialog.

Expected result: Status shows Passed for granted permission or In Progress for denied/default/unsupported.

Pending: permission not requested.