New question #270553 on Sikuli:
https://answers.launchpad.net/sikuli/+question/270553
In some of our Selenium C# tests, I added Sikuli to interact with certain
things, like Flash, or saving and moving files outside of the browser.
I'm invoking Sikuli like this:
public void mysikuliscript()
{
Process process = new Process();
ProcessStartInfo startInfo = new
System.Diagnostics.ProcessStartInfo();
startInfo.FileName =
@"C:\\SikuliX\\BatchFiles\\mysikuliscript.bat";
process.StartInfo = startInfo;
process.Start();
process.WaitForExit();
}
Sometimes the Sikuli script will fail, usually with a FindFailed error, but
this of course won't affect the C# test to say "Fail" (because it's only
starting the Sikuli script and waiting for it to finish). Is there a way I can
capture that I have an error, and then pass that back to C#?
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp