alpha13m
6 years agoOccasional Contributor
Keyword handling exeption
Hello,
I have created a script macro in delphi and several keyword witch work with an exe, i would like to manage error when trying to add data already existing in app.
ex : windows add tiers "toto" > Error already existing
I ve tried Try catch but not catching anything, script crash and stop no action further.
Normaly i would get result := false with an mail send procedure et run another tasks.
Do you have any idea?
Thanks for youre answers, i finally manage this case with try catch and if object exist in the keywordTests
If we don't find this windows the action continue and finish action creation, else if windows show up catch error return false and send mail.