Forum Discussion

yaacovk's avatar
yaacovk
Contributor
9 years ago
Solved

how to find an object by WndCaption property

Hi, In my application I have to catch error message in order to close them for continue the script. I choose several properties that caracterize these error message, but Test complete point on seve...
  • yaacovk's avatar
    9 years ago

    I found the mistake in my script:

    I need to define PropArray and ValArray as array:

    var PropArray = new Array ("WndClass", "WndCaption", "Visible");
     var ValArray = new Array("FXTopWindow", "Error message", true);