Пример #1
0
 private void MainForm_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     _browser = null;
     _ie.Dispose();
     _ie = null;
 }
 public static void SetupBrowser(TestContext testContext)
 {
     _ie = new IE { AutoClose = false };
     _browser = new WatinDriver(_ie, "https://timeandexpense.teksystems.com/webtime/");
 }
Пример #3
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     _ie = new IE { AutoClose = false };
     _browser = new WatinDriver(_ie, "https://timeandexpense.teksystems.com/webtime/");
 }
 public static void CleanupBrowser()
 {
     _browser = null;
     _ie.Dispose();
     _ie = null;
 }