8000 Why is Parent an internal property of CruciatusElement? · Issue #89 · 2gis/Winium.Cruciatus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Why is Parent an internal property of CruciatusElement? #89

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

Open
fbrier-beckman opened this issue Aug 11, 2020 · 1 comment
8D2A
Open

Why is Parent an internal property of CruciatusElement? #89

fbrier-beckman opened this issue Aug 11, 2020 · 1 comment

Comments

@fbrier-beckman
Copy link

Making this property public would be useful when traversing up and down a WPF tree.

@fbrier-beckman
Copy link
Author

The title was changed because having access to the AutomationElement, via the Instance property, would be helpful. The use case is to utilize Automation events, such as AddStructureChangedEventHandler(), whose 1st parameter is an AutomationElement. For instance, if a button in my app causes additional structures to be added, how does the test register to know when that happens? In time the Cruciatus framework will be enhanced to wrap automation events, but that does not exist.

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
0