Exemple #1
0
 public void Attach()
 {
     _core.Attach();
     _app     = new WindowsAppFriend(_core.Process);
     MainForm = new MainFormDriver(new WindowControl(_app, _core.Process.MainWindowHandle));
     InitApp();
 }
Exemple #2
0
        public AppDriver()
        {
            var process = Process.Start("EmployeeManagement.exe");

            _app     = new WindowsAppFriend(process);
            MainForm = new MainFormDriver(new WindowControl(_app, process.MainWindowHandle));
        }
 public void Attach()
 {
     _core.Attach();
     _app = new WindowsAppFriend(_core.Process);
     MainForm = new MainFormDriver(new WindowControl(_app, _core.Process.MainWindowHandle));
     InitApp();
 }