Web Tables Scenarios and Assertions | Bondar Academy
Course: AI-based testing with testRigor
Module: Interation with Web Elements
Instructor: Artem Bondar
Lesson Summary
In this lesson, we explore realistic scenarios for validating functionality within a web table, specifically focusing on updating values and making assertions. Key Concepts Web Table Interaction: We will validate the functionality of updating user details by ID. Test Scenario: Update first and last name for a user by clicking a pencil icon. Steps to Update User Information Navigate to the Smart Table Page: Start by accessing the web table. Locate the Edit Button: Use class and edit to find the pencil icon for the specific row (e.g., ID 3). Update Values: After clicking the pencil, locate the first and last name fields using the check mark as a unique identifier. Save Changes: Click the check mark to save the updated information. Assertions After updating, we validate that the changes were successful by checking: First name for ID 3 should equal John . Last name for ID 3 should equal Smith . Adding a New User We also covered how to add a new user: Click the plus icon to initiate adding a new user. Enter the first and last name in the table header. Save the new user and validate that the user appears in the first row of the table. In summary, working with web tables involves careful interaction with elements and making precise assertions. Practice is key to mastering these tasks.