Once element is located

Check out the screenshot guide below!

  1. And action is not dynamic text and outerhtml is not greater than 1000 characters
  2. Compare the found and automated outer html
  • If last passed outer html is empty then use the outer html that was recorded
  • Check the number of times the outer html is found in page source
    • If 0 matches – error code E0001
    • If more than 1 match – error code E0002
  • If last passed outer html is not equal to the found outer html
    • But last passed outer html is found in page source – error code E0005
    • Since the previous passed outer html is found once in page source lets try to locate that element using other locators
    • If element is not located in 3 attempts
      • Make a list of all the attributes that are different between last passed and currently found outer html and update test step. This can be reviewed in the test step analysis page
      • Take screenshot

Have other questions? Access our full knowledge base!

Verified by MonsterInsights