Esempio n. 1
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();
        }
Esempio n. 2
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();
        }
Esempio n. 3
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();
        }