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

pywinauto tree dump is different from Inspect despite same/similar settings #1383

Open
a-r-r-o-w opened this issue Mar 12, 2024 · 0 comments

Comments

@a-r-r-o-w
Copy link

Expected Behavior

Firstly, awesome work building this amazing wrapper around the Windows API! It has helped save me a lot of time once I found out about it from a colleague. Thank you.

As part of something I'm working on, below is what the tree view looks like with Inspect:

image

Actual Behavior

When viewing the tree via dump_tree method using the UIA backend, I don't see the same results as above.

image

The above is one instance of a mismatch occurring between Inspect output and pywinauto output, but there are many more such instances. I'd appreciate guidance on how to get the same/similar element tree if it can be done in an easy way. I believe my setup with pywinauto isn't too different from that of Inspect to the best of my knowledge.

Steps to Reproduce the Problem

Short Example of Code to Demonstrate the Problem

Specifications

  • Pywinauto version: Source (installed from astpi branch)
  • Python version and bitness: 3.12.2 (64-bit)
  • Platform and OS: Windows 10/11 (Errors on both)

@vasily-v-ryabov @airelil

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