Adding Assertions & Events while Recording

  1. Login as Manager/Engineer.

  2. Navigate to Tests >> Click on the "Add New Test" button.

  3. Create a Test with the Test name & Tag name.

  4. Click on the Recorder icon on the Test Worksheet page.

  5. The web app alongside the GTP Recorder extension will open.

  6. The browser should be pre-loaded with the app  URL added in project>> Environment Base URL.

  7. Now the user can perform the Application's actions and add Master Actions.

  8. Click on the + icon from GTP Extension.

  9. Select Insert Assertion.

  10. Now Select the Element to be Asserted from the AUT.

  11. Now Click on Add button.

  1. Once the Element is Asserted, Click on Save and Close Button.

GoTestPro has the following Assertions:

  • Add Mouse Hover Action: In some cases, we may want to mouse hover on an element and check if the button state/color changes after mouse hover.

  • Assert Element: It checks whether that element is present on the page or not

  • Add Wait Time: Some cases need a hard waiting time.

  • Add Check Assertion: Verifies whether the check box is checked or not during test execution.

  • Add Uncheck Assertion: Verifies whether the check box is checked or not during test execution.

  • Add Enabled Assertion: Checks whether Button/Text Box is enabled or not during test execution.

  • Add Disabled Assertion: Checks whether Button/Text Box is disabled or not during test execution.

  • Add Page Title Assertion: There are cases where we need to check the title of a particular page

  • Add Tool Tip Message Verification: Some cases need verification of the tooltip message during test execution.

©2023 GoTestPro. All Rights Reserved.