Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r5058867d96a711bf5a61440b2c92438690d7d1c7 -rc783c116a8404b23d811dac3b37c603027107dcd --- shared/scripts/configuration/utility.py (.../utility.py) (revision 5058867d96a711bf5a61440b2c92438690d7d1c7) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision c783c116a8404b23d811dac3b37c603027107dcd) @@ -109,8 +109,7 @@ 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 @@ -1602,3 +1601,15 @@ test.compare(ven_min, ven_low, "Actual Venous range minimum value: {} is equal to Expected value: {}".format(ven_min, ven_low)) test.endSection() + +def enter_keypad_value_bphr(entry): + """ + Method to enter user desired + value using keypad + @param entry: (str) User expected value + """ + test.startSection("Entering {}".format(entry)) + entry = pyStr(entry) #type casted into string format + for value in entry: + squish.mouseClick(squish.waitForObject(keypad_input(value))) + test.endSection() \ No newline at end of file