示例#1
0
		public void TestUsingOpenProject()
		{
			FormTester AdminWindow = new FormTester("WeSay Admin");

			ToolStripMenuItemTester projectToolStripMenuItem =
					new ToolStripMenuItemTester("projectToolStripMenuItem");
			ToolStripMenuItemTester newProjectToolStripMenuItem =
					new ToolStripMenuItemTester("newProjectToolStripMenuItem");

			projectToolStripMenuItem.Click();
			//       ExpectModal("Browse For Folder", "ClickOKInFileDialog", true);

			newProjectToolStripMenuItem.Click();

			AdminWindow.Close();
		}
示例#2
0
 private void OnCloseTestForm2()
 {
     var frm = new FormTester("testForm2");
     frm.Close();
 }