Jump to content

getting text from a window


Recommended Posts

Hi ,

I am new to AutoIt. I am using it to automate an installer. I had used QTP(testing tool ) to automate it and then switched to Auotit.

I want to get the text from the window ( installer ) and get the user name and password.

I tried using - WinGetText, ControlGetText functions.

The installer is not being recognized by the AutoIT Window Info and i am getting only the title name and not any other information such as id , text etc. the window is getting recognized as a whole window and is not recognizing any individual objects on the installer such as the buttons , text etc.

My script -

$text = WinGetText("Title Name","")

MsgBox(0, "Text read was:", $text)

Sleep(400)

Thanks

Autootua

Link to comment
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
 Share

  • Recently Browsing   0 members

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