Jump to content

Three easy questions about AutoIt


Recommended Posts

On my work we have developed a large Server/Client system in Delphi. Apart from the manual testing we start to automate the testing with DUnit. But I feel I sometimes want to simulate a user making input in the program. And here AutoIt come in. So I have some questions about it, propably easy:)

1. One problem is that it is hard to know where a button is placed on a form.

Can AutoIt find a button from the caption or some other unique properties?

2. Can AutoIt inspect a grid and determine if it contains a certain value?

3. Can AutoIt press a button on the client that then waits for answer from the server some time. It can be

5 - 40 seconds and then continue when the client get answer from the server? My question is can AutoIt be notified some way when the client continued? It's not enough to sleep some time in the script.

If it is possible to solve this issues with AutoIt I would be very satisfied:)

Regards Roland Bengtsson

Link to comment
Share on other sites

The answer is most probably.

If you use things like ControlGetText() ControlGetPos() ControlClick() there are loads more to try.

Use the Au3info tool to get Control ID's from your program.

If it is a webpage that the user would use then check out ie.au3 UDF

Link to comment
Share on other sites

Thanks I will check that.

The answer is most probably.

If you use things like ControlGetText() ControlGetPos() ControlClick() there are loads more to try.

Use the Au3info tool to get Control ID's from your program.

If it is a webpage that the user would use then check out ie.au3 UDF

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