예제 #1
0
        public void PRC_QcsetDashboard_ClickDocLinksInQcSetWidgetFromReviewDashboard_ShouldDisplayDocsInDocList()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateQcSetReviewCompleted);

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);

            this.analysisSetReviewActions.WaitForLoadPage();

            QcSetDashboardActions.VerifyRelevantDocListInQcSetSummary(driver);

            QcSetDashboardActions.ClickOnProjectDashboardLink(driver);

            this.analysisSetReviewActions.WaitForLoadPage();

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);

            this.analysisSetReviewActions.WaitForLoadPage();

            QcSetDashboardActions.VerifyNotRelevantDocListInQcSetSummary(driver);

            QcSetDashboardActions.ClickOnProjectDashboardLink(driver);

            this.analysisSetReviewActions.WaitForLoadPage();

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);

            this.analysisSetReviewActions.WaitForLoadPage();

            QcSetDashboardActions.VerifyNotCodedDocListInQcSetSummary(driver);
        }
예제 #2
0
 public void PRC_CreateQcSet_VerifyPredictionCategorizeErrorMessageNotDisplayedInCreateQcSetPopup_ShouldPass()
 {
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     CommonActions.WaitForLoadPcDashboardPage(driver);
     CreateQcSetActions.ClickCreateButtonToOpenCreateQcSetPopup(driver);
     CreateQcSetActions.CheckQcSetPopup(driver);
     CreateQcSetActions.CheckQcPredictionErrorMessageDisabled(driver);
 }
예제 #3
0
        public void PRC_QcsetDashboard_BeforeQcSetCreated_VerifyQcSetNotCreatedState()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateQcSetCreateNotStarted);

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);

            QcSetDashboardActions.VerifyQcSetNotCreatedState(driver);
        }
예제 #4
0
        public void PRC_CreateProject_DoNotProvideProjectInfoAndClickNext_ShouldDisdplayValidationError()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCCreateProjectUrl);
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.ClickPrimaryButton(driver);
            CreateProjectActions.ShouldDisdplayValidationErrors(driver);
        }
예제 #5
0
 public void PRC_DocList_ClickDocLinksInControlSetWidgetFromReviewDashboard_ShouldDisplayDocsInDocList()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateControlSetCompleted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     DocListActions.ClickRelevantDocList(driver);
     DocListActions.ClickProjectDashboardReview(driver);
     DocListActions.ClickNotRelevantDocList(driver);
     analysisSetReviewActions.IsAtDocListPage();
 }
예제 #6
0
 public void PRC_DocList_ClickSortAscDesc_ShouldDisplaySortedResultsInDocList()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateControlSetNotStarted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     DocListActions.ClickStartReviewToOpenDocReview(driver);
     DocListActions.DisableAutoAdvance(driver);
     DocListActions.ClickViewSetInDocReview(driver);
     DocListActions.ClickSortAscending(driver);
     DocListActions.ClickSortDescending(driver);
     DocListActions.ShouldDisplaySortedFilteredResultsInDocList(driver).Should().BeTrue();
 }
예제 #7
0
        public void PRC_CreateProject_ProvideProjectInfoAndClickNext_ShouldGoToSelectDocumentsPage()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCCreateProjectUrl);
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.TypeProjectInfo(driver);
            CreateProjectActions.ClickPrimaryButton(driver); //Click Next
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.ShouldDisdplaySelectDocumentsPage(driver);
        }
예제 #8
0
        public void PRC_CreateProject_ClickOnCancelButton_ShouldRedirectToAdminDashboard()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCCreateProjectUrl);
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.clickCancelBtn(driver);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateProjectActions.IsErrorBlockExists(driver).Should().BeTrue();
        }
예제 #9
0
 public void PRC_DocList_ClickStartReviewFromReviewDashboard_ShouldOpenDocReviewAndDocList()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateControlSetNotStarted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     DocListActions.ClickStartReviewToOpenDocReview(driver);
     DocListActions.DisableAutoAdvance(driver);
     DocListActions.ClickNextDocButton(driver);
     DocListActions.ClickViewSetInDocReview(driver);
     DocListActions.ClickViewDocumentInDocList(driver);
     DocListActions.IsShouldOpenDocReviewAndDocList(driver).Should().BeTrue();
 }
예제 #10
0
 public void PRC_DocList_ClickExportButtonWithMore500Docs_ShouldShowJobScheduleMessage()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateControlSetNotStarted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     DocListActions.ClickStartReviewToOpenDocReview(driver);
     DocListActions.DisableAutoAdvance(driver);
     DocListActions.ClickNextDocButton(driver);
     DocListActions.ClickViewSetInDocReview(driver);
     DocListActions.ClickExportCsv(driver);
     DocListActions.ShouldShowJobScheduleMessage(driver).Should().BeTrue();
 }
예제 #11
0
 public void PRC_DocList_ClickStartReviewFromReviewDashboard_ShouldDoNavigationBtwDocsInDocReview()
 {
     TestHelper.UpdateWorkflowState(WorkflowStateControlSetNotStarted);
     CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);
     DocListActions.ClickStartReviewToOpenDocReview(driver);
     DocListActions.DisableAutoAdvance(driver);
     DocListActions.ClickNextDocButton(driver);
     DocListActions.ClickLastDocButton(driver);
     DocListActions.ClickPreviousDocButton(driver);
     DocListActions.ClickFirstDocButton(driver);
     DocListActions.ShouldDoNavigationBtwDocsInDocReview(driver).Should().BeTrue();
 }
