kiko_rua Posted March 23, 2022 Share Posted March 23, 2022 Hello! I have a question. I'm developing a desktop app automation test. I had a problem. I have to click in a menu and click in a submenu for open another window. So, my problem is having access to these menus and going to this new window that will open. What is the keyword that will solution this? Link to comment Share on other sites More sharing options...
ad777 Posted March 23, 2022 Share Posted March 23, 2022 can please post your script,so i can help. iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
BigDaddyO Posted March 23, 2022 Share Posted March 23, 2022 Menu's are either easy, or hard. If it's Easy, you can use WinMenuSelectItem. Otherwise you may need to use iuiautomation Link to comment Share on other sites More sharing options...
kiko_rua Posted March 23, 2022 Author Share Posted March 23, 2022 Link to comment Share on other sites More sharing options...
ad777 Posted March 23, 2022 Share Posted March 23, 2022 @kiko_rua i agree with BidDaddy,you need to use WinMenuSelectItem. iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
kiko_rua Posted March 23, 2022 Author Share Posted March 23, 2022 Didnt Work. Dont pass of this. Didnt select the item 🙁 Link to comment Share on other sites More sharing options...
Nine Posted March 23, 2022 Share Posted March 23, 2022 It is most certainly not a standard menu. You will need to use UIAutomation as far as I can tell... “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) Screen Scraping Link to comment Share on other sites More sharing options...
kiko_rua Posted March 23, 2022 Author Share Posted March 23, 2022 Never used UIAutomation before. Maybe i will try Sikuli Library With WhiteLibrary i can solve this problem but in my project i dont have permission to use that Link to comment Share on other sites More sharing options...
kiko_rua Posted March 24, 2022 Author Share Posted March 24, 2022 Anyone knows a different way using autoIT? Link to comment Share on other sites More sharing options...
Nine Posted March 24, 2022 Share Posted March 24, 2022 You can test with UIASpy.au3 to see if the menu bar is recognized... “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) Screen Scraping Link to comment Share on other sites More sharing options...
kiko_rua Posted March 24, 2022 Author Share Posted March 24, 2022 I try sikuli library but didnt work too The window didnt open Link to comment Share on other sites More sharing options...
kiko_rua Posted March 24, 2022 Author Share Posted March 24, 2022 Just work with white library Link to comment Share on other sites More sharing options...
Earthshine Posted March 24, 2022 Share Posted March 24, 2022 (edited) White IS UIAutomation so yes, you HAVE used it also GitHub - TestStack/White: DEPRECATED - no longer actively maintained The White project lacks maintainers and community activity. As last maintainer, I tried to bring back some life to White but quickly ended up tripping over issues with the old architecture of this project which prevented implementing some features I wanted (eg. UIA3 support). clearly states its UIA Edited March 24, 2022 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Solution kiko_rua Posted March 25, 2022 Author Solution Share Posted March 25, 2022 https://github.com/Omenia/robotframework-whitelibrary That library is different and awesome to use in Test Automation Thank you all. Link to comment Share on other sites More sharing options...
Nine Posted March 25, 2022 Share Posted March 25, 2022 On 3/23/2022 at 3:50 PM, kiko_rua said: With WhiteLibrary i can solve this problem but in my project i dont have permission to use that “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) Screen Scraping 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