QTP隐藏对象 - WebUtil

作者:zzxxbb112
时间:2009/10/19 版权所有,侵权必究。

出处:http://blog.csdn.net/zzxxbb112


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

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

 image

这个方法提供了对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

posted @ 2011-10-19 21:24  Sirrah  阅读(356)  评论(0编辑  收藏  举报