xylian
14 years agoOccasional Contributor
Exception handling problems
Hello
I'm encountering serious issue with exception handling. I'm trying to handle such code fragment (delphi script):
try
Self.objectRefference.Clickzzzzzzz
except
Log.Message('exception caught');
end;
Obviously there is no such method as Clickzzzzzzz - my point is to prevent the test from stoping, but such code fails at this. Test stops, and the except block is not even beeing executed.
I'd appreciate any tips on that.
Regards
I'm encountering serious issue with exception handling. I'm trying to handle such code fragment (delphi script):
try
Self.objectRefference.Clickzzzzzzz
except
Log.Message('exception caught');
end;
Obviously there is no such method as Clickzzzzzzz - my point is to prevent the test from stoping, but such code fails at this. Test stops, and the except block is not even beeing executed.
I'd appreciate any tips on that.
Regards