Forum Discussion

Manfred_F's avatar
Manfred_F
Regular Contributor
10 years ago
Solved

handling multiple dialog instances

Hi, how can I handle multiple dialog instances in my AUT? I want to open several detail dialogs from a table dialog and work with the data (different detail objects). Using Aliases, I always get th...
  • Manfred_F's avatar
    10 years ago

    Hi,

    this is my solution:

    1) Start with the dialog alias' Control

    2) For the Control's parent, get an array with all visible children having the control's wndClass

    3) Filter the array for Elements having the control's MappedName

    4) exclude the start control itself

     

    Voilá: an array with all "other" instances of a dialog alias' dialog type.

     

    Regards,

     

    Manfred