How to access the ContextMenu when there is no Automation ID available, and the Inspect tool can't capture any information? The only available option is to use the visible text 'Full Expand'. #608
Unanswered
prajendira
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am automating a PAC 2021 PDF automation tool. Expanding Tree View: Once I access the detailed results, I encounter multiple nodes with a tree structure, but I am unable to traverse through them. Therefore, by right-clicking on the PDF/UA, I have the option to click 'Full Expand.' However, attempting to do so is unsuccessful as there is no automation ID or any other information available with FlaUIInspect.
I need some help, as I am new to PowerShell and outdated in coding
$dataItems = $treeChildren[0].FindAllChildren($uia.ConditionFactory.ByControlType([FlaUI.Core.Definitions.ControlType]::DataItem))
$menu =$dataItems[0].RightClick() <= This opens the context menu, as you can see in the attached image.
I would greatly appreciate it if someone could help me move forward. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions