Sign in to follow this  
Followers 0
jangiloh

Could I handle a lot of Controllers on a program?

6 posts in this topic

Hello 

I would like to make test scripts for a program.

the program has a lot of controllers.

but I can't find  how to focus on the controllers by autoit.

Could you help me?

Share this post


Link to post
Share on other sites



What is the program?

 

Hello 
 
the program is not open program. 
 
the program based on .net 4.0 framework.
 
I run the sample autoit script.
I can see the activated program by autoit.
although I would like to send a message to a text box controller and send a event to other controller , I can't do.
because I don't know I can access a controller of a program by which function.
 
my script for example
I would like to make a login script for a program
 
the script work like below.
1. autoit run the program.
2. autoit check the program activated
3. autoit send id to A text box controller.
4. autoit send password to B text box controller.
5. autoit send event to C Button Controller.
 
Step 1 :I can run the program by Manually. It's OK.
Step 2 :I already checked
Step 3 :I don't know how to focus to the A controller and send the ID message.
 
Could you help me?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

In general case the forum do not giving a lot of help without a view of your program

Can you provide us screenshot or more info ?

 

You can also check in the helpfile in the index : "control"

and you will learn how to work with controls

Edited by caramen
1 person likes this

Share this post


Link to post
Share on other sites

.Net programs can be problematic, and these type of guessing threads are many.

Since this is a secret app, the onus is on you to try code, and post it along with the results.

First off "Step 3 :I don't know how to focus to the A controller and send the ID message"

Look at ControlSetText in help file and try it.

1 person likes this

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

.Net programs can be problematic, and these type of guessing threads are many.

Since this is a secret app, the onus is on you to try code, and post it along with the results.

First off "Step 3 :I don't know how to focus to the A controller and send the ID message"

Look at ControlSetText in help file and try it.

 

Thank you for your reply.

I will try to do the function.

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