public void ProductSer_SearchingFullName() { storeResults = true; searchTerm = Test.extRef; PO_ProductContractSeriesPopUp prodCon = new PO_ProductContractSeriesPopUp(); prodCon.SearchForProductSeries(searchTerm+"*"); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void ProductSer_SearchingStartsWithAsterisk() { storeResults = true; searchTerm = "*" + Test.extRef.Substring(1); PO_ProductContractSeriesPopUp prodCon = new PO_ProductContractSeriesPopUp(); prodCon.SearchForProductSeries(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void ProductSer_SearchingEndsWithAsterisk() { storeResults = true; searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*"; PO_ProductContractSeriesPopUp prodCon = new PO_ProductContractSeriesPopUp(); prodCon.SearchForProductSeries(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }