Index: suite_leahi/tst_headerbar_prescription/test.py =================================================================== diff -u -r4f9e56b35635368ce440e2cfffdaba7631b5d120 -r4554e32860b9a12d2bc94bd15f1dab4e8a436a9a --- suite_leahi/tst_headerbar_prescription/test.py (.../test.py) (revision 4f9e56b35635368ce440e2cfffdaba7631b5d120) +++ suite_leahi/tst_headerbar_prescription/test.py (.../test.py) (revision 4554e32860b9a12d2bc94bd15f1dab4e8a436a9a) @@ -27,8 +27,12 @@ def verify_create_treatment_parameters(): test.startSection("Create treatment parameters") - mouseClick(waitForObject(names.o_pretreatmentPatientIDEntry_TextEntry)) - waitForObject(names.o_pretreatmentPatientIDEntry_TextEntry).text ="abcd" + # mouseClick(waitForObject(names.o_patientID_LabelUnitContainer)) + # waitForObject(names.o_patientID_LabelUnitContainer).text ="abcd" + parent_obj = waitForObject(names.o_leftColumn_Column) + patient_id = utility.findObjectById(parent_obj, "_patientID") + mouseClick(patient_id) + utility.set_value_based_on_target(names.o_bloodFlowRateControl_ValueAdjuster, 50) utility.set_value_based_on_target(names.o_dialysateFlowRateControl_ValueAdjuster, 50) utility.set_value_based_on_target(names.o_durationControl_ValueAdjuster, 60) @@ -87,7 +91,8 @@ td.td_operation_mode(TDOpModes.MODE_PRET.value, 0) test.compare(waitForObject(names.o_prescriptionButton_IconButton).visible, True,"The Create Rx button is visible") mouseClick(waitForObject(names.o_prescriptionButton_IconButton)) - test.compare(waitForObject(names.o_prescriptionMenu_BaseComboBox).visible, True, "Prescription menu is visible") + prescription_obj = waitForObjectExists(names.o_PreTreatmentCreate_listView_ListView) + test.compare(prescription_obj.visible, True, "Prescription menu is visible") verify_create_treatment_parameters() test.endSection()