Automation lab Aú File Handling (FILE_HANDLING)

Lab 064: Preview multiple uploaded files

Practice preview multiple uploaded files in a real web app context as part of the File Handling module.

intermediate intermediate
intermediate

Objectives

Use for test scripts
  • Understand the purpose and business flow of preview multiple uploaded files.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

File Handling / file / intermediate / active

Preview multiple uploaded files

Select multiple images and preview them as thumbnails.

Reading and understanding requirements Choosing stable locators Designing assertions based on business rules

Learning objectives

  • Handle multiple file selections.
  • Render thumbnail previews.
  • Show count and names for automation.

Steps

  1. Select multiple images.
  2. Verify thumbnail list matches selection.
  3. Check count and file names.

No files selected

Assertions to practice

  • Status shows count.
  • Thumbnails count matches selection.
  • Each thumb includes name attribute.