Forum Discussion

DCat1223's avatar
DCat1223
Frequent Contributor
6 years ago
Solved

Object not identified when test is running but is always identified when hilighting in mapping

Good evening. I have an object ( a button) in a test case that fails to get identified every time my test is executed.  When the test fails and stops, I go right to the Name Mapping screen, and rig...
  • tristaanogre's avatar
    tristaanogre
    6 years ago

    I wouldn't use WaitProperty as that requires the object to exist to actually CALL WaitProperty.  I'd do a verifcation of the object by calling "WaitChild" or "WaitAliasChild" on the parent object to wait for the control and then verify if the returned value has an Exist property set to true.