51Testing软件测试论坛
标题:
取得网页指定图片数量
[打印本页]
作者:
lengz
时间:
2007-8-15 16:07
标题:
取得网页指定图片数量
比如网页上有N个图片,图片的feil name是一样的,我怎么才能取得这些图片的总数?
作者:
surlary
时间:
2007-8-15 16:18
试试这样:
Set desc = Description.Create()
desc("micclass").Value = "Image"
desc("file name").Value = "图片文件名"
MsgBox Browser("*").Page("*").ChildObjects(desc).Count
复制代码
作者:
lengz
时间:
2007-8-15 16:33
OK了谢谢
作者:
luofeng
时间:
2007-8-15 16:49
学习
作者:
majesty
时间:
2007-8-15 22:32
学习了
作者:
zengfanjin5588
时间:
2007-8-16 11:07
code下来看看
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2