Athos Posted July 5, 2012 Share Posted July 5, 2012 Hi guys, thanks in large part to your help I have successfully finished completing the automation I was working on using autoit. I'm now at the stage where I have to make some big design decisions regarding building a gui to interact with my script.My script right now is about 1000 lines of code, although I think I can cut it down to about 600 once I completely rework the code. But my point is thats a lot of code in one single script right now. My next step is to write a gui so that I can specify the number of times to run the test, and to assign certain variables I need to in the script (like how long to set sleeps and stuff).So I know that autoit can be used to build automation scripts, and build guis, but is it wise to combine these two things into a single script, or it a better design practice to have the gui script wrap around the automation?Thanks guys,PS: I wasn't sure if I should post this in the GUI forum or the general forum. I went with general because I feel this a question about design and not about technical issues. Link to comment Share on other sites More sharing options...
Zedna Posted July 5, 2012 Share Posted July 5, 2012 There is no problem coding GUI and automation in one script. You should use Func ... EndFunc to do your code elegant and you can use your own include files to split big projects to more pieces. Resources UDF ResourcesEx UDF AutoIt Forum Search 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