Sign in to follow this  
Followers 0
Sambhaji

How to script if the controls in the window are not identified.

2 posts in this topic

Hi all,

I am new to AutoIT. Working on scripting a desktop application using AutoIT.

The application has frames, treeviews etc. Using the Finder tool (from the AutoIT info dialog) I am not able to

identify the elements.

Let me explain more clearly..

1. I invoke an application from the program files.

2. In the application window, in a pane, i need to select and expand a particular folder name displayed in treeview.

3. Then I select some (say xyz) value in it .

4. In the right side pane there is a list view which displays some items.

5. I need to verify if a particular item exists in it.

6. If not then i need to add the item using right click add operation on the folder selected above.

Could you please help me with this?

I am facing similar prob for an internal site for which i need to do the scripting.

Share this post


Link to post
Share on other sites



Hi all,

I am new to AutoIT. Working on scripting a desktop application using AutoIT.

The application has frames, treeviews etc. Using the Finder tool (from the AutoIT info dialog) I am not able to

identify the elements.

Let me explain more clearly..

1. I invoke an application from the program files.

2. In the application window, in a pane, i need to select and expand a particular folder name displayed in treeview.

3. Then I select some (say xyz) value in it .

4. In the right side pane there is a list view which displays some items.

5. I need to verify if a particular item exists in it.

6. If not then i need to add the item using right click add operation on the folder selected above.

Could you please help me with this?

I am facing similar prob for an internal site for which i need to do the scripting.

There is no magic in AutoIt, it uses the standard Windows APIs to access controls drawn them. When an app was compiled with some other library of APIs, or if the code created custom controls, then AutoIt can't use them.

Controls in a Flash app are a good example. The API to pass external messages to/from Flash is not available, and the controls are owner-drawn by Flash executables, not the Windows APIs. There is nothing AutoIt can do with that.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
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
Sign in to follow this  
Followers 0