Jump to content

Could I handle a lot of Controllers on a program?


Go to solution Solved by jangiloh,

Recommended Posts

Posted

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?

Posted
  On 2/24/2015 at 1:01 AM, JohnOne said:

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?
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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

Posted

.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.

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

Monkey's are, like, natures humans.

  • Solution
Posted
  On 2/24/2015 at 10:52 AM, JohnOne said:

.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.

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
  • Recently Browsing   0 members

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