public void CheckReleaseDate() { SolutionBrowser._browser.Sync(); bool success = true; success = CheckFunctions.CompareReleaseDate(START_MONTH, START_YEAR, END_MONTH, END_YEAR, pp.ReleaseDate); if (!success) { Assert.Fail("The release date from the search doesn't correspond with the start and end date."); } }