public void CompleteStackingSDCO() { waitForPageUntilElementIsVisible(By.XPath("//a[@data-qtip='Last Page']"), 40); LastPageBtn.Clicks(); waitForPageUntilElementIsVisible(By.XPath("//a[contains(@onclick,'icms_ceiu_sdco_approval') and contains(text(),'2019-222496')]"), 40); CEIUStacking.Clicks(); waitForPageUntilElementIsVisible(By.Id("xcp_dropdown_list-2566-inputEl"), 40); NextStepApprovalCEIU.EnterText("Stacking"); waitForPageUntilElementIsVisible(By.XPath("//span[contains(text(), 'Complete')]"), 40); CompleteStepBtn.Clicks(); }
public void CompleteQualityControlSDCO() { waitForPageUntilElementIsVisible(By.XPath("//a[@data-qtip='Last Page']"), 40); LastPageBtn.Clicks(); waitForPageUntilElementIsVisible(By.XPath("//a[contains(@onclick,'icms_ceiu_staff_assist_1') and contains(text(),'2019-222496')]"), 40); CEIUAsssistantQuality.Click(); waitForPageUntilElementIsVisible(By.XPath("//span[contains(text(),'Acquire')]"), 40); AcquireTask.Clicks(); waitForPageUntilElementIsVisible(By.XPath("//span[contains(text(), 'Complete')]"), 40); waitForPageUntilElementIsVisible(By.Id("xcp_dropdown_list-2566-inputEl"), 40); NextStepApprovalCEIU.EnterText("Quality Control Complete"); waitForPageUntilElementIsVisible(By.XPath("//span[contains(text(), 'Complete')]"), 40); CompleteStepBtn.Clicks(); }