コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
        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();
        }
コード例 #5
0
        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();
        }
コード例 #6
0
        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();
        }