Jump to content

Working with MDI windows


Recommended Posts

I am currently working on automating testing an MDI application, and I am having trouble getting to grips with the child windows (as opposed to the application frame itself, and dialog boxes, which I can work with fine).

I'm relatively new to AutoIT having only been learning and working with it for a couple of weeks. I found that functions like WinActivate, WinWaitActive and ControlGetHandle don't work if you are wanting to bring a child window into focus. I tried googling and searching for a solution, the only one that I found to try was to try:

AutoItSetOption("WinSearchChildren", 1)

but this had no effect.

Is anyone able to give me any tips or point me in the right direction (any tutorials on this subject? haven't been able to find any so far) then it would be most appreciated :D

Thanks :D

Link to comment
Share on other sites

  • 5 months later...

I am currently working on automating testing an MDI application, and I am having trouble getting to grips with the child windows (as opposed to the application frame itself, and dialog boxes, which I can work with fine).

I'm relatively new to AutoIT having only been learning and working with it for a couple of weeks. I found that functions like WinActivate, WinWaitActive and ControlGetHandle don't work if you are wanting to bring a child window into focus. I tried googling and searching for a solution, the only one that I found to try was to try:

AutoItSetOption("WinSearchChildren", 1)

but this had no effect.

Is anyone able to give me any tips or point me in the right direction (any tutorials on this subject? haven't been able to find any so far) then it would be most appreciated :)

Thanks ;)

Can you give a small example of a case where what you expect to happen dopesn't?
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...