def close_wizard_click_othermenu(self): #点击关闭按钮 SWControl.close_wizard(self) #进入接入点确定没有设置向导窗口 SWControl.menu_css(self,u"接入点","Access Points") result = SWControl.check_wizard(self) return result
def othermenu_click(self): result = [] #进入接入点 SWControl.menu_css(self,u"接入点","Access Points") ##点击页面上的问号开启设置向导 SWControl.SW_menu(self) #检查登录web界面,判断是否会显示向导页面 result11 = SWControl.check_wizard(self) #下次不再显示是否被选中 result12 = SWControl.get_hidenexttime(self) SWControl.close_wizard(self) if result11 == True and result12 =="true": result.append(True) else: result.append(False) #进入SSIDs SWControl.menu_css(self,u"SSIDs","SSIDs") ##点击页面上的问号开启设置向导 SWControl.SW_menu(self) result21 = SWControl.check_wizard(self) #下次不再显示是否被选中 result22 = SWControl.get_hidenexttime(self) SWControl.close_wizard(self) if result21 == True and result22 =="true": result.append(True) else: result.append(False) #进入客户端 SWControl.menu_css(self,u"客户端","Clients") ##点击页面上的问号开启设置向导 SWControl.SW_menu(self) result31 = SWControl.check_wizard(self) #下次不再显示是否被选中 result32 = SWControl.get_hidenexttime(self) SWControl.close_wizard(self) if result31 == True and result32 =="true": result.append(True) else: result.append(False) #进入系统设置 SWControl.menu_css(self,u"系统设置","System Settings") ##点击页面上的问号开启设置向导 SWControl.SW_menu(self) result41 = SWControl.check_wizard(self) #下次不再显示是否被选中 result42 = SWControl.get_hidenexttime(self) SWControl.close_wizard(self) if result41 == True and result42 =="true": result.append(True) else: result.append(False) return result