steamace1 Posted September 17, 2018 Share Posted September 17, 2018 Hello all, I am trying to automate a form on SAP on a server without scripting enabled. Control info: >>>> Window <<<< Title: Enter Time Ticket for Production Order Class: SAP_FRONTEND_SESSION Position: 261, 44 Size: 1549, 958 Style: 0x160F0000 ExStyle: 0x00000110 Handle: 0x000000000004140A >>>> Control <<<< Class: Afx:71300000:8:00010005:00000010:00000000 Instance: 1 ClassnameNN: Afx:71300000:8:00010005:00000010:000000001 Name: Advanced (Class): [CLASS:Afx:71300000:8:00010005:00000010:00000000; INSTANCE:1] ID: 59393 Text: Position: 0, 881 Size: 1495, 28 ControlClick Coords: 365, 10 Style: 0x56000010 ExStyle: 0x00000000 Handle: 0x0000000000101338 the control visible text I am looking to monitor is: >>>> Visible Text <<<< Custom Container Control Container when it changes to: >>>> Visible Text <<<< User interface predefined, because there is no definition in Customizing Custom Container Control Container How can I tell my script to run only after the text has changed? Link to comment Share on other sites More sharing options...
jdelaney Posted September 18, 2018 Share Posted September 18, 2018 Loop with ControlGetText steamace1 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
junkew Posted September 18, 2018 Share Posted September 18, 2018 Check uiautomation eventhandlers there are also propertychanged event handlers. Reachable thru faq31 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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