Index: suite_leahi/tst_water_dialysate_blood_sampling/test.py =================================================================== diff -u -r7e1fc4c4a21e642c1bf7e36dc83120fe58347b47 -rf26ea87587e4b5be8fb20c83c3e824a19cf9cc04 --- suite_leahi/tst_water_dialysate_blood_sampling/test.py (.../test.py) (revision 7e1fc4c4a21e642c1bf7e36dc83120fe58347b47) +++ suite_leahi/tst_water_dialysate_blood_sampling/test.py (.../test.py) (revision f26ea87587e4b5be8fb20c83c3e824a19cf9cc04) @@ -45,7 +45,6 @@ mouseClick(waitForObject(names.o_PreTreatmentCreate_pretreatmentPatientIDEntry_TextEntry)) waitForObject(names.o_PreTreatmentCreate_pretreatmentPatientIDEntry_TextEntry).text ="abcd" utility.select_different_dropdown(names.o_PreTreatmentCreate_acidConcentrateComboBox_BaseComboBox,config.ACID_CONCENTRATE,2) - utility.set_value_based_on_target(names.o_PreTreatmentCreate_dialysateTemperatureControl_ValueAdjuster,37.0) test.endSection() def water_sample_tab(): @@ -107,15 +106,19 @@ # handle sent messages from UI if can_interface is not None: - channel_id = CAN.DenaliChannels.ui_to_td_ch_id + channel_id = CAN.CanChannels.ui_to_td_ch_id message_id = MsgIds.MSG_ID_UI_WATER_SAMPLE_RESULT_REQUEST.value can_interface.register_receiving_publication_function(channel_id, message_id, handle_water_sample_request) test.startSection("Verify the water sample, dialysate and Blood sampling ") td.td_operation_mode(TDOpModes.MODE_STAN.value) - mouseClick(waitForObject(names.o_createTreatmentRect_TouchRect)) + hemodialysis = waitForObject(names.o_createHDTreatment_TouchRect) + hemodialysis_btn = utility.findChildByText(hemodialysis, "Hemodialysis") + mouseClick(hemodialysis_btn) + td.td_Treatment_Parameters_CreateRx(vRejectionReason =0) + td.td_operation_mode(TDOpModes.MODE_PRET.value, 0) td.td_operation_mode(TDOpModes.MODE_PRET.value) td.td_blood_set_auto_load_response(vRejectionReason = 0) set_acid_concentrate()