private void btnRunTest_Click(object sender, System.EventArgs e) { sveDataStore.Title = "Location to save GUI test data"; sveDataStore.Filter = "XML Files (*.xml)|*.xml|All Files (*.*)|*.*"; if (sveDataStore.ShowDialog() == DialogResult.OK) { TestCaseStore = sveDataStore.FileName; } else { return; } GUITestSeqList.AUTStartupForm = startupForm; GUITestUtility.SerilizeInfo(TestCaseStore, GUITestSeqList); //chapter 8 string verifyStore = TestCaseStore.Replace(".xml", "_verify.xml"); GUITestUtility.SerilizeInfo(verifyStore, TypesToVerify); GUITestScript guiTS = new GUITestScript(TestCaseStore, currDir); GUITestSeqList = null; }
private void btnRerun_Click(object sender, System.EventArgs e) { opnAUT.Title = "Select an existing data store"; opnAUT.Filter = "XLM test cases (*.xml)|*.xml|All Files (*.*)|*.*"; if (opnAUT.ShowDialog() == DialogResult.OK) { GUITestScript guiTS = new GUITestScript(opnAUT.FileName, currDir); } }