public void SetupTest()
 {
     this.driver      = new ChromeDriver();
     this.loginMain   = new WebAppLoginMain(this.driver);
     this.utilities   = new UtilitiesMain(this.driver);
     this.contactMain = new ContactMain(this.driver);
     utilities.ReportSetup();
 }
Exemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            //  Pre-populate with some random generated data
            var contactMainViewModel = new ContactMainViewModel(ContactUtility.GenerateContacts());
            var contactMain          = new ContactMain {
                DataContext = contactMainViewModel
            };

            contactMain.Show();
        }