Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r0f0f87cba116542a90079ea43d94393ef628cbb6 -r73d2a9643bcdd4a91e0befd00f45802c6fee77a5 --- shared/scripts/configuration/utility.py (.../utility.py) (revision 0f0f87cba116542a90079ea43d94393ef628cbb6) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision 73d2a9643bcdd4a91e0befd00f45802c6fee77a5) @@ -12,8 +12,9 @@ # ############################################################################ -import names import object +import names +import test import squish import test import time @@ -578,8 +579,7 @@ expected_progress = config.MAXIMUM_COUNTDOWN_TIME - count_down test.compare(current_progress, expected_progress, "{} should be the current progress".format(expected_progress)) test.endSection() - - + def verify_page_step_indicator(screen_obj, pre_treatment_step): """ Method to verify the Page Step indicators [the object on top of the screen which indicates the steps passed, current, remained] @@ -591,7 +591,6 @@ bullet_circle_color = bullet_children[0].color.name bullet_border_color = bullet_children[0].border.color.name step_title = squish.waitForObjectExists(get_text_object(screen_obj, config.PRE_TREATMENT_SCREENS[page])) - if page < pre_treatment_step: test.log("To verify the step indicator of the completed pre-treatment screen " + config.PRE_TREATMENT_SCREENS[page]) test.verify(squish.waitForObjectExists(get_bullet_object(screen_obj, page)).complete) @@ -628,7 +627,6 @@ names.o_text_object["text"] = txt return names.o_text_object - def get_bullet_object(screen_obj, num): """ To obtain a bullet object based on occurrence provided.