예제 #12
0
 public void PRC_CreateQcSet_VerifyPredictionCategorizeErrorMessageDisplayedInCreateQcSetPopup_ShouldPass()
 {
     CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);
     CommonActions.WaitForLoadPcDashboardPage(driver);
     //add documents to project here
     ProjectDashBoardActions.SelectAddDocuments(driver);
     CommonActions.WaitForLoadPage(driver);
     CreateProjectActions.ClickCreateButton(driver); //Click Create
     CommonActions.WaitForLoadPage(driver);
     CreateQcSetActions.ClickCreateButtonToOpenCreateQcSetPopup(driver);
     CreateQcSetActions.CheckQcSetPopup(driver);
     CreateQcSetActions.CheckQcPredictionErrorMessage(driver);
 }
예제 #13
0
        public void PRC_CreateQcSet_ClickCancelInCreateQcSetPopUp_ShouldNotCreateQcSet()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateQcSetActions.ClickCreateButtonToOpenCreateQcSetPopup(driver);

            CreateQcSetActions.CheckQcSetPopup(driver);

            CreateQcSetActions.ClickCancelButtonInCreateQcSetPopup(driver);

            CreateQcSetActions.VerifyCreateQcSetIsEnabled(driver);
        }
예제 #14
0
        public void PRC_CreateProject_SelectAllDocuments_ShouldCreateProjectAndGotoDashboard()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCCreateProjectUrl);
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.TypeProjectInfo(driver);
            CreateProjectActions.ClickPrimaryButton(driver); //Click Next
            CommonActions.WaitForLoadPage(driver);

            CreateProjectActions.ClickCreateButton(driver); //Click Create

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateProjectActions.IsProjectStatusExists(driver).Should().BeTrue();
        }
예제 #15
0
        public void PRC_CreateQcSet_VerifyDefaultValuesInCreateQcSetPopup_ShouldPass()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateQcSetActions.ClickCreateButtonToOpenCreateQcSetPopup(driver);

            CreateQcSetActions.CheckQcSetPopup(driver);

            CreateQcSetActions.CheckConfidenceLevelDefaultSelection(driver);

            CreateQcSetActions.CheckMarginOfErrorDefaultSelection(driver);

            CreateQcSetActions.CheckSampleSizeDefaultValue(driver);
        }
        public void PRC_CreateControlSet_ClickCancelInCreateControlSetPopUp_ShouldNotCreateControlSet()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateControlsetActions.ClickStartButtonToOpenCreateControlsetPopup(driver);

            CreateControlsetActions.CheckControlSetPopup(driver);

            CreateControlsetActions.ClickCancelButtonInCreateControlsetPopup(driver);

            CreateControlsetActions.CheckStatusForCreateControlset(driver);

            CreateControlsetActions.SwitchToMainWindow(driver);
        }
예제 #17
0
        public void PRC_CreateQcSet_SelectFixedSizeAndClickCreateInCreateQcSetPopUp_ShouldCreateQcSet()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateQcSetActions.ClickCreateButtonToOpenCreateQcSetPopup(driver);

            CreateQcSetActions.CheckQcSetPopup(driver);

            CreateQcSetActions.EnterQcSetName(driver);

            CreateQcSetActions.SelectFixedSizeInSamplingOptions(driver);

            CreateQcSetActions.ClickCreateButtonInCreateQcSetPopup(driver);

            CreateQcSetActions.VerifyQcSetIsCreated(driver);
        }
        public void PRC_CreateControlSet_VerifyNonDefaultSampleSizeCalculationInCreateControlSetPopup_ShouldPass()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateControlsetActions.ClickStartButtonToOpenCreateControlsetPopup(driver);

            CreateControlsetActions.CheckControlSetPopup(driver);

            CreateControlsetActions.ChangeConfidenceLevelSelection(driver);

            CreateControlsetActions.ChangeMarginOfErrorSelection(driver);

            CreateControlsetActions.CheckSampleSizeReCalculatedValue(driver);

            CreateControlsetActions.SwitchToMainWindow(driver);
        }
        public void PRC_CreateControlSet_ClickOkInCreateControlSetPopUp_ShouldCreateControlSet()
        {
            CommonActions.NavigateToUrl(driver, Settings.PCAdminDashboardUrl);

            CommonActions.WaitForLoadPcDashboardPage(driver);

            CreateControlsetActions.ClickStartButtonToOpenCreateControlsetPopup(driver);

            CommonActions.WaitForLoadPage(driver);

            CreateControlsetActions.CheckControlSetPopup(driver);

            CreateControlsetActions.ClickOkButtonToCreateControlset(driver);

            CommonActions.WaitForLoadPage(driver);

            CommonActions.RefreshMainWindow(driver);

            CreateControlsetActions.CheckNextStatusIsReviewControlset(driver);

            CreateControlsetActions.SwitchToMainWindow(driver);
        }
예제 #20
0
        public void PRC_QcsetDashboard_ClickStartReview_ReviewShouldBeInProgress()
        {
            TestHelper.UpdateWorkflowState(WorkflowStateQcSetReviewNotStarted);

            CommonActions.NavigateToUrl(driver, Settings.PCReviewDashboardUrl);

            CommonActions.ClickTab(driver, CommonActions.VerificationTabId);
            QcSetDashboardActions.VerifyQcsetReviewReadyToStartState(driver);

            this.analysisSetReviewActions.WaitForLoadPage();

            this.analysisSetReviewActions.ClickVerificationSetStartReview();

            this.analysisSetReviewActions.WaitForLoadPage();
            this.analysisSetReviewActions.DisableAutoAdvance();

            this.analysisSetReviewActions.ClickProjectDashboardLink();

            this.analysisSetReviewActions.WaitForLoadPage();
            CommonActions.ClickTab(driver, CommonActions.VerificationTabId);

            QcSetDashboardActions.VerifyQcsetReviewInProgressState(driver);
        }