示例#1
0
 public void WhenISearchFor(string searchTerm)
 {
     _chaptersSearchPage = _chaptersPage.SearchFor(searchTerm);
 }
示例#2
0
 public PmiChaptersSteps(WebTestContext context)
 {
     _context = context;
     _chaptersPage = PageFactory.CreatePage(context, typeof(ChaptersPage).Name);
     _chaptersSearchPage = PageFactory.CreatePage(context, typeof(ChaptersSearchPage).Name);
 }