public void assertAddedReferral() { test = ReportsHelper.extent.CreateTest("Physician Referral Test"); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickCancel(); commons.clickYes(); statusPanelPageSteps.selectCategoryServices(); statusPanelPageSteps.selectTypePhysicianReferral(); transactionWindowPageSteps.selectHeardSource(); transactionWindowPageSteps.populateFields(); transactionWindowPageSteps.clickFirstRecord(); transactionWindowPageSteps.clickReturn(); transactionWindowPageSteps.populateReferralFields(); transactionWindowPageSteps.clickEndReferralBtn(); transactionWindowPageSteps.clickSendBtn(); transactionWindowPageSteps.clickF12EndCall(); functionMenuPageSteps.selectTransResearch(); childWindowPageSteps.validateAddedRecords("Physician Referral"); statusPanelPageSteps.logOut(); }
public void asMSR() { var testName = "Triage Workflow as MSR"; test = ReportsHelper.extent.CreateTest(testName); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickCancel(); commons.clickYes(); statusPanelPageSteps.selectTypeTriage(); transactionWindowPageSteps.inputInitialTriageFormDetails(); commons.clickOK(); transactionWindowPageSteps.inputFinishinDetailsTriage(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickF12EndCall(); statusPanelPageSteps.logOut(); }
public void asserAddedNewInfo() { test = ReportsHelper.extent.CreateTest("General Info Test"); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.enterServices(); transactionWindowPageSteps.selectReason(); transactionWindowPageSteps.selectClassification(); transactionWindowPageSteps.clickeEndCall(); transactionWindowPageSteps.clickF12EndCall(); functionMenuPageSteps.selectTransResearch(); childWindowPageSteps.validateAddedRecords("General Info"); statusPanelPageSteps.logOut(); }
public void assertAddedNewMessage() { test = ReportsHelper.extent.CreateTest("New Baby Test"); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickCancel(); commons.clickYes(); statusPanelPageSteps.selectMessage(); statusPanelPageSteps.selectNewBabyReport(); transactionWindowPageSteps.fillNewBabyForm(); childWindowPageSteps.populateNewBabyOverrideReason(); transactionWindowPageSteps.clickF12EndCall(); functionMenuPageSteps.selectOutputQueue(); transactionWindowPageSteps.verifyAddedNewBabyReport(); statusPanelPageSteps.logOut(); }
public void assertAddedReferral() { //reportsHelper = new ReportsHelper("ServiceReferral"); test = ReportsHelper.extent.CreateTest("Service Referral Test"); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickCancel(); commons.clickYes(); statusPanelPageSteps.selectCategoryServices(); statusPanelPageSteps.selectTypeServiceReferral(); transactionWindowPageSteps.fillServiceReferralForm(); transactionWindowPageSteps.clickF12EndCall(); functionMenuPageSteps.selectTransResearch(); childWindowPageSteps.verifyAddedRecordsInServiceReferral(); statusPanelPageSteps.logOut(); }
public void assertAddedNewMessage() { test = ReportsHelper.extent.CreateTest("General Message Test"); this.extent = ReportsHelper.extent; LoginPageSteps loginPageSteps = new LoginPageSteps(driver, test); StatusPanelPageSteps statusPanelPageSteps = new StatusPanelPageSteps(driver, test); TelephonyWindowPageSteps telephonyWindowPageSteps = new TelephonyWindowPageSteps(driver, test); TransactionWindowPageSteps transactionWindowPageSteps = new TransactionWindowPageSteps(driver, test); FunctionMenuPageSteps functionMenuPageSteps = new FunctionMenuPageSteps(driver, test); ChildWindowsPageSteps childWindowPageSteps = new ChildWindowsPageSteps(driver, test); Commons commons = new Commons(driver, this.test); loginPageSteps.loginUsingSeatNo(); statusPanelPageSteps.selectAdminWork(); statusPanelPageSteps.selectFacility(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickCancel(); commons.clickYes(); statusPanelPageSteps.selectMessage(); statusPanelPageSteps.selectGeneralMessage(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.populateFields(); transactionWindowPageSteps.clickFirstRecord(); transactionWindowPageSteps.clickReturn(); commons.clickOK(); transactionWindowPageSteps.populateMoreFields(); telephonyWindowPageSteps.telephonyClickRejectAll(); transactionWindowPageSteps.clickSendMessageBtn(); transactionWindowPageSteps.clickSendBtn(); transactionWindowPageSteps.clickF12EndCall(); functionMenuPageSteps.selectTransResearch(); childWindowPageSteps.validateAddedRecords("General Message"); statusPanelPageSteps.logOut(); }