QTP of those things - determine whether there is a page of text

You can get a unique object by getelementbyid, then you can operate the same js to manipulate the properties of all the html dom.

 

code show as below:

Browser("browser").Page("page").Object.getElementById("showMsg1").style.display="none"

Reproduced in: https: //www.cnblogs.com/alterhu/archive/2012/05/16/2503956.html

Guess you like

Origin blog.csdn.net/weixin_34233856/article/details/94029594