Forum Discussion

ash10's avatar
ash10
Occasional Contributor
11 years ago

Window getting minimized on click of floating button

I have application which has button in the left most corner of application window, whenevr i try to click the button the application window minimize and I am not able to perform click action.

 

Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("MyButton")["WPFObject"]("Grid", "", 1)["WPFObject"]("Rectangle", "", 2)["Click"]()
Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("Border", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("SecondMouseEnterDetectionArea")["WPFObject"]("Button", "Save", 1)["ClickButton"]()
Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("Border", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("SecondMouseEnterDetectionArea")["WPFObject"]("Button", "Save Project as...", 2)

 

click action on any of them works outside the application window.

can anyone tell what is the reason for this or there is some solution where I can hold on application window

1 Reply

  •  Hi Ashwini,

     

    It's worth recording a short video demonstrating what is going on. You can use Jing - a free screen capture tool for this ( http://www.jingproject.com ). In addition, can you post here the results of the test execution you see in your Test Log.