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