public void BD_ValidateCreationOfNewPharmacyFormualry(String browserName) { Setup(browserName); test = extent.CreateTest(validStrings.GetCreatePharmacyStart()); homePage = new BDHomePage(driver); pharm_1 = new Pharmacy(driver); facility_1 = new Facility(driver); homePage.LaunchingBDWebsite(dataDriven.GetUserName(), dataDriven.GetUserPassword()); test.Log(Status.Info, validStrings.GetLaunching()); facility_1.ImpersonateIDN(dataDriven.GetIDNName()); test.Log(Status.Info, validStrings.GetImpersonate()); pharm_1.NavigateToPharmacyFormualries(); test.Log(Status.Info, validStrings.GetpharmacyNavigation()); pharm_1.CreateNewPharmacyFormualry(dataDriven.GetPharmacyFormularyName(), dataDriven.GetPharmacyFormularyID(), dataDriven.GetPFvendor(), dataDriven.GetFacilityName()); test.Log(Status.Info, validStrings.GetpharmacycreationStatus()); Capture(validStrings.GetPFscreenshotName()); test.Log(Status.Info, validStrings.GetconfirmScreenshot()); }