Bero Posted May 20, 2006 Share Posted May 20, 2006 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 More sharing options...
ChrisL Posted May 20, 2006 Share Posted May 20, 2006 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Bero Posted May 20, 2006 Author Share Posted May 20, 2006 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 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