Automation lab Aú Image Processing (IMAGE_PROCESSING)

Lab 072: Image resize with fixed width and height

Practice image resize with fixed width and height in a real web app context as part of the Image Processing module.

advanced advanced
advanced

Objectives

Use for test scripts
  • Understand the purpose and business flow of image resize with fixed width and height.
  • Design stable locators for key UI elements.
  • Automate user interactions and verify the resulting UI state.

Sandbox

Image Processing / media / intermediate / active

Image resize with fixed width and height

Resize an image to 200x200 and preview the scaled result.

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

Learning objectives

  • Load image and display original size.
  • Render resized preview (200x200).
  • Expose status for automation.

Steps

  1. Select an image.
  2. Click resize to generate 200x200 preview.
  3. Verify both size labels.

Original

Original size: n/a

Resized (200x200)

Resized size: n/a

No image loaded

Assertions to practice

  • Original size displays after load.
  • Resized preview visible after action with size label 200x200.
  • Status reflects success.