Sign in to follow this  
Followers 0
NBenitus

Get Text Field value in application

2 posts in this topic

Hi all,

I just started using AutoIT and this is my first post here, so I am sorry in advance if I am posting at the wrong place or if it is a beginner's question. I did search the forums, the web and the help files before posting. Maybe I just don't know where exactly to search.

So my problem is that I am writing some automation tests for my software. One of my test consists of opening the application, then reading the value of a text field. The problem is that I don't know how to get that text field value.

The code I use to get access to the text field is "ControlClick("User Preferences","", "[iD:5433]","left",1)". I know how to write in that text field, but not how to read from it. Is there an easy way to access the value of the field with ID 5433 ?

Thanks in advance,

B.

Share this post


Link to post
Share on other sites



Have you tried ControlGetText?

That sounds good :). I will try tomorrow morning. Thanks a lot :party:.

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