Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r854dd010b942b6f214379923f140b93cde3998c9 -r7efa97786e2bec643a1cb59ee33ca9cdaf9660b4 --- shared/scripts/configuration/utility.py (.../utility.py) (revision 854dd010b942b6f214379923f140b93cde3998c9) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision 7efa97786e2bec643a1cb59ee33ca9cdaf9660b4) @@ -57,32 +57,6 @@ return True return False - -def scroll_to_zone(zone=None, screen_object=None, direction = None): - """ - scroll to the UI, if object is hidden - @param zone - object to be find out. - @param screen_object - object of the screen. - @return boolean - """ - counter = 0 - while counter <= 100: - try: - counter += 1 - squish.findObject(zone) - squish.snooze(0.5) - if check_if_object_is_within_the_container(obj=zone, container=screen_object): - return True - else: - raise RuntimeError - except RuntimeError: - ScreenObj = squish.waitForObject(screen_object) - screenHeight = pyInt(ScreenObj.height) - screenWidth = pyInt(ScreenObj.width) - squish.mouseWheel(ScreenObj, screenWidth//2, screenHeight//2, 0, -50, squish.Qt.NoModifier) - - raise LookupError("value object is not in view to the user after trying 100 times") - def pressure_pop_up_text_obj(text): names.o_pop_up_pressure_text_obj["text"] = text