def check_edit_timeout_timed_tip(self, n, value, unit, text):
     #点击客户端菜单
     tmp = ClientsBusiness(self.driver)
     tmp.clients_menu()
     #点击时间策略菜单
     TimePolicyControl.timepolicy_menu(self)
     #点击编辑按钮
     TimePolicyControl.edit_button(self, n)
     #设置客户端重连超时类型
     TimePolicyControl.set_reconnect_type(self, n, "timed")
     #设置客户端重连超时
     TimePolicyControl.set_connection_timeout(self, n, value)
     #设置客户端重连超时的单位
     TimePolicyControl.set_connection_timeout_unit(self, unit)
     #判断页面上提示信息是否正确
     result = TimePolicyControl.check_error(self, text)
     return result
 def change_timeout_timed(self, n, value, unit):
     #点击客户端菜单
     tmp = ClientsBusiness(self.driver)
     tmp.clients_menu()
     #点击时间策略菜单
     TimePolicyControl.timepolicy_menu(self)
     #点击编辑按钮
     TimePolicyControl.edit_button(self, n)
     #设置客户端重连超时类型
     TimePolicyControl.set_reconnect_type(self, n, "timed")
     #设置客户端重连超时
     TimePolicyControl.set_connection_timeout(self, n, value)
     #设置客户端重连超时的单位
     TimePolicyControl.set_connection_timeout_unit(self, unit)
     #点击保存
     TimePolicyControl.click_save(self)
     TimePolicyControl.apply(self)