FAQ: Do not add assertions on some properties of UI Test Control

You should not add assertions on the following properties. They will most probably fail in future test runs because they are dynamic in nature.

  • Bounding Rectangle
  • Window Handle
  • Top Parent
  • Class Name in case of winforms(sometimes)