Example #1
0
 def confirm_button(self):
     """
         Summary:
             返回对话框上的确定按钮
     """
     name_ = '确认'
     return button.UIAButton(self.parent, name=name_)
 def back_button(self):
     """
         Summary:
             返回按钮
     """
     name_ = 'camera close'
     return button.UIAButton(self.parent, name=name_)
 def switch_camera_button(self):
     """
         Summary:
             切换摄像头按钮
     """
     name_ = "camera switch"
     return button.UIAButton(self.parent, name=name_)
 def back_button(self):
     """
         Summary:
             返回按钮
     """
     name_ = "push back"
     return button.UIAButton(self.parent, name=name_)
 def back_button(self):
     """
         Summary:
             后退按钮
     """
     name_ = '返回'
     return button.UIAButton(self.parent, name=name_)
Example #6
0
 def back_button(self):
     """
         Summary:
             返回按钮
     """
     name_ = "photolibrary close"
     return button.UIAButton(self.parent, id=name_)
 def cancel_button(self):
     """
         Summary:
             取消按钮
     """
     name_ = "取消"
     return button.UIAButton(self.parent, name=name_)
Example #8
0
 def focus_tab(self):
     """
         Summary:
             关注tab
     """
     name_ = '关注'
     return button.UIAButton(self.base_parent, name=name_)
Example #9
0
 def discovery_tab(self):
     """
         Summary:
             发现tab
     """
     name_ = '发现'
     return button.UIAButton(self.base_parent, name=name_)
 def use_immediate_button(self):
     """
         Summary:
             立即使用按钮
     """
     name_ = '立即使用'
     return button.UIAButton(self.parent, name=name_)
Example #11
0
 def login_button(self):
     """
     Summary:
         登陆按钮
     """
     name_ = '登录'
     return button.UIAButton(self.parent, name=name_)
Example #12
0
 def back_button(self):
     """
         Summary:
             取消按钮
     """
     name_ = '取消'
     return button.UIAButton(self.__frame_view, name=name_)
 def close_button(self):
     """
         Summary:
             关闭按钮
     """
     name_ = 'album publish succ close'
     return button.UIAButton(self.parent, name=name_)
 def print_story_button(self):
     """
         Summary:
             打印故事集
     """
     name_ = '打印故事集'
     return button.UIAButton(self.parent, name=name_)
Example #15
0
 def photo_tab(self):
     """
         Summary:
             发图片tab按钮
     :return:
     """
     return button.UIAButton(self.parent, name='发图片')
Example #16
0
 def camera_tab(self):
     """
         Summary:
             相机tab
     """
     name_ = 'paizhao'
     return button.UIAButton(self.base_parent, name=name_)
Example #17
0
 def story_tab(self):
     """
         Summary:
             写故事tab按钮
     :return:
     """
     return button.UIAButton(self.parent, name='写故事')
Example #18
0
 def in_note_tab(self):
     """
         Summary:
             in记tab
     """
     name_ = 'in记'
     return button.UIAButton(self.base_parent, name=name_)
Example #19
0
 def album_title(self):
     """
         Summary:
             相册集的名称
     """
     xpath_ = '//UIAApplication[1]/UIAWindow/UIAButton[2]'
     return button.UIAButton(self.base_parent, xpath=xpath_).text
Example #20
0
 def center_tab(self):
     """
         Summary:
             中心tab
     """
     name_ = '中心'
     return button.UIAButton(self.base_parent, name=name_)
Example #21
0
 def choose_button(self):
     """
         Summary:
             继续按钮
     """
     name_ = "选取"
     return button.UIAButton(self.parent, name=name_)
 def paster_guide(self):
     """
         Summary:
             贴纸引导
     """
     name_ = 'pasterForGirl'
     return button.UIAButton(self.parent, name=name_)
 def next_button(self):
     """
         Summary:
             继续按钮
     """
     name_ = "继续"
     return button.UIAButton(self.parent, name=name_)
 def back_button(self):
     """
         Summary:
             返回按钮
     :return:
     """
     return button.UIAButton(self.parent, name='common nav back')
Example #25
0
 def user_head_bar(self):
     """
         Summary:
             用户头部信息栏,包括头像
     """
     xpath_ = '//UIAApplication[1]/UIAWindow/UIATableView[1]/UIAButton[1]'
     return button.UIAButton(self.base_parent, xpath=xpath_)
 def finish_button(self):
     """
     Summary:
         完成按钮
     """
     name_ = '完成'
     return button.UIAButton(self.parent, name=name_)
 def grid_button(self):
     """
         Summary:
             九宫格线按钮
     """
     name_ = 'camera grid'
     return button.UIAButton(self.parent, name=name_)
 def find_friend_in_contact_button(self):
     """
         Summary:
             找一找通讯录好友
     """
     name_ = '找一找通讯录好友'
     return button.UIAButton(self.parent, id=name_)
 def camera(self):
     """
         Summary:
             相机按钮
     """
     name_ = 'camera captureBtn'
     return button.UIAButton(self.parent, name=name_)
Example #30
0
 def cancel_button(self):
     """
         Summary:
             返回对话框上的取消按钮
     """
     name_ = '取消'
     return button.UIAButton(self.parent, name=name_)