Index: suite_leahi/tst_ultrafiltration/test.py =================================================================== diff -u -r6d83d7cbea9b040ee4717d7b90fdc44bf618bdcf -r1dac9e893080fac22c380d2d0f619e39cea2ba59 --- suite_leahi/tst_ultrafiltration/test.py (.../test.py) (revision 6d83d7cbea9b040ee4717d7b90fdc44bf618bdcf) +++ suite_leahi/tst_ultrafiltration/test.py (.../test.py) (revision 1dac9e893080fac22c380d2d0f619e39cea2ba59) @@ -106,7 +106,6 @@ # verify Standby screen test.verify(waitForObjectExists(names.o_standByScreen_MainHome), "In Standby") - td.td_operation_mode(TDOpModes.MODE_TPAR.value, 0) td.td_operation_mode(TDOpModes.MODE_TREA.value, 0) td.td_tx_state(TDTreatmentStates.TREATMENT_DIALYSIS_STATE.value , 0 , @@ -149,13 +148,13 @@ title = waitForObjectExists(utility.setObjectText(obj=names.o_title_Text,text = ULTRAFILTRATION_VOLUME)) test.compare(title.text, ULTRAFILTRATION_VOLUME, "Title text should be -> "+ str(ULTRAFILTRATION_VOLUME)) #check the value in the edit popup - uf_volume_removed_text = waitForObjectExists(names.o_ufVolumeRemovedItem_ValueItem).label + uf_volume_removed_text = waitForObjectExists(names.o_left_LabelUnitText).label test.compare(uf_volume_removed_text,UF_VOLUME_REMOVED ,"Text Value should be ->" +str(UF_VOLUME_REMOVED)) - uf_volume_removed_value = waitForObjectExists(names.o_ufVolumeRemovedItem_ValueItem).value + uf_volume_removed_value = waitForObjectExists(names.o_left_LabelUnitText).value test.compare(str(uf_volume_removed_value), str(MIN_VOLUME_DELIVERED), "UF Volume Removed value should be ->"+str(uf_volume_removed_value)) - uf_volume_goal_text =waitForObjectExists(names.o_ufVolumeGoalItem_ValueItem).label + uf_volume_goal_text =waitForObjectExists(names.o_right_LabelUnitText).label test.compare(uf_volume_goal_text,UF_VOLUME_GOAL ,"Text Value should be ->" +str(UF_VOLUME_GOAL)) - uf_volume_goal_value = waitForObjectExists(names.o_ufVolumeGoalItem_ValueItem).value + uf_volume_goal_value = waitForObjectExists(names.o_right_LabelUnitText).value test.compare(str(uf_volume_goal_value), str(MIN_UF_VOLUME), "UF Volume Removed value should be ->"+str(uf_volume_goal_value)) test.endSection() @@ -174,11 +173,11 @@ confirm_ultrafiltrationtitle = waitForObjectExists(utility.setObjectText(text="Confirm Ultrafiltration Volume (L)",obj = names.o_title_Text)) test.compare(confirm_ultrafiltrationtitle.text, "Confirm Ultrafiltration Volume (L)", "Title text should be -> "+ str("Confirm Ultrafiltration Volume (L)")) - new_uf_volume_text = waitForObjectExists(names.o_newVolumeContainer_ValueContainer).text + new_uf_volume_text = waitForObjectExists(names.o_left_LabelUnitText).label test.compare(new_uf_volume_text,NEW_UF_VOLUME ,"Text Value should be ->" +str(NEW_UF_VOLUME)) - new_uf_rate_text = waitForObjectExists(names.o_newRateContainer_ValueContainer).text + new_uf_rate_text = waitForObjectExists(names.o_right_LabelUnitText).label test.compare(new_uf_rate_text,NEW_UF_RATE ,"Text Value should be ->" +str(NEW_UF_RATE)) - new_uf_volume_value = waitForObjectExists(names.o_newRateContainer_ValueContainer).value + new_uf_volume_value = waitForObjectExists(names.o_right_LabelUnitText).value test.compare(new_uf_volume_value, "0.04","Text Value should be ->" +str("0.04")) #click on the continue button