Function menu_click(menu)
menuname=trim(menu)
Browser("title:=我的系统").page("title:=我的系统").Frame("name:=menutree").Link("name:="&menuname).Click
End Function
menu_click "首页[我的首页]"
回放提示找不到菜单,实际是存在的。
怎样才能忽略掉参数里面的特殊字符呢?作者: TIB 时间: 2010-6-28 18:10
QuickTest evaluates all property values in programmatic descriptions as regular expressions. Therefore, if you want to enter a value that contains a special regular expression character (such as *, ?, or +), use the \ (backslash) character to instruct QuickTest to treat the special characters as literal characters.