When to use functions vs scripts?
Sometimes after I complete a script I wonder if maybe it should have just been a function instead. Currently, my functions mostly consist of error handling routines or some common task like file_open(filename).
I have some scripts that that do little more than navigate to a certain part of the application under test. I wonder if I should make them functions instead of small scripts.
I'd like to know how other winrunner users are breaking down their scripts.