51Testing软件测试论坛

标题: WinRunner:close browser windows [打印本页]

作者: pcl2004_27    时间: 2006-10-25 14:04
标题: WinRunner:close browser windows
Description

      WinRunner v7.x: close IE browser windows opened before WR started


Solution

      This function will close any Internet Explorer (IE) browser windows that happened to be open before WinRunner started.

This solution addresses the problem where WinRunner sees/learns the previously opened browser window as a class of "object" and the MSW_class as "mic_unknown_class".

Copy the attached text file into a compiled module, load the module, and call the function. You should be good to go.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2