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

Cannot find the automation IDs i.e. auto_id which are displayed after using the dump_tree method. #1362

Open
Srikrishnajntu opened this issue Dec 14, 2023 · 0 comments

Comments

@Srikrishnajntu
Copy link

Expected Behavior

Automation IDs should be displayed in the output from dump_tree method along with other fields such as title,control_type

Actual Behavior

Automation IDs are not displayed in the output from dump_tree method along with other fields such as title,control_type.
These automation IDs are displayed in output from dump_tree in pywinauto 0.6.8 version

Steps to Reproduce the Problem

1.Launch Calculator program
2.at python promptt ,import pywinauto and Application
3.run the dump_tree method

Short Example of Code to Demonstrate the Problem

import pywinauto
from pywinauto import Application
element=pywinauto.findwindows.find_elements(title="Calculator",backend="uia")
app=Application(backend="uia").connect(handle=element[-1].handle,timeout=180)
WIn=app.top_window()
WIn.print_control_identifiers()

Specifications

  • Pywinauto version:0.7
  • Python version and bitness:64 bit
  • Platform and OS:Windows 10 64bit
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