HeWhoLaughedLast Posted December 11, 2006 Share Posted December 11, 2006 Hi, I am using a 3rd party software (designed in VB 6.0). I have written some scripts that take my input test data and through combinations of entries in text boxes and button clicks returns me an answer. These steps are repeated for a large number of sets of data. Very often the software might generate/return an error arising from faulty data etc... My question: Is there a way to track when an error has occured (more a break in the structural flow of the script)? The WinWaitActive calls are not sufficient as the calculation times might vary drastically. I am probably looking for some conceptual advice i.e. how should i structure my script? Is there something out there that does this or something similar? I have thought about (and implemented) looking at the taskmanager for CPU usage but this is handy for my PC only! Any advice is appreciated. Cheers, Link to comment Share on other sites More sharing options...
Josbe Posted December 11, 2006 Share Posted December 11, 2006 Take a look to AdlibEnable. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
HeWhoLaughedLast Posted December 11, 2006 Author Share Posted December 11, 2006 The software that i use can return different error messages (there are upto 121 possible errors) and each error message has a different title in the MsgBox. The AdlibEnable would not solve my problem because I dont know what the title of the error message could be. AdlibEnable would be useful if i knew what it was that I was looking for (or not looking for). I need to check for deviances in the structural flow of my script. Link to comment Share on other sites More sharing options...
HeWhoLaughedLast Posted December 12, 2006 Author Share Posted December 12, 2006 Does anyone have any other suggestions? Any help is appreciated. Thanks 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