Last active
December 25, 2015 07:19
-
-
Save leviwilson/6938837 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main_form = UIA.find_by_id('MainFormWindow') | |
main_form.children # => [...] array of 22 child elements | |
main_form.children.find {|e| e.name == 'DropDown List'}.children.map(&:name) # => ['Apple', 'Orange', 'Banana'] | |
main_form.children.first.click |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment