/** @return */ public boolean verifySearchResultTitleMatchesDetailedViewTitle() { if (BaseTestCaseUtil.match( selenium.getText(DetailedSearchResultUiLocator.getTitle()), searchResult.getTitle(), true)) { return true; } return false; }
/** * @param searchTerm * @return */ public boolean verifyTitleContainsSearchTermInDetailedView(String searchTerm) { return selenium.getText(DetailedSearchResultUiLocator.getTitle()).indexOf(searchTerm) >= 0; }