Forum Discussion

zwang's avatar
zwang
Copper Contributor
Aug 01, 2019

How to use FindFirst() method if I already know the name of the element

I am using IUIAutomation interface of COM to write an Automation Client Application to automate a VFP (Visual FoxPro) app.  My question is, since I already know the name of a UI element, if and how I can directly use FindFirst() method of IUIAutomationElement interface to identify the UI element, rather than going through the Automation Tree, such as starting from the root element which is desktop.

 

Look forward to your help!

No RepliesBe the first to reply

Resources