鼠标点击无法使用
如图 鼠标点击使用就报错,麻烦大佬帮忙看看报错原因
—————————— 运行开始: 2021-05-11 17:39:55.928 ——————————
“C:/Program Files/ISRPA/Studio-X64/../Python/pythons.exe” -z LUlTRUFSQ0gsMTkyMToxNzozOSojIyowNTo1NTo5Mjc6MTEsVzAyc2RL “C:/Users/admin/Documents/RPA/Project/NewProject2\codes\Main.py” -p NewProject2
—————————— BeginPython: 2021-05-11 17:39:56,539 ——————————
[2021-05-11 17:39:56,612] [C:/Users/admin/Documents/RPA/Project/NewProject2/codes/Main.py] - [Main] [鼠标点击] [SNTag:202105111658225587] []
[2021-05-11 17:39:56,613] [lib/ubpa/iwin.pyd] - do_win_activate :[桌面 1]
[2021-05-11 17:40:06,646] [lib/ubpa/iwin.pyd] - do_win_activate error:[桌面 1]
Traceback (most recent call last):
File “C:/Users/admin/Documents/RPA/Project/NewProject2\codes\Main.py”, line 104, in
File “C:/Users/admin/Documents/RPA/Project/NewProject2\codes\Main.py”, line 56, in Main
File “iautomation.py”, line 55, in iautomation.alternative_thread_mode.wrapper
File “iautomation.py”, line 386, in iautomation.do_click
File “iautomation.py”, line 355, in iautomation.do_click
File “iwin.py”, line 70, in iwin.do_win_activate
File “iwin.py”, line 67, in iwin.do_win_activate
WinNotFoundError: do_win_activate error:[桌面 1]
运行异常
激活桌面 1 这个窗口失败,激活不了窗口就无法点击,另外,一般打开浏览器都是使用【网站】组件和【打开浏览器】组件。