public void ATC3337_CRMEntityClientConfirmvalidationofABN() { //Login in as role User user = this.environment.GetUser(SecurityRole.SystemAdministrator); new LoginDialog().Login(user.Id, user.Password); HomePage homePage = new HomePage(driver); homePage.HoverCRMRibbonTab(); homePage.ClickClientServicesRibbonButton(); homePage.HoverClientServicesRibbonTab(); homePage.ClickClientsRibbonButton(); ClientsSearchPage clientsSearchPage = new ClientsSearchPage(driver); clientsSearchPage.ClickNewClientButton(); ClientPage clientPage = new ClientPage(driver); clientPage.ClickPageTitle(); clientPage.SetABNACNValue("124324542747"); clientPage.GetABNACNErrorText(); clientPage.SetABNACNValue("7898281890n"); clientPage.GetABNACNErrorText(); clientPage.SetABNACNValue("78982818908"); clientPage.GetABNACNErrorTextNotExist(); clientPage.SetABNACNValue("005249981"); clientPage.GetABNACNErrorTextNotExist(); clientPage.SetARBNValue("123456789"); clientPage.GetARBNErrorText(); clientPage.SetARBNValue("12345678n"); clientPage.GetARBNErrorText(); clientPage.SetARBNValue("005249981"); clientPage.GetARBNErrorTextNotExist(); }