public void ATC9857_CRMRBSClaimsUserCannotTouchBLTR() { string requestType = "Bond Lodgement"; //Login as RBS Claims Officer user role. User user = this.environment.GetUser(SecurityRole.RBSClaimsOfficer); new LoginDialog().Login(user.Id, user.Password); //Navigate to: Rental Bond Services > Tenancy Requests HomePage homePage = new HomePage(driver); homePage.HoverCRMRibbonTab(); homePage.ClickRBSRibbonButton(); homePage.HoverRBSRibbonTab(); homePage.ClickRtaTenancyRequestRibbonButton(); TenancyRequestsSearchPage tenancyRequestSearchPage = new TenancyRequestsSearchPage(driver); //Click [+NEW] button. tenancyRequestSearchPage.ClickNewTenancyRequestButton(); TenancyRequestPage tenancyRequestPage = new TenancyRequestPage(driver); tenancyRequestPage.ClickPageTitle(); //Inspect {Type} field dropdown values. //Assert:Dropdown item "Bond Lodgement" should not be available. Assert.IsFalse(tenancyRequestPage.isRequestType(requestType), "We expected Request Type: " + requestType + ", to not be in the list but we found it."); }