public void BICCode_SearchingEndsWithAsteriskByBicCode() { storeResults = true; searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*"; PO_BICPopUp bic = new PO_BICPopUp(); bic.SearchBicCodeByBicCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void BICCode_SearchingEndsAndStartsWithAsteriskByBicCode() { storeResults = true; string substracted = "*" + Test.extRef.Substring(1); searchTerm = substracted.Remove(substracted.Length - 2) + "*"; PO_BICPopUp bic = new PO_BICPopUp(); bic.SearchBicCodeByBicCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void BICCode_SearchingFullNameByBicCode() { storeResults = true; searchTerm = Test.extRef; PO_BICPopUp bic = new PO_BICPopUp(); bic.SearchBicCodeByBicCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void BICCode_SearchingStartsWithAsteriskByBicCode() { storeResults = true; searchTerm = "*" + Test.extRef.Substring(1); PO_BICPopUp bic = new PO_BICPopUp(); bic.SearchBicCodeByBicCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }