jangiloh Posted February 24, 2015 Share Posted February 24, 2015 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? Link to comment Share on other sites More sharing options...
JohnOne Posted February 24, 2015 Share Posted February 24, 2015 What is the program? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jangiloh Posted February 24, 2015 Author Share Posted February 24, 2015 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? Link to comment Share on other sites More sharing options...
caramen Posted February 24, 2015 Share Posted February 24, 2015 (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 February 24, 2015 by caramen jangiloh 1 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 Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
JohnOne Posted February 24, 2015 Share Posted February 24, 2015 .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. jangiloh 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Solution jangiloh Posted February 25, 2015 Author Solution Share Posted February 25, 2015 .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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now