Exemplo n.º 1
0
def click_icon(entry_num):
    keyboard.press_menu()
    menu_id = widget.get_widget_id("android:icon_menu")
    entry_id = interface.get_view_child(menu_id, entry_num)
    interface.click(entry_id)
Exemplo n.º 2
0
def click_icon(entry_num):
    keyboard.press_menu()
    menu_id = widget.get_widget_id("android:icon_menu")
    entry_id = interface.get_view_child(menu_id, entry_num)
    interface.click(entry_id)
Exemplo n.º 3
0
def click_by_text(text):
    keyboard.press_menu()
    menu_id = widget.get_widget_id("android:expanded_menu")
    entry_id = interface.get_view_child_by_text(menu_id, text)
    interface.click(entry_id)
Exemplo n.º 4
0
def click_by_text(text):
    keyboard.press_menu()
    menu_id = widget.get_widget_id("android:expanded_menu")
    entry_id = interface.get_view_child_by_text(menu_id, text)
    interface.click(entry_id)