Beispiel #1
0
 public void tc_60659_SF182_Approval_workflow_Add_Approversa()
 {
     CommonSection.Manage.SF182();
     _test.Log(Status.Info, "Admin navigated to SF182 page");
     SF182Page.ClickApprovalWorkflow();
     SF182Page.ApprovalWorkflowTab.clickCreate();
     ApprovalWorkflowPage.Create(ApprovalPathTitle);
     Assert.IsTrue(ApprovalWorkflowPage.approverstable.noapproveradded());
     ApprovalWorkflowPage.approverstable.ClickAdd();
     Assert.IsTrue(ApprovalWorkflowPage.approverstable.AddModalopened());
     _test.Log(Status.Pass, "Verify Add modal is opened");
     ApprovalWorkflowPage.approverstable.AddModal.clickAdd();
     Assert.IsTrue(ApprovalWorkflowPage.approverstable.isapproveradded());
     _test.Log(Status.Pass, "Verify approver Added successfully");
 }
Beispiel #2
0
 public void P20_1_tc_60954_SF182_Approval_Workflow_Preview()
 {
     CommonSection.Manage.SF182();
     _test.Log(Status.Info, "Admin navigated to SF182 page");
     SF182Page.ClickApprovalWorkflow();
     SF182Page.ApprovalWorkflowTab.clickCreate();
     ApprovalWorkflowPage.Create(ApprovalPathTitle + "TC60954");
     ApprovalWorkflowPage.approverstable.ClickAdd();
     Assert.IsTrue(ApprovalWorkflowPage.approverstable.AddModalopened());
     _test.Log(Status.Pass, "Verify Add modal is opened");
     ApprovalWorkflowPage.approverstable.AddModal.clickAdd();
     ApprovalWorkflowPage.approverstab.clickPreviewWorkflow();
     Assert.IsTrue(ApprovalWorkflowPage.approverstab.isPreviewWorkflowmodalopened());
     Assert.IsTrue(ApprovalWorkflowPage.approverstab.PreviewWorkflowmodal.isTrainingPOCuploadscertificateisLastline());
     _test.Log(Status.Pass, "Verify Training POC uploads certificate is Last line");
 }
Beispiel #3
0
        public void tc_60478_Select_Approvals_for_Mark_attendance_or_upload_certificate()
        {
            CommonSection.Manage.SF182();
            _test.Log(Status.Info, "Admin navigated to SF182 page");
            SF182Page.ClickApprovalWorkflow();
            SF182Page.ApprovalWorkflowTab.clickCreate();
            ApprovalWorkflowPage.Create(ApprovalPathTitle + "TC60478");
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.isWhocanmarkorconfirmattendanceLebeldisplay());
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.isWhocanUploadCertificateLebeldisplay());

            ApprovalWorkflowPage.approverstab.Whocanmarkorconfirmattendance.ClickTrainee();
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.Whocanmarkorconfirmattendance.DefaultList());
            _test.Log(Status.Pass, "Verify Trainee display as checked with Supervisor 1,Supervisor 2,Training POC");
            ApprovalWorkflowPage.approverstab.Whocanmarkorconfirmattendance.setSupervisor1();
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.Whocanmarkorconfirmattendance.isnewvalu("Supervisor 1"));
            _test.Log(Status.Pass, "Verify new value set/save properly");
            ApprovalWorkflowPage.approverstab.WhocanUploadCertificate.ClickTrainingPOC();
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.WhocanUploadCertificate.DefaultList());
            _test.Log(Status.Pass, "Verify Training POC display as checked with Supervisor 1, Trainee, Finance POC");
            ApprovalWorkflowPage.approverstab.WhocanUploadCertificate.setTrainee();
            Assert.IsTrue(ApprovalWorkflowPage.approverstab.WhocanUploadCertificate.isnewvalueset("Trainee"));
            _test.Log(Status.Pass, "Verify new value set/save properly");
        }