private void btnALL_Click(object sender, RoutedEventArgs e) { if (isRunning) { Global.LstInfo = new System.Collections.ObjectModel.ObservableCollection <string>(); Global.LstInfo.Add("已经有测试用例在执行!"); return; } isRunning = true; //德雅管理后台 DentureLoginModule.LoginAllTest(); HospitalModule.HospitalAllTest(); DoctorModule.DoctorAllTest(); DentureModule.DentureAllTest(); RoleModule.RoleAllTest(); DoctorModule.DoctorAllTest(); //Dentlab 客户端 DoctorLoginModule.LoginAllTest(); FactoryHospitalModule.HospitalAllTest(); TechnicianListModule.TechnicianAllTest(); UploadReportModule.DoctorAllTest(); isRunning = false; this.Activate(); }
/// <summary> /// 登录 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnDentureLogin_Click(object sender, RoutedEventArgs e) { if (isRunning) { Global.LstInfo = new System.Collections.ObjectModel.ObservableCollection <string>(); Global.LstInfo.Add("已经有测试用例在执行!"); return; } isRunning = true; DentureLoginModule.LoginAllTest(); isRunning = false; this.Activate(); }