예제 #1
0
        public void GivenIOpenAmazonInABrowser()
        {
            var kernel = new StandardKernel();

            kernel.Load(Assembly.GetExecutingAssembly());

            _homePage      = kernel.Get <IHomePage>();
            _searchResults = kernel.Get <ISearchResults>();
            _categoryPage  = kernel.Get <ICategoryPage>();
            _homePage.launchSite(ConfigurationManager.AppSettings["baseUrl"]);
        }
 public void WhenISelectFromTheCategoryDropDown(string categoryName)
 {
     _categoryName = categoryName;
     _homePage.selectCategory(categoryName);
     _categoryPage = _homePage.clickSearchForCategory();
 }