← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #291572]: "FindFailed" popups for cmd.exe batch files

 

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

Description changed to:
I am running a batch of Sikuli scripts* using cmd.exe on a
separate/dedicated computer (so won't be watching for failures).

I would like to know if/when a script fails.

Is there a way to either force cmd.exe or runsikulix.cmd to create a
popup on Failure?

I know I could go the opposite route- and have successful scripts
popup('Script Name Success')- but can't figure out how to have the popup
triggered by a failure, instead.

Thanks!

*(Also, no idea if I'm running the batch "correctly," just copying and
pasting a list like the following from Notepad into cmd.exe:)

start/i/b/wait c:\Sikuli\runsikulix.cmd -r c:\Sikuli\Tests\Account_Alerts.sikuli
start/i/b/wait c:\Sikuli\runsikulix.cmd -r c:\Sikuli\Tests\Add_Payment_Source.sikuli
start/i/b/wait c:\Sikuli\runsikulix.cmd -r c:\Sikuli\Tests\Autopay_Enroll.sikuli
start/i/b/wait c:\Sikuli\runsikulix.cmd -r c:\Sikuli\Tests\Card_Activation_Form.sikuli
start/i/b/wait c:\Sikuli\runsikulix.cmd -r c:\Sikuli\Tests\DAC_Doc_Request.sikuli
ECHO Ran All Scripts

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.