webUtil 对象 --转载

2010-03-09  胡睿 

  • webUtil  ----  此对象在QTP的帮助文档里以及对象浏览器里都是找不到的,可以说是QTP的一个隐藏对象

我们只需要在专家视图中输入WEBUTIL再加一个点,就是展开许多的方法:

这个方法提供了对COOKIE以及证书等的一些操作,以下是TARUN提供的一些方法说明大家可以看一下:

WebUtil.<Method>
Description :

DeleteCookie :
Delete specified cookie for the specified domain
DeleteCookies :
Delete all cookies present on the local cache
GetCookies :
GetCookies for a specified domain
AddCookie :
Add specified cookie for a specified domain

247°/2473 人阅读/0 条评论 发表评论

登录 后发表评论