NathanMaha Posted July 5, 2021 Posted July 5, 2021 I'm trying to automate some entry form using a windows application Something like this I see that each text box is identified using some id, using the Finder Tool. But I do not know how to reference them in script. For e.g. I want to set the Patient ID text field as "ABCD" ... and like that for all the text boxes in that window I tried to record using recorder. But all of them are mouse co-ordinates and it didn't really work well when I played. Is there a way to identify all the objects and edit them using script in AutoIT. I'm new to this UI automation.
Luke94 Posted July 5, 2021 Posted July 5, 2021 Check out the AutoIt Window Information Tool. You can use it to get the Control ID of each control as well as various other information. You can then use ControlGetHandle to get the handle of each control. Then use ControlSetText to set the text of the control.
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