Index: suite_leahi/tst_patient_vitals/test.py =================================================================== diff -u -r1847777089b517d342e407db9dd8d0be611c2232 -rcb74ac1eb315f3cefb3a495bd575a10501c0326c --- suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision 1847777089b517d342e407db9dd8d0be611c2232) +++ suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision cb74ac1eb315f3cefb3a495bd575a10501c0326c) @@ -140,7 +140,7 @@ td.td_vitals_adjustment_response(vRejectionReason=1) rejectionReason = utility.get_object_from_names(names.o_notification_bar) REJECT_TEXT = repo.get("1", "Title") - test.compare(rejectionReason.text, "Rejected Reason: [1]" + REJECT_TEXT, "Rejection Reason text should be :" + str(rejectionReason.text)) + test.compare(rejectionReason.text, "Rejected Reason: [1] " + REJECT_TEXT, "Rejection Reason text should be :" + str(rejectionReason.text)) test.endSection() def validate_time_interval(vital_interval_obj, int_min): @@ -228,7 +228,7 @@ target_value = target_value # Wait for all objects - parent_obj = squish.waitForObjectExists(obj) + parent_obj = waitForObjectExists(obj) # change range as per your screen count left_arrow = utility.findObjectById(parent_obj, "_leftArrow") @@ -243,10 +243,10 @@ # Determine direction while float(current_value) != float(target_value): if float(current_value) < float(target_value): - squish.mouseClick(squish.waitForObject(right_arrow)) + mouseClick(waitForObject(right_arrow)) elif float(current_value) > float(target_value): - squish.mouseClick(squish.waitForObject(left_arrow)) + mouseClick(waitForObject(left_arrow)) parent = waitForObject(parent_obj) current_value =utility.findObjectById(parent, "_currentItem")