Automation lab Aú Performance & Stress Testing (PERFORMANCE_STRESS)
Lab 097: Detect potential memory leaks in UI
Practice detect potential memory leaks in ui in a real web app context as part of the Performance & Stress Testing module.
expert
expert
Objectives
Use for test scripts- Understand the purpose and business flow of detect potential memory leaks in ui.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Performance & Stress Testing / performance / expert / active
Detect potential memory leaks in UI
Simulate memory allocation and track for leaks.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Simulate allocations.
- Clear references to release memory.
- Expose leak warning.
Steps
- Allocate blocks.
- Clear blocks.
- Verify status and leak text.
Blocks: 0
Status: Stable
Assertions to practice
- Alloc increments block count.
- Clear resets count and removes leak warning.
- Status shows leak warning if blocks > 100.