Index: suite_leahi/shared/scripts/configuration/config.py =================================================================== diff -u -r5a31e21e36f2652df87477d61a8b9f43f2bc89d2 -r8dfee2fd30543d6171aa1d5139a5a0003d6c8f25 --- suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 5a31e21e36f2652df87477d61a8b9f43f2bc89d2) +++ suite_leahi/shared/scripts/configuration/config.py (.../config.py) (revision 8dfee2fd30543d6171aa1d5139a5a0003d6c8f25) @@ -218,4 +218,5 @@ RECONNECT_TO_PATIENT = "Reconnect To Patient" REJECTION_REASON = "[1] Request is not allowed in the current operating mode" END_TREATMENT = "End Treatment" +HDF = "HDF" Index: suite_leahi/shared/scripts/names.py =================================================================== diff -u -rd81970a622b05f60b65d6980db89698695adcdce -r8dfee2fd30543d6171aa1d5139a5a0003d6c8f25 --- suite_leahi/shared/scripts/names.py (.../names.py) (revision d81970a622b05f60b65d6980db89698695adcdce) +++ suite_leahi/shared/scripts/names.py (.../names.py) (revision 8dfee2fd30543d6171aa1d5139a5a0003d6c8f25) @@ -357,5 +357,4 @@ o_vitals_close_btn = {"container": o_Overlay, "id": "_image", "source": "qrc:/images/iClose", "type": "Image", "unnamed": 1 } o_TreatmentBloodPrime_TreatmentBloodPrime = {"container": treatmentStack, "objectName": "_TreatmentBloodPrime", "type": "TreatmentBloodPrime", } o_TreatmentBloodPrime_flowRateValue_Text = {"container": o_TreatmentBloodPrime_TreatmentBloodPrime, "objectName": "_flowRateValue", "type": "Text", } - - +o_createHDFTreatment_TouchRect = {"container": o_standByScreen_MainHome, "id": "_createHDFTreatment", "type": "TouchRect", "unnamed": 1 } Index: suite_leahi/tst_main_tx_hdf/test.py =================================================================== diff -u -rd81970a622b05f60b65d6980db89698695adcdce -r8dfee2fd30543d6171aa1d5139a5a0003d6c8f25 --- suite_leahi/tst_main_tx_hdf/test.py (.../test.py) (revision d81970a622b05f60b65d6980db89698695adcdce) +++ suite_leahi/tst_main_tx_hdf/test.py (.../test.py) (revision 8dfee2fd30543d6171aa1d5139a5a0003d6c8f25) @@ -41,6 +41,9 @@ test.startSection("Navigate to the HDF Page and check the graph") td.td_operation_mode(TDOpModes.MODE_STAN.value) test.verify(waitForObjectExists(names.o_standByScreen_MainHome), "In Standby") + hemodiafiltration = waitForObject(names.o_createHDFTreatment_TouchRect) + hemodiafiltration_btn = utility.findChildByText(hemodiafiltration, "Hemodiafiltration") + mouseClick(hemodiafiltration_btn) td.td_operation_mode(TDOpModes.MODE_TREA.value) td.td_tx_state( TDTreatmentStates.TREATMENT_BLOOD_PRIME_STATE.value, 0 , @@ -64,10 +67,12 @@ 0 , 0 , 0) - waitForObject(names.o_listView_Item,1000) - hdf = utility.setObjectText(text="HDF", obj=names.o_listView_Item) - mouseClick(waitForObject(hdf)) - + # 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) td.td_pressure(H2_arterial_pressure = 160, H14_venous_pressure = 440 , limit_state = 0,