UI-based Automated Tests

Warnings related to the creation of UI-based automated tests.

There are times when it may be beneficial to create UI-based automated tests for specific flows within Manhattan Active® solutions. This is a common and accepted practice.

Warnings

Creating UI-based automated tests that traverse HTML to find UI widgets should be undertaken with a few warnings and precautions:

  • HTML elements and widgets are NOT guaranteed to be consistent across releases. They are NOT guaranteed to be backward compatible.
  • If HTML traversal and searching are required for automated tests, the data-component-id HTML attribute should be the most consistent across releases.
  • HTML element changes, including those to data-component-id, are not published in the release notes.

Author

  • Ryan Rupp: Sr Director, Manhattan Active®, R&D.