问自己今天是否比明天进步了 !
Dictionary Object !
上一篇 /
下一篇 2011-10-31 15:17:46
/ 个人分类:QTP学习
1. Dictionary Object properties :
1)binarycompare : for example : a and A is different !
2)textcompare: for example :a and A is the same !
3) datebasecompre : it is useful to access so i donot want to know !
4) key : is key , it is unique !
5)items : any objects !
Method :
Add : set d=new creatobject(scrpting.dictionary)
d.add"lastname","gao"
remove: d.remove"lastname"
exists : s=exists("lastname") result is true or flase
keys: r=d.keys return all keys in Dictionary d !
items:r=d.items return all items in Dictionary d !
removeall d.removeall
count : d.count return counts in Dictionary d !
more please see
http://www.excelpx.com/home/show.aspx?id=519&cid=15
收藏
举报
TAG: