dhruv12 Posted October 14, 2012 Posted October 14, 2012 Please help me in my small doubt.. I wanted to find whether a button is enabled or disabled in an external application, but the Autoit window info tool is only getting the properties of the outside window(frame) and not recognizing the inside controls within the window. Without knowing the control Id for this button on which I wanted to perform operation, I cannot proceed with my script. Can someone please help me by guiding what to do in situations where the Autoit window info tool is not giving sufficient information about the controls.
caleb41610 Posted October 14, 2012 Posted October 14, 2012 You'll need to provide more information probably. Multi-Connection TCP Server
dhruv12 Posted October 14, 2012 Author Posted October 14, 2012 Please find the screenshot attached:C:/Users/dhruv/Desktop/script.pngC:UsersdhruvDesktopscript.png
FireFox Posted October 14, 2012 Posted October 14, 2012 Please find the screenshot attached:C:/Users/dhruv/Desktop/script.pngC:UsersdhruvDesktopscript.pngHuh... you should attach them in the way we think (or upload them on a website), we are not going to get them through your computer.
dhruv12 Posted October 14, 2012 Author Posted October 14, 2012 Sorry for that ..posting for first time.. anyway..I am not able to paste the screenshot here so explaining: Please find below the information shown by Autoit info tool. >>>> Window <<<< Title: Primavera Timesheets [rgv07541] Class: SunAwtFrame Position: 0, 0 Size: 1364, 756 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x00070480 >>>> Control <<<< Class: SunAwtCanvas Instance: 1 ClassnameNN: SunAwtCanvas1 Name: Advanced (Class): [CLASS:SunAwtCanvas; INSTANCE:1] ID: Text: Position: 0, 0 Size: 1348, 718 ControlClick Coords: 988, 79 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x0007048E >>>> Mouse <<<< Position: 996, 109 Cursor ID: 2 Color: 0xF7F3F7 >>>> StatusBar <<<< Autoit window info tool is showing the class for frame only when I am hovering cursor on the button inside the window of the application. Not getting the information about the button control i.e that is the info tool is only getting the properties of the outer frame instead of getting the properties of buttons inside the window. Please guide in accessing the properties of the button control.
dhruv12 Posted October 15, 2012 Author Posted October 15, 2012 The GUI is made in JAVA. The Autoit info window does'nt recognize the java controls. Do we have to install and include some java libraries for this to work? On searching google.. I found that Java Ferret can be used for recognizing controls in java. Doers anybody has any information on how to proceed with this?
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