03-31-2010 05:57 PM
Anybody has an example of a state machine that uses a ini file to get test sequence?
Yik
03-31-2010 10:44 PM
Anyone? What about all the interesting usage for a ini file?
Yik
04-01-2010 02:53 AM
I haven't come across this idea before but think for a state machine with very fixed operations it could be usefull. This way you could change the order of the states on the fly.
You could possibly use the sections as the states and sections keys to store information about data and the next state conditions.
04-01-2010 02:59 AM
Hm, i wouldn't use a state machine in order to load "sequencing instructions" from an ini file and use those to control the state machine from now on.
I would rather recommend a Queued Message Handler since it is more flexible in "static order of execution which might eventually change".
On a second thought, i would not use an ini file at all but a simple spreadsheet file.....
I use ini files for configuration settings mainly (default values), which can include localization of the UI of appliciations as well.....
hope this helps,
Norbert