Automation lab Aú File Handling (FILE_HANDLING)
Lab 066: Rename file before upload
Practice rename file before upload in a real web app context as part of the File Handling module.
intermediate
intermediate
Objectives
Use for test scripts- Understand the purpose and business flow of rename file before upload.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
File Handling / file / intermediate / active
Rename file before upload
Provide a new file name before uploading; show final name.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Capture original file name.
- Apply custom name before upload.
- Show final name for assertions.
Steps
- Select a file.
- Enter a new name (without extension).
- Upload and verify final name includes original extension.
Original: none
Final: none
Assertions to practice
- Original name captured.
- Final name uses custom base + original extension.
- Status reflects success.