Exemplo n.º 1
0
 internal void QuickSearch()
 {
     SearchProductMenu.Click();
     ResidentialMenu.Click();
     AirConditionersandHeatPumpsMenu.Click();
     HeatPumpsAndHeatPumpCoils.Click();
     VerifyTableResults();
     SearchButton.Click();
     Assert.IsTrue(Utility.SearchResultsTableRowCount() > 1);
 }
Exemplo n.º 2
0
 internal void AdvancedSearch()
 {
     SearchProductMenu.Click();
     ResidentialMenu.Click();
     AirConditionersandHeatPumpsMenu.Click();
     HeatPumpsAndHeatPumpCoils.Click();
     ManufacturerType.SelectByIndex(1);
     SearchButton.Click();
     Assert.IsTrue(Utility.SearchResultsTableRowCount() > 1);
     Utility.DoesFileExist();
     FirstResultInTheTable.Click();
     try
     {
         wait.Until(Driver => Utility.DoesFileExist());
     }
     catch (Exception)
     {
         Assert.Fail("Unable to download the file");
     }
 }