Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application hangs at FindAll in uia_element_info.py #1372

Open
travis-1992 opened this issue Jan 31, 2024 · 0 comments
Open

Application hangs at FindAll in uia_element_info.py #1372

travis-1992 opened this issue Jan 31, 2024 · 0 comments

Comments

@travis-1992
Copy link

Expected Behavior

Can quickly complete script

Actual Behavior

It will take more than 60 seconds to run FindAll of IUIA().root object

Steps to Reproduce the Problem

  1. download and install RingCentral.exe, and login
  2. run a python file with code 'Desktop(backend="uia").windows(title="Taskbar")', it will take more than 60 seconds

Short Example of Code to Demonstrate the Problem

from pywinauto import Desktop, mouse, Application, keyboard
import time

startTime = time.time()
elem = Desktop(backend="uia").windows(title="Taskbar")
print("Desktop,window function usedTime: ", time.time() - startTime)

Specifications

  • Pywinauto version: 0.6.8
  • Python version and bitness: 3.7.7
  • Platform and OS: Microsoft Windows 10 Pro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant