Beispiel #1
0
 public void NavigateToProductTypeDetailsPageBySearchInput(int ptn)
 {
     InputSearchProductTypes.ClearAndEnterText(ptn.ToString());
     BtnSearchMagGlass.Click();
     WaitForAjax();
     Console.WriteLine("Navigated to detail page using the search input for ptn =" + ptn);
 }
Beispiel #2
0
 public void MerchProductTypesTableFilterTest()
 {
     InputSearchProductTypes.ClearAndEnterText("Mug");
     BtnSearchMagGlass.Click();
     WaitForAjax();
     TableContainerProductTypes.Verify();
     InputSearchProductTypes.ClearAndEnterText("NoTableTest");
     BtnSearchMagGlass.Click();
     WaitForAjax();
     TableContainerProductTypes.Verify();
     InputSearchProductTypes.ClearAndEnterText("Shirt");
     BtnSearchMagGlass.Click();
     WaitForAjax();
     Console.WriteLine("Verified search input and re-tested table container");
 }