public void Create_And_SaveForward_Ncr_Document() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); AddAssertionToList(WF_QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayedInReview(ncrDescription), "VerifyNCRDocIsDisplayedInReview"); AssertAll(); }
public void Disapprove_and_Close_of_Ncr_Document_by_NCRManager() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); LogoutToLoginPage(); WF_QaRcrdCtrl_GeneralNCR.CloseNCR_CQMReview_Disapprove(UserType.NCRMgr, ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsClosed(ncrDescription), "VerifyNCRDocIsClosed"); AssertAll(); }
public void Review_and_Approval_of_Ncr_Document_by_NCRManager() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); LogoutToLoginPage(); WF_QaRcrdCtrl_GeneralNCR.Review_and_Approve_NCR(UserType.NCRMgr, ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition, ncrDescription), "VerifyNCRDocIsDisplayed(Resolution_Disposition)"); AssertAll(); }
public void Close_Ncr_Document_ConcessionRequest_ConcessionDeviation() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromResolutionDisposition_ToDeveloperConcurrence(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDeveloperConcurrence_ToDOTApprovalOrLAWAConcurrence(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDOTApprovalOrLAWAConcurrence_ToVerificationClosure(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.CloseNCR_in_VerificationAndClosure(ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsClosed(ncrDescription), "VerifyNCRDocIsClosed"); AssertAll(); }
public void Close_Ncr_Document_ConcessionRequest_ReturnToConformance() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); LogoutToLoginPage(); WF_QaRcrdCtrl_GeneralNCR.Review_and_Approve_NCR(UserType.NCRMgr, ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromResolutionDisposition_ToVerificationClosure_ReturnToConformance(ncrDescription); //WF_QaRcrdCtrl_GeneralNCR.CloseNCR_ConcessionRequest_ReturnToConformance(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.CloseNCR_in_VerificationAndClosure(ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsClosed(ncrDescription)); //Assert.True(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsClosed(ncrDescription)); AssertAll(); }
public void NCR_SimpleWF_End_To_End() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); AddAssertionToList(WF_QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayedInReview(ncrDescription), "VerifyNCRDocIsDisplayedInReview"); GridHelper.ClickEditBtnForRow(); log.Debug("------------send to revise from Review------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_Revise(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Revise, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.Revise)"); GridHelper.ClickEditBtnForRow(); log.Debug("------------cancel, edit/saveonly in Revise------------"); QaRcrdCtrl_GeneralNCR.EnterDescription("New NCR Description", true); QaRcrdCtrl_GeneralNCR.ClickBtn_Cancel(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Revise, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.Revise)"); GridHelper.ClickEditBtnForRow(); ncrDescription = QaRcrdCtrl_GeneralNCR.EnterDescription(); QaRcrdCtrl_GeneralNCR.ClickBtn_SaveOnly(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Revise, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.Revise)"); GridHelper.ClickEditBtnForRow(); log.Debug("------------save&fwd in Review------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_SaveForward(); AddAssertionToList(WF_QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayedInReview(ncrDescription), "VerifyNCRDocIsDisplayedInReview"); GridHelper.ClickEditBtnForRow(); log.Debug("------------save&fwd in ToBeClosed------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_SaveForward(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.To_Be_Closed, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.To_Be_Closed)"); GridHelper.ClickEditBtnForRow(); log.Debug("------------send to revise from ToBeClosed------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_Revise(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Revise, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.Revise)"); GridHelper.ClickEditBtnForRow(); log.Debug("------------save&fwd from Revise to Review------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_SaveForward(); AddAssertionToList(WF_QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayedInReview(ncrDescription), "VerifyNCRDocIsDisplayedInReview"); GridHelper.ClickEditBtnForRow(); log.Debug("------------save&fwd in Review------------"); QaRcrdCtrl_GeneralNCR.ClickBtn_SaveForward(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.To_Be_Closed, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.To_Be_Closed)"); GridHelper.ClickEditBtnForRow(); QaRcrdCtrl_GeneralNCR.ClickBtn_Close(); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsClosed(ncrDescription), "VerifyNCRDocIsDisplayedInClosed"); AssertAll(); }
public void Revise_Ncr_Document_ConcessionRequest_ReturnToConformance() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); LogoutToLoginPage(); WF_QaRcrdCtrl_GeneralNCR.Review_and_Return_NCR_ForRevise(UserType.NCRMgr, ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Creating_Revise, ncrDescription)); GridHelper.ClickEditBtnForRow(); //step for Edit NCR ? QaRcrdCtrl_GeneralNCR.ClickBtn_SaveForward(); WF_QaRcrdCtrl_GeneralNCR.Review_and_Approve_NCR(UserType.NCRMgr, ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition, ncrDescription)); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromResolutionDisposition_ToVerificationClosure_ReturnToConformance(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.CheckReviseKickback_FromVerificationClosure_ForReturnToConformance(ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition, ncrDescription)); AssertAll(); }
public void Revise_Ncr_Document_ConcessionRequest_ConcessionDiviation() { string ncrDescription = WF_QaRcrdCtrl_GeneralNCR.Create_and_SaveForward_NCR(UserType.NCRTech); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromResolutionDisposition_ToDeveloperConcurrence(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDeveloperConcurrence_ToDOTApprovalOrLAWAConcurrence(ncrDescription, false); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromResolutionDisposition_ToDeveloperConcurrence(ncrDescription, true); //WF_QaRcrdCtrl_GeneralNCR.Return_ToDeveloperConcurrence_FromDOTApproval(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDeveloperConcurrence_ToDOTApprovalOrLAWAConcurrence(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDOTApprovalOrLAWAConcurrence_ToVerificationClosure(ncrDescription, false); WF_QaRcrdCtrl_GeneralNCR.SaveForward_FromDeveloperConcurrence_ToDOTApprovalOrLAWAConcurrence(ncrDescription); WF_QaRcrdCtrl_GeneralNCR.CheckReviseKickback_FromVerificationClosure_ForConcessionDiviation(ncrDescription); AddAssertionToList(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition, ncrDescription), "VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition)"); //Assert.True(QaRcrdCtrl_GeneralNCR.VerifyNCRDocIsDisplayed(TableTab.Resolution_Disposition, ncrDescription)); AssertAll(); }