Jump to content
Sign in to follow this  
BelieverofAutoIt

Specification of ControlClick

Recommended Posts

BelieverofAutoIt

I cannot get controll ID by using Autoit3 windows info tool, the items are blank.

But I can get it by using UISpy tool. And I used ControlClick by using the information that I got using UISpy.

But no execute Automation.

Is it impossible to execute automation?

Share this post


Link to post
Share on other sites
dufran3

What program is it that you are working with? If it is Java-based...AutoIt doesn't support it.

Edited by dufran3

Share this post


Link to post
Share on other sites
BelieverofAutoIt

Dear all members

Thanks for reply.

It's very simple that I was doing.

I try to experiment whether AutoIt can be used or not for Apprication Test automatically.

Source code as follows:

ControlFocus("MainWindow","","button1")

ControlClick("MainWindow","","button1")

Only two lines. "button1" is control ID gotten by UISpy. This ID cannot be gotten by Autoit3 Info.

The sample UI was created by VS2010. Very simple.

post-64080-0-74579900-1305098962_thumb.j

Share this post


Link to post
Share on other sites
BelieverofAutoIt

wakillon

I didn't know Control Viewer. This tools is useful, I think.

I tried it.

But I could not get the informations. I disappointed.

UISpy is OK. Please look at the attached images.

Though It must not be problem because of standard Microsoft controls.

Why?

Please give me answer.

post-64080-0-99213400-1305104457_thumb.j

post-64080-0-54483000-1305104472_thumb.j

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.