Ejemplo n.º 1
0
 public void SearchForCatagoryNameOnAndroidApp()
 {
   try {
     testAppAndroid_ = new iFixit_Android(capabilites.GetAndroidAppDesiredCapability());
     Console.WriteLine("#### should be able to search for 'Acura' on iFixit Android app\n");
     categoryTitle = "Acura";
     Assert.Contains(categoryTitle, testAppAndroid_.GetCategoryTitle());
   }
   finally{
     if(testAppAndroid_ != null) {
       testAppAndroid_.CleanUp();
     }
   }
 }
Ejemplo n.º 2
0
 public void SearchForCatagoryNameOnAndroidApp()
 {
     try
     {
         appTest = new iFixit(driver.CreateAndroidDriver(capabilites.GetAndroidAppDesiredCapability()));
         Console.WriteLine("#### should be able to search for 'Acura' on iFixit Android app\n");
         categoryTitle = "Acura";
         Assert.Contains(categoryTitle, appTest.GetCategoryTitle());
     }
     finally
     {
         if (appTest != null)
         {
             appTest.CleanUp();
         }
     }
 }