Docker Community Forums

Share and learn in the Docker community.

Can i test Window app via UIAutomation on Windows container?

Hello.

I tried to test how to use UI Automatic test for Windows App during few weeks.
But Windows container dosen’t get element of UI via UIAutomation.

When AutoTest Tool open dialog, Tools try to find elemental on dialog. But it can’t be found.
Does anyone known this issue? I need to help your advise and hope to find solution for this.

------------------------- Log ------------------------------------

Windows.Select File at Dialog (C:\Windows\win.ini) is called
Can not find file open dialog
Error during capture
System.ComponentModel.Win32Exception (0x80004005): The handle is invalid
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize)
at HP.GFriend.Keywords.Windows.GetScreenShot(Rect bound) in