Index: suite_leahi/tst_heparin/test.py =================================================================== diff -u -rb8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4 -r6765d2b2000d80851bc0fab1cfa5b1953d196b1a --- suite_leahi/tst_heparin/test.py (.../test.py) (revision b8b0f0c6a997f1cd1a4b7da3daa4f32aec2349a4) +++ suite_leahi/tst_heparin/test.py (.../test.py) (revision 6765d2b2000d80851bc0fab1cfa5b1953d196b1a) @@ -126,7 +126,7 @@ vArterialPressureLimitWindowRejectReason = 0, vVenousPressureLimitWindowRejectReason = 0, vVenousPressureLimitAsymtrcRejectReason = 0, - vTrancembrncPressureLimitWindowRejectReason = 0, + vTransmembranePressureLimitWindowRejectReason = 0, vDialysateTempRejectReason = 0, vHeparinDispensingRateRejectReason = 0, vHeparinBolusVolumeRejectReason = 0 @@ -140,21 +140,10 @@ def main(): utils.tstStart(__file__) startApplication(config.AUT_NAME) - td.td_operation_mode(TDOpModes.MODE_STAN.value) - # verify Standby screen - test.verify(waitForObjectExists(names.o_standByScreen_MainHome), "In Standby") - change_treatmentstates(TDTreatmentStates.TREATMENT_DIALYSIS_STATE.value) - - test.startSection("Check the heparin values in Heparin page") - heparin = utility.setObjectText(text=HEPARIN, obj=names.o_listView_Item) - mouseClick(waitForObject(heparin)) - #check the off values - verify_heparin_precription_parameters(heparin_off) - test.endSection() - test.startSection("Verify the heparin state is off state") - td.td_operation_mode(TDOpModes.MODE_STAN.value) + td.td_operation_mode(TDOpModes.MODE_STAN.value) + mouseClick(waitForObject(names.o_createTreatmentRect_TouchRect)) td.td_operation_mode(TDOpModes.MODE_TPAR.value) verify_create_treatment_parameters_Heparin_OFF() change_treatmentstates(TDTreatmentStates.TREATMENT_PAUSED_STATE.value) @@ -166,6 +155,7 @@ test.startSection("Verify prescription rx parameters in heparin page") td.td_operation_mode(TDOpModes.MODE_STAN.value) + mouseClick(waitForObject(names.o_createTreatmentRect_TouchRect)) td.td_operation_mode(TDOpModes.MODE_TPAR.value) utility.verify_create_treatment_parameters() change_treatmentstates(TDTreatmentStates.TREATMENT_PAUSED_STATE.value) @@ -200,7 +190,7 @@ 0 , 5 # Heparin Complete state ) - status = waitForObject(names.o_treatmentHeparin_status_Rectangle) + status = waitForObject(names.o_treatmentHeparin_status_Rectangle) statustext = utility.findObjectById(status,'_statusText') test.compare(COMPLETE, statustext.text,"Status text should be ->"+str(COMPLETE)) test.endSection()