public void MTLegalEntity_SearchingFullName() { storeResults = true; searchTerm = Test.extRef; legEnt = PO_Dashboard.GoToLegalEntities(); legEnt.SearchForLegalEntity(searchTerm); Util.CheckIfTextNotPresented(Test.extRef); Test.result = "Passed"; }
public void LegalEntity_SearchingEndsWithAsterisk() { storeResults = true; searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*"; legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntity(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void LegalEntity_SearchingEndsAndStartsWithAsterisk() { storeResults = true; string substracted = "*" + Test.extRef.Substring(1); searchTerm = substracted.Remove(substracted.Length - 2) + "*"; legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntity(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void LegalEntity_SearchingStartsWithAsterisk() { storeResults = true; searchTerm = "*" + Test.extRef.Substring(1); legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntity(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }