public void checkDefaultvalues() { test = extent.CreateTest(TestContext.CurrentContext.Test.Name, "check Default values and mandatory fields in create user popup message"); var LoginPage = new LoginPage(); var ManageUser = new ManageUsersPage(); LoginPage.Login(LoginPage.UserName, "*****@*****.**", LoginPage.Password, "July012018", LoginPage.LoginInBtn, LoginPage.Last10RequestsTitle); ManageUser.SelectManageUsersTab(); Validations.validateTitle("Manage Users - Chemical Ordering Tool"); ManageUser.CreateNewUserBtn.Click(); BasicMethods.DefaultValue(ManageUser.UserEmailTextBox); BasicMethods.VerifyText(ManageUser.UserRole, "Requester"); BasicMethods.DefaultValue(ManageUser.FirstNameField); BasicMethods.DefaultValue(ManageUser.LastNameField); BasicMethods.CheckBox(ManageUser.IsUserActiveCheckbox); BasicMethods.VerifyText(ManageUser.UserEmailTitle, "Email *"); BasicMethods.VerifyText(ManageUser.UserRoleTitle, "User Role"); BasicMethods.VerifyText(ManageUser.FirstnameTitle, "First Name *"); BasicMethods.VerifyText(ManageUser.LastnameTitle, "Last Name *"); BasicMethods.VerifyText(ManageUser.IsUserActiveTitle, "Is User Active?"); ManageUser.CreateUserCloseBtn.Click(); }