



~ *** Standard code maintainable *** #include "3" AutoItSetOption ( "MustDeclareVars", 1 ) _UIA _setVar ( "oP1", "Title:=.*Microsoft Edge controltype:=UIA_WindowControlTypeId class:=ApplicationFrameWindow" ) Download Microsoft WebDriver - Release 10240 from Official Microsoft Download Center ?- Microsoft Edge _UIA _setVar ( "oP2", "Title:=Microsoft Edge controltype:=UIA_WindowControlTypeId class:=Windows.UI.Core.CoreWindow" ) Microsoft Edge _UIA _setVar ( "oP3", "Title:=Melding controltype:=UIA_ToolBarControlTypeId class:=NotificationBar" ) Melding ~ $oUIElement=_UIA_getObjectByFindAll("Opslaan.mainwindow", "title:=Opslaan ControlType:=UIA_ButtonControlTypeId", $treescope_subtree) _UIA _setVar ( "oUIElement", "Title:=Opslaan controltype:=UIA_ButtonControlTypeId class:=Button" ) ControlType:=UIA_ButtonControlTypeId classname:=Button") ~ Actions split away from logical/technical definition above can come from configfiles _UIA _Action ( "oP1", "highlight" ) _UIA _Action ( "oP1", "setfocus" ) _UIA _Action ( "oP2", "highlight" ) ~ _UIA_Action("oP2","setfocus") ~ _UIA_Action("oP3","highlight") ~ _UIA_Action("oP3","setfocus") _UIA _action ( "oUIElement", "highlight" ) ~_UIA_action("oUIElement","click")
