6 Answers, 1 is accepted
Please make sure that you set the RadDock.EnableCodedUITests property to true. In case you are using Visual Studio 2015 please check if it has Update 1 installed. I am also attaching my test project performing a recording of closing and auto-hiding windows in the dock control.
In case your issue persists, please let me know with details about the test you are trying to record. Screenshots showing the error on your end would also help.
I hope this helps. Let me know if you have questions.
First of all Thankyou Hristo for your reply.
My problem is only when window is in Docked In state , in floating state,I'm able to access window's close button or autohide buttons. So when window is docked in state can I get close and autohide buttons?
When the window is floating you can use the spy tool and detect the buttons in the title bar of the window. In Docked state, however, the window does not have a title bar and these buttons are not accessible. If you make a recording, you will still be able to detect click and the returned element is the document tab strip. In this setup, the close and auto-hide buttons are not supported because they are not exposed as MSAA children.
I hope this information was useful. Let me know if you have other questions.
I had this kind of idea but was not sure and its clear to me now. Thanks!