TA的每日心情 | 无聊 2018-9-27 10:05 |
---|
签到天数: 36 天 连续签到: 1 天 [LV.5]测试团长
|
回复 1# tmdbt100200
哈哈~这样算不算作弊啊~嘿嘿~- Dim arrList
- arrList = Browser("[QuickTest Pro] - 51Testing软件测").Page("[QuickTest Pro] - 51Testing软件测").WebElement("html id:=typeid_ctrl_menu").GetROProperty("innerHTML")
- arrList = Replace(arrList,"<UL>","")
- arrList = Replace(arrList,"</UL>","")
- arrList = Replace(arrList,"</LI>","")
- arrList = split(arrList,"<LI",-1,1)
- For i = 0 to ubound(arrList)
- arrList(i) = mid(arrList(i),instr(1,arrList(i),">")+1)
- print "arrList(" & i & ") = " & arrList(i)
- Next
复制代码 |
|