# @Time    : 2016/11/18 16:32
@@ -22,8 +22,647 @@
 18 16:32
+%0Afrom keywords import get_var, keyword, call%0A%0Asolo = get_var(%22solo%22)%0A%0A%0A@keyword(%22click_id%22)%0Adef click_id(view_id):%0A    view = get_view(view_id)%0A    click_view(view)%0A%0A%0A@keyword(%22click_text%22)%0Adef click_text(text):%0A    solo.click_on_text(text)%0A%0A%0A@keyword(%22click_view%22)%0Adef click_view(view):%0A    solo.click_on_view(view)%0A%0A%0A@keyword(%22get_view%22)%0Adef get_view(view_id):%0A    return solo.get_view(res_id=view_id)%0A%0A%0A@keyword(%22get_view_text%22)%0Adef get_text(view_id, index=%220%22):%0A    view = solo.get_view(res_id=view_id, index=int(index))%0A    return call(view, %22getText%22)%0A%0A%0A@keyword(%22sleep%22)%0Adef sleep(milliseconds):%0A    solo.sleep(int(milliseconds))%0A%0A%0A

add base keywords