Question #270553 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270553

    Status: Answered => Solved

domocoma confirmed that the question is solved:
Thank you for the quick reply, RaiMan. I don't know how to handle the
exit codes in C# as I'm rather new to all of this in general, but your
examples gave me a great idea, to use:

try:
    # the code that might fail with an exception
except:
    App.close("Firefox")

This will kill Firefox and cause Visual Studio to throw an exception
when trying to close the webdriver, making the test fail.

Thank you!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to