RomanY Posted January 17, 2018 Share Posted January 17, 2018 (edited) Hi all, I have simple question and can not find answer on it. I am working with WPF application and I want to automate it with Autoit. For now I found Inspect.exe tool which gives me all wpf controls, but how do I can use that controls to click some buttons or dropdown list? For example I have such a controls AutomationId: "comboArrayType" or Name: "_Submit" Which autoit command can I use to handle this? Thanks and Regards, Roman Y Edited January 17, 2018 by RomanY Link to comment Share on other sites More sharing options...
Danp2 Posted January 18, 2018 Share Posted January 18, 2018 Have you reviewed this thread? Earthshine 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
jdelaney Posted January 18, 2018 Share Posted January 18, 2018 (edited) Use this tool, and output the 'control' tab back here... "C:\Program Files (x86)\AutoIt3\Au3Info.exe" Assuming your control actually is a combo, you can use these functions: ControlCommand Or one of they many: _GUICtrlComboBoxEx_* functions...one such example: _GUICtrlComboBoxEx_SetCurSel Edit: oops, not standard control...nevermind Edited January 18, 2018 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now