Index: suite_leahi/tst_main_tx_hdf/test.py =================================================================== diff -u -r8dfee2fd30543d6171aa1d5139a5a0003d6c8f25 -r53a5b50bd65ec2533b82b5ae12cf294aa936cf3e --- suite_leahi/tst_main_tx_hdf/test.py (.../test.py) (revision 8dfee2fd30543d6171aa1d5139a5a0003d6c8f25) +++ suite_leahi/tst_main_tx_hdf/test.py (.../test.py) (revision 53a5b50bd65ec2533b82b5ae12cf294aa936cf3e) @@ -67,12 +67,8 @@ 0 , 0 , 0) - # mouseClick(waitForObject(utility.setObjectText(names.o_listView_Item, config.HDF), 3000)) - parent_obj = waitForObjectExists(names.o_listView_Item) - - hdf_text = utility.findChildByText(parent_object=parent_obj,target_text="HDF") - - mouseClick(hdf_text) + hdf_item = waitForObject(names.o_listView_delegateControl_Item_2,1000) + mouseClick(hdf_item) td.td_pressure(H2_arterial_pressure = 160, H14_venous_pressure = 440 , limit_state = 0, @@ -114,11 +110,11 @@ hdf_edit_button = waitForObject(names.o_treatmentHDF_treatmentHdfComponent_TreatmentHDFComponent) edit_hdf = utility.findObjectById(hdf_edit_button,"_editButton") mouseClick(edit_hdf) - utility.set_value_based_on_target(names.o_valueAdjuster_ValueAdjuster, 1.1) + utility.set_value_based_on_target(names.o_valueAdjuster_ValueAdjuster, 4.6) mouseClick(names.o_confirmButton_ConfirmButton) prescribed_fluid_volume = waitForObject(names.o_treatmentHDF_prescribedFluidVolume_LabelUnitValueAdjuster,1000) prescribed_fluid_volume_value = round(prescribed_fluid_volume.value,1) - test.compare(prescribed_fluid_volume_value, float(1.1), "Prescribed Fluid volume should be"+str(prescribed_fluid_volume_value)) + test.compare(prescribed_fluid_volume_value, float(4.6), "Prescribed Fluid volume should be"+str(prescribed_fluid_volume_value)) test.endSection() utils.tstDone()