Пример #1
0
        public void SearchTestFromDataSource()
        {
            // Variable from data source
            string searchText = TestContext.DataRow["Search Text"].ToString();

            _browser = new xBrowser(_environment);
            g = new GoogleHomePage(_browser);
            g.Search(searchText);
        }
Пример #2
0
        public void SearchTest()
        {
            // Your objects
            _browser = new xBrowser(_environment);
            g = new GoogleHomePage(_browser);

            // Your test steps
            g.Search();
        }