Ejemplo n.º 1
0
def store_value(step, upper_lower, type_of_fill, length, suffix, name):
    if not length:
        length = 9
    if not suffix:
        suffix = ""
    random_value = generate_content(type_of_fill, int(length)) + suffix
    store_with_case_option(name, random_value, upper_lower)
Ejemplo n.º 2
0
 def _this_step(step, upper_lower, what, pick, find_pattern, name):
     ele_value = _get_attribute_of_element(
         finder_function, pick, find_pattern, what)
     store_with_case_option(name, ele_value, upper_lower)
Ejemplo n.º 3
0
def store_text_of_element_with_case_option_as(step, upper_lower, name):
    if not hasattr(world, "prompt") or not world.prompt:
        world.prompt = _get_alert_or_none()
    store_with_case_option(name, world.prompt.text, upper_lower)
Ejemplo n.º 4
0
def store_text_of_element_with_case_option_as(step, upper_lower, name):
    if not hasattr(world, "prompt") or not world.prompt:
        world.prompt = _get_alert_or_none()
    store_with_case_option(name, world.prompt.text, upper_lower)
Ejemplo n.º 5
0
def _this_step(step, upper_lower, what, element_name, name):
    ele_value = _get_attribute_of_element(element_name, what)
    store_with_case_option(name, ele_value, upper_lower)