public void Verify_Enquiry_Reason_Lookup() { var code = SeleniumHelper.GenerateRandomString(3); try { FeatureBee.FeatureBeeLogin.LoginWithFeatureBee(new[] { "Enquiries" }, FeatureBee.FeatureBeeLogin.iSIMSUserType.AdmissionsOfficer); AutomationSugar.NavigateMenu("Lookups", "Admissions", "Enquiry Reason"); //Add new Reason Admission Rejected var marketingSourceTriplet = new LookupTriplet(); var marketingSourcePage = marketingSourceTriplet.AddLookupRow("EnquiryReason"); var marketingSourceRow = marketingSourcePage.TableRow.GetLastRow(); marketingSourceRow.Code = code; marketingSourceRow.Description = string.Format("Selenium Test Entry - {0}", code); marketingSourceRow.DisplayOrder = "999"; marketingSourceRow.IsVisible = true; //Save Reason Admission Rejected record marketingSourcePage.ClickSave(); //Verify success message Assert.AreEqual(true, marketingSourcePage.IsSuccessMessageDisplayed(), "Success message do not display"); } finally { // Tear down PurgeLinkedData.DeleteEnquiryReason(code); } }