Automation lab Aú Image Processing (IMAGE_PROCESSING)
Lab 076: Pixel color verification
Practice pixel color verification in a real web app context as part of the Image Processing module.
advanced
advanced
Objectives
Use for test scripts- Understand the purpose and business flow of pixel color verification.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Image Processing / media / intermediate / active
Pixel color verification
Load an image, sample a pixel, and show its RGBA value.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Load image into canvas.
- Sample pixel at fixed coordinate.
- Expose RGBA values for automation.
Steps
- Select an image.
- Click "Sample pixel".
- Verify displayed RGBA matches canvas data.
Coordinate: (50, 50)
RGBA: n/a
No image loaded
Assertions to practice
- Canvas draws the uploaded image.
- Sampled RGBA updates after click.
- Status reflects loaded vs not loaded.