public void TestExistsWithSimilarity90AndTimeout5() { if (SikuliAction.Exists(pattern, Similarity90, Timeout5S).IsEmpty) { Report.Error("Nope! It's gone..."); } else { Report.Pass("Yep! It's there..."); } }
public void TestExistsDefault() { if (SikuliAction.Exists(pattern).IsEmpty) { Report.Error("Nope! It's gone..."); } else { Report.Pass("Yep! It's there..."); } }
public void DemoExists() { if (!SikuliAction.Exists(pattern).IsEmpty) { Console.WriteLine("Yep! It's there..."); } else { Console.WriteLine("Nope! It's gone..."); } }