2011年7月12日

QTP往下拉IE的滚动条

摘要: 1. Dim pageobj '//定义画面对象Set pageobj = Browser("百度搜索_helloworld").Page("百度搜索_helloworld")'//画面对象赋值pageobj.RunScript("scroll(0,document.body.scrollHeight);")2.x = Browser("b").Page("p").WebElement("WebElement").GetROProperty("wid 阅读全文

posted @ 2011-07-12 14:38 张飞_ 阅读(1679) 评论(0) 推荐(0)

导航