Index: tst_main_treatment_heparin/test.py =================================================================== diff -u -r89426f741084aed1601cdc538ebac1d5d5e9256b -ra9d70d9d297041433ae012d165d04a49853f3c09 --- tst_main_treatment_heparin/test.py (.../test.py) (revision 89426f741084aed1601cdc538ebac1d5d5e9256b) +++ tst_main_treatment_heparin/test.py (.../test.py) (revision a9d70d9d297041433ae012d165d04a49853f3c09) @@ -150,6 +150,7 @@ hd_simulator.cmd_set_heparin_pause_resume_response(accepted = 1, reason = 0) test.compare(str(waitForObjectExists(names.o_state2_heparin_state_paused_text).text),config.HEPARIN_RESUME_DELIVERY_TEXT, utility.msg("Heparin Resume Delivery Text should be {}".format(config.HEPARIN_RESUME_DELIVERY_TEXT))) test.compare( waitForObjectExists(names.o_state2_heparin_state_paused_text).enabled, True, utility.msg("Resume Delivery Button is enabled")) + mouseClick(waitForObject(names.o_state2_heparin_state_paused_text)) test.log("Heparin delivery is paused, resume delivery to start") utils.waitForGUI(1) @@ -161,6 +162,7 @@ treatment_end_state=0, treatment_stop_state= 0, dialysis_state= 0) test.compare(str(waitForObjectExists(names.o_state4_heparin_state_dispensing_text).text), config.HEPARIN_PAUSE_DELIVERY_TEXT, utility.msg("Heparin Pause Delivery Text should be {}".format(config.HEPARIN_PAUSE_DELIVERY_TEXT))) test.compare( waitForObjectExists(names.o_state4_heparin_state_dispensing_text).enabled , True, utility.msg("Pause Delivery Button is enabled")) + mouseClick(waitForObject(names.o_state4_heparin_state_dispensing_text)) test.compare(str(waitForObjectExists(names.o_state4_heparin_state_dispensing_active_text).text), config.HEPARIN_BOLUS_DISPENSING_TEXT, utility.msg("Heparin Pause Delivery Text should be {}".format(config.HEPARIN_BOLUS_DISPENSING_TEXT))) test.log("Heparin delivery is in dispensing state") test.endSection()