Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
7 years ago
Solved

Getting error text in message

I have an error message by application as follows     The full name of the object is Sys.Process("My application").Window("#32770", "Error", 1).UIAObject("Error") and WndClass is Dir...
  • EnergizerBunny's avatar
    7 years ago

     

    Do both of these entries in your project....

    In project properties/open Application/UI Automation , added class DirectUIHWND

    In project properties/open Application/MSAA , added class DirectUIHWND

     

    I originally placed some of my code in the response, but after reviewing it I had to withdraw it because it calls other custom code making this response unusable to you.

     

    Basically I look  -Using FindChildEx() - for a classname of  'Element' or 'Static'   and the static class has an index of 2.

     

    My apologies.