Manasa Posted May 29, 2017 Share Posted May 29, 2017 Hi, I am new to Autoit tool. I am trying to test a GUI of desktop application built using MFC. While checking the examples, in the calculator we get Id for each button, but the same is not visible in the app I am testing. The following is the information I am getting in the summary >>>> Window <<<< Title: NavikaUI Class: Afx:01360000:8:00010005:00000000:00011969 Position: -8, -8 Size: 1382, 744 Style: 0x15CF8000 ExStyle: 0x00000100 Handle: 0x00031C60 >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): [CLASS:; INSTANCE:] ID: 59419 Text: Position: 0, 0 Size: 1366, 66 ControlClick Coords: 637, 37 Style: 0x56002000 ExStyle: 0x00000000 Handle: 0x00011C94 >>>> Mouse <<<< Position: 645, 67 Cursor ID: 0 Color: 0xBFDBFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Ready Menu Bar >>>> Hidden Text <<<< Please let me know how do I get the Id for each button in the menubar? Or how to send click on the buttons of the menu bar (Ex. Session) ? Link to comment Share on other sites More sharing options...
junkew Posted May 29, 2017 Share Posted May 29, 2017 try simplespy and see FAQ 31 https://www.autoitscript.com/wiki/FAQ for other references FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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