public void AddProgramIncentive(string acCode, string acType, string desc, string points) { JavaScriptExecutorHelper.ScrollElementAndClick(ProgramIncentive); GenericHelper.WaitForLoadingMask(); GenericHelper.WaitForElement(Add); Add.Click(); ProgramIncentive addInc = new ProgramIncentive(driver); addInc.AddProgramIncentive(acCode, acType, desc, points); Thread.Sleep(500); ProgramIncentiveNext.Click(); JavaScriptExecutorHelper.ScrollElementAndClick(ProgramIncentive); GenericHelper.WaitForLoadingMask(); }
public void AddProdProgramIncentive(string points, string prodSku, string prdDescp, string prodFamily, string prodClass, string prodLine, string prodType, string unitSoldMax, string unitSoldMin) { JavaScriptExecutorHelper.ScrollElementAndClick(ProgramIncentive); GenericHelper.WaitForLoadingMask(); GenericHelper.WaitForElement(Add); Add.Click(); ProgramIncentive addInc = new ProgramIncentive(driver); addInc.AddProgramIncentive(points, prodSku, prdDescp, prodFamily, prodClass, prodLine, prodType, unitSoldMax, unitSoldMin); Thread.Sleep(500); JavaScriptExecutorHelper.ScrollElementAndClick(ProgramIncentiveNext); JavaScriptExecutorHelper.ScrollElementAndClick(ProgramIncentive); GenericHelper.WaitForLoadingMask(); }
public void SelectProgramIncetiveClickNext() { var prgName = new ProgramIncentive(driver); prgName.ClickProgramIncentiveAndNext(); }