Window Inside Window

May 9, 2011 at 10:34 PM

 

Hey guys,

I am new to White and currently trying to use it for UI automation. I was struggling to get a child window object inside the main window.


I used MdiChild(..) to locate the the child window as IUIItemContainer insteading of being type Window. As a result, I cannot call Close() or other methods from Window class.

 

Does anyone know how to get a child window as Window type?

 

Thanks,

Bohan

May 10, 2011 at 7:43 AM

Hi

 

cast to Window.

 

Window inherits IUIItemContainer

 

Throndorin