public void SelectsBookingByCaseName(string caseName) { _browsers[_c.CurrentUser].Driver.WaitUntilVisible(BookingsListPage.Row(caseName)); for (var i = 0; i < RETRIES; i++) { _rowId = GetRowId(caseName); if (_rowId == null || _rowId.Equals(string.Empty)) { continue; } break; } _browsers[_c.CurrentUser].Click(BookingsListPage.RowWithId(_rowId)); }
public void ProgressToNextPage() { _rowId = GetRowId(_c.Test.HearingDetails.CaseNumber); _browsers[_c.CurrentUser].Click(BookingsListPage.RowWithId(_rowId)); }