Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
Python-UIAutomation-for-Windows copied to clipboard

Can not move cursor. ButtonControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {Name: '关闭', ControlType: ButtonControl}

Open corei99 opened this issue 4 years ago • 4 comments
trafficstars

when I excuted a demo for notepad,I got an error as below:

image

error info: Can not move cursor. ButtonControl's BoundingRectangle is (0,0,0,0)[0x0]. SearchProperties: {Name: '关闭', ControlType: ButtonControl}

corei99 avatar Aug 18 '21 02:08 corei99

Maybe Notepad window was minimized. It must be showed.

yinkaisheng avatar Sep 26 '21 03:09 yinkaisheng

Check searchDepth = 2 or 3, & yinkasisheng is right.

fordsupr avatar Nov 03 '21 01:11 fordsupr

I also encounter this problem when I click ‘confirm' at the box . How can I solve it?

sayHayi avatar May 15 '23 08:05 sayHayi

I also met this problem, mybe you need refind the element.

gaoxixi317 avatar Apr 18 '24 02:04 gaoxixi317