JMBurnette2 Posted July 23, 2014 Share Posted July 23, 2014 Hello All! I’ve been running into a couple of issues automating user entry on a website. It appears that most of the forms and controls on the page are ThunderRT6 frames/controls and the code I usually use isn’t working. I need to select an option button and set the value in a combo box. Does anyone know how to access and manipulate ThunderRT6 Controls? The option button summary from the au3Info tool is: >>>> Window <<<< Title: Arris - Work Order Creator - Windows Internet Explorer Class: IEFrame Position: 88, 41 Size: 993, 748 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x001B0F2C >>>> Control <<<< Class: ThunderRT6Frame Instance: 3 ClassnameNN: ThunderRT6Frame3 Name: Advanced (Class): [CLASS:ThunderRT6Frame; INSTANCE:3] ID: 9 Text: Position: 164, 306 Size: 225, 81 ControlClick Coords: 95, 33 Style: 0x56010007 ExStyle: 0x00000000 Handle: 0x006E09F8 There is the “Job Duration in Minutes” option that I need to select. >>>> Control <<<< Class: ThunderRT6OptionButton Instance: 1 ClassnameNN: ThunderRT6OptionButton1 Name: Advanced (Class): [CLASS:ThunderRT6OptionButton; INSTANCE:1] ID: 11 Text: Job Duration in Minutes Position: 172, 476 Size: 129, 33 ControlClick Coords: 40, 16 Style: 0x54002004 ExStyle: 0x00000000 Handle: 0x00950C1E The combo box’s summary is: >>>> Window <<<< Title: Arris - Work Order Creator - Windows Internet Explorer Class: IEFrame Position: 452, 33 Size: 993, 748 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x001B0F2C >>>> Control <<<< Class: Edit Instance: 4 ClassnameNN: Edit4 Name: Advanced (Class): [CLASS:Edit; INSTANCE:4] ID: 1001 Text: Position: 168, 422 Size: 199, 18 ControlClick Coords: 45, 8 Style: 0x50000380 ExStyle: 0x00000000 Handle: 0x00E10C4E With this one it’s strange. I can use ControlSend to enter a string into the dropdown window, but it disappears after it loses focus. Any ideas? Thanks for any help you can give! Mike Link to comment Share on other sites More sharing options...
junkew Posted July 23, 2014 Share Posted July 23, 2014 check example section thread on iuiautomation maybe it reveals more information with simplespy and if so you can use the functions in that udf 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