public static void CreateNewOrganiaztionAction() { SystemAdminOrganization.OrganizationNavigation(); WebDriverUtils.ClickAction(OrganizationPageObjects.CreateNewOffice()); }
public void OrganizationNavigationTest() { try { SystemAdminOrganization.OrganizationNavigation(); Assert.AreEqual(TestEnvironment.LoadJson().Organization.LinkLanded, WebDriverUtils.TextChecker(OrganizationPageObjects.OrganizationLink())); log.Info(System.Reflection.MethodBase.GetCurrentMethod()); log.Info(LoginPageObjects.SuccessMessage()); } catch (Exception ex) { log.Error(System.Reflection.MethodBase.GetCurrentMethod()); log.Error(LoginPageObjects.FailedMessage() + ex.Message); Assert.Fail(ex.Message); } }
public void OrganizationCreateNewTest() { try { SystemAdminOrganizationCreateNew.CreateNewOrganiaztionAction(); Assert.AreEqual(TestEnvironment.LoadJson().Organization.CreateOrg, WebDriverUtils.TextChecker(OrganizationPageObjects.CreateOfficeHeader())); log.Info(System.Reflection.MethodBase.GetCurrentMethod()); log.Info(LoginPageObjects.SuccessMessage()); } catch (Exception ex) { log.Error(System.Reflection.MethodBase.GetCurrentMethod()); log.Error(LoginPageObjects.FailedMessage() + ex.Message); Assert.Fail(ex.Message); } }
public static void OrganizationNavigation() { LoginAction.Login(); WebDriverUtils.ClickAction(OrganizationPageObjects.SystemAdminLink()); }