Exemple #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            _operation = PageInitialization.InitializeOperation("chrome");

            _operation.BrowseThisWebSite(ConfigurationManager.AppSettings["website"]);

            _operation.GoToDefaultTab();

            //LOL
            for (int i = 0; i < Int32.Parse(TextBoxClickCount.Text); i++)
            {
                _operation.ClickTheButton();
            }

            _operation.Quit();

            _process.EndSession("drivers".GetValue());
        }
Exemple #2
0
 public void CleanUp()
 {
     _operation.Quit();
     _process.EndSession("drivers".GetValue());
 }