Jump to content

Autoit Window info tool not recognizing controls in an external application


dhruv12
 Share

Recommended Posts

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.

Link to comment
Share on other sites

Please find the screenshot attached:

C:/Users/dhruv/Desktop/script.pngC:UsersdhruvDesktopscript.png

Huh... 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.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...