Index: shared/scripts/configuration/utility.py =================================================================== diff -u -rcaa3a3b0aa0d77b4a05b7ccbbd1110e3c801af0f -rd265c618344b60c26e182732b93287a72ab24213 --- shared/scripts/configuration/utility.py (.../utility.py) (revision caa3a3b0aa0d77b4a05b7ccbbd1110e3c801af0f) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision d265c618344b60c26e182732b93287a72ab24213) @@ -106,32 +106,6 @@ return False - -def scroll_to_value_on_pop_up(value=None, container=None): - """ - scroll to the to the value if object is hidden - @param value - (obj) value object - @param container - (obj) Container of the value - @return boolean true and false - """ - counter = 0 - while counter <= 100: - try: - counter += 1 - squish.findObject(value) - squish.snooze(0.5) - if check_if_object_is_within_the_container(obj=value, container=container): - return True - else: - raise RuntimeError - except RuntimeError: - ScreenObj = squish.waitForObject(container) - 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 return names.o_pop_up_pressure_text_obj @@ -1112,7 +1086,7 @@ def keyboard_input(key_value): names.o_keyboard_object["text"] = key_value return names.o_keyboard_object - + def enter_keyboard_numeric_value(entry): """ Method to enter user desired