Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r549e92960cbce36d7be3fc981fd41d99bf73e016 -r568e97ea04d6b8bd977bf3533980a42b26ec951e --- shared/scripts/configuration/utility.py (.../utility.py) (revision 549e92960cbce36d7be3fc981fd41d99bf73e016) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision 568e97ea04d6b8bd977bf3533980a42b26ec951e) @@ -109,12 +109,12 @@ -def scroll_to_zone(zone=None, screen_object=None): +def scroll_to_zone(zone=None, screen_object=None, screen="Main"): """ scroll to the numeric if object is hidden Arguments: zone - UI object - screen_object - UI object (UI Home screen = waveforms + numerics) + screen_object - UI object Return: bool """ @@ -132,8 +132,12 @@ ScreenObj = squish.waitForObject(screen_object) screenHeight = pyInt(ScreenObj.height) screenWidth = pyInt(ScreenObj.width) - squish.mouseWheel(ScreenObj, screenWidth-1000, - screenHeight-10, 0, -50, squish.Qt.NoModifier) + if screen == "pop up": + squish.mouseWheel(ScreenObj, screenWidth-1250, + screenHeight-50, 0, -10, squish.Qt.NoModifier) + else: + squish.mouseWheel(ScreenObj, screenWidth-1000, + screenHeight-10, 0, -50, squish.Qt.NoModifier) raise LookupError("zone object is not in view to the user after " + \ "trying 100 times")