Beispiel #1
0
 public void OneClickTest()
 {
     Thread.Sleep(BandTime * 1000);
     AgentDll.btn_Continue();
     Thread.Sleep(CommonTime * 1000 * 2);
     AgentDll.btn_Password();
     Thread.Sleep(PatientTime * 1000);
     AgentDll.btn_Demographics();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.btn_LoadPatientData();
     Thread.Sleep(CommonTime * 2000);
     AgentDll.choose_one_patient();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.btn_Previous_Patient();
     Thread.Sleep(CommonTime * 1000);
     //AgentDll.btn_Previous_Patient();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.btn_PatForm1_Close();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.btn_Calibration();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.manul_Calib_device();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.start_test();
     Thread.Sleep(PrepareTime * 1000);
     AgentDll.do_test();
     Thread.Sleep(CommonTime * 1000);
     AgentDll.export_report();
     Thread.Sleep(5 * 1000);
 }