//Search and Filter methods
 public void EnterCustomDateRange(DateTime fromDateValue, DateTime toDateValue)
 {
     DateRange.SelectByText("Custom", "DateRange");
     //Save the from date for use in assertions
     ScenarioContext.Current["FromDateValue"] = fromDateValue.ToShortDateString();
     ScenarioContext.Current["ToDateValue"]   = toDateValue.ToShortDateString();
     //Enter this date in the from date field
     FromDate.EnterTextWithJS(fromDateValue.ToString("MM-dd-yyyy"), "From Date");
     ToDate.EnterTextWithJS(toDateValue.ToString("MM-dd-yyyy"), "To Date");
     driver.RobustWait();
 }