kiko_rua Posted March 23, 2022 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?
BigDaddyO Posted March 23, 2022 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
ad777 Posted March 23, 2022 Posted March 23, 2022 @kiko_rua i agree with BidDaddy,you need to use WinMenuSelectItem. none
kiko_rua Posted March 23, 2022 Author Posted March 23, 2022 Didnt Work. Dont pass of this. Didnt select the item 🙁
Nine Posted March 23, 2022 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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
kiko_rua Posted March 23, 2022 Author 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
kiko_rua Posted March 24, 2022 Author Posted March 24, 2022 Anyone knows a different way using autoIT?
Nine Posted March 24, 2022 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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
kiko_rua Posted March 24, 2022 Author Posted March 24, 2022 I try sikuli library but didnt work too The window didnt open
Earthshine Posted March 24, 2022 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
Solution kiko_rua Posted March 25, 2022 Author Solution Posted March 25, 2022 https://github.com/Omenia/robotframework-whitelibrary That library is different and awesome to use in Test Automation Thank you all.
Nine Posted March 25, 2022 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) 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