public void VerifyRateSheetWindow() { EllisHome.LaunchEllisAsPRMUser(); EllisHome.ClickOnRateSheet(); Playback.Wait(2000); Factory.AssertIsTrue(CreateNewOrderWindow.VerifyRateSheetWindowDisplayed(), "Rate Sheet Window not displayed"); CreateNewOrderWindow.CloseRateSheetWindow(); }
public void UpdateDateInRateSheetWindow() { var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.CreateGarnishmentOrder); foreach (var datarow in datarows) { EllisHome.LaunchEllisAsPRMUser(); EllisHome.ClickOnRateSheet(); Playback.Wait(2000); Factory.AssertIsTrue(CreateNewOrderWindow.VerifyRateSheetWindowDisplayed(), "Rate Sheet Window not displayed"); CreateNewOrderWindow.EnterRateSheetData(datarow); Factory.AssertIsTrue(CreateNewOrderWindow.VerifyRateSheetDateWindowDisplayed(), "Rate Sheet Date Window Not Displayed"); CreateNewOrderWindow.ClickOkinRateSheetDateWindow(); CreateNewOrderWindow.CloseRateSheetWindow(); } }