I have written a testscript with an input-file where the control names, window names, etc. are quoted. Furthermore I have defined GUI-Maps and the parameter in the input file are defined according to the GUI-Maps. Now I want to add an exception handling if the test case could not be executed correctly. When the exception occurs I want to create a screen shot of the screen and go on with the next test case.
My input file looks like this (the lines are read in and are separated and the the commands like menu_select_item are defined for this parameter in the test script):
[TC 1]
Main;No;Button;buttonPress
...
[TC 2]
...
Could anyone give me some explanations how I can define that?