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_SearchingEndsWithAsteriskByCompanyCode() { storeResults = true; searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*"; legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntityByCompanyCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void LegalEntity_SearchingEndsAndStartsWithAsteriskByCompanyCode() { storeResults = true; string substracted = "*" + Test.extRef.Substring(1); searchTerm = substracted.Remove(substracted.Length - 2) + "*"; legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntityByCompanyCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }
public void SetUp() { Test.SetTestName(TestContext); Test.InitiateBrowser(); PO_LoginPage login = new PO_LoginPage(); login.LoginWithTenantA_EMIRUser(); bicCode = EmirUtils.CreateBicCode(); legEnt = PO_Dashboard.GoToLegalEntities(); legEnt.CreateLegalEntity(bicCode) .Save(); legEnt.VerifyLegalEntityCreated(); legEnt.Close(); PO_UserAccountButton.LogOff(); login.LoginWithTenantB_EMIRUser01(); }
public void SetUp() { Test.SetTestName(TestContext); Test.LoginAsSystemUser(); bicCode = EmirUtils.CreateBicCode(); legEnt = PO_Dashboard.GoToLegalEntities(); legEnt.CreateLegalEntity(bicCode) .Save(); legEnt.VerifyLegalEntityCreated(); }
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"; }
public void LegalEntity_SearchingFullNameByCompanyCode() { storeResults = true; searchTerm = Test.extRef; legEnt = new PO_LegalEntities(); legEnt.SearchForLegalEntityByCompanyCode(searchTerm); Util.CheckIfTextPresented(Test.extRef); Test.result = "Passed"; }