KevinCheng Posted July 4, 2024 Posted July 4, 2024 Hi, Encountered one problem as follows. Unable to get the "Run" button"Class" and "Instance" information on the test tool EMAT.exe GUI which is developed with QT Creator4.6.2 utility. Please help it soon. If we could get the "Run" button"Class" and "Instance" information on the test tool EMAT.exe GUI which is developed with QT Creator4.6.2 utility, we could apply the following two Autoit APIs to simulate automatically click or press the "Run" button on the test tool EMAT.exe GUI in our test tool. //launch strTmp = m_szWorkDir + _T("EMAT_V7.5.0\\EMAT.exe"); lpcwStr = A2CW((LPCSTR)strTmp); if(bSuccess) bSuccess = ((ret = AU3_Run(lpcwStr, L"", SW_SHOWNORMAL)) != 0 ? TRUE : FALSE); //AU3_Run returns zero if fail //run if (bSuccess) bSuccess = ((ret = AU3_ControlClick(L"EMAT", L"", L"[CLASS:Button; INSTANCE:1]", L"left", 1)) != 0 ? TRUE : FALSE);
Nine Posted July 4, 2024 Posted July 4, 2024 Try UIAutomation. Seek for it in this forum. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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