English 中文(简体)
QTP:将浏览器对象检测为赢对象 [关闭]
原标题:QTP: detect browser objects as win objects [closed]

"https://i.sstatic.net/VTP4A.png" alt="QTP"/ >

I am testing web pages in QTP. I ve already created the object repository and it worked fine in XP. now we ve upgraded to Windows 7. There I reqularly facing a problem, that It doesn t detect any Browser objects more. Instead of

Browser("Browser").Page("page").......

它切换到上面图片中显示的 Win 对象。 我真的发现要返回浏览器模式有困难。 我如何轻而易举地设置?

问题回答

说明显而易见的情况, 但只是为了确定 : 您是否选择了 Web addin? 您是否在打开浏览器之前先打开 QTP?

过去,我曾经有些头痛要让QTP在新的工作站运行,只是因为软件对如何安装有点挑剔。 大多数时候,让IT部门重新安装该软件是可行的。不仅运行了重新安装选项,还运行了一个完整的不安装/安装周期,并尊重了“重新启动窗口”的信息。

QTP uses some hooks into your Browser to listen to events, so it can record them. When these hooks (deployed as Browser Plugins) are not correctly installed you can get this type of behaviour. That is also the reason why you have to open QTP first (with the Web Add in), before you can open the browser. Otherwise the plugin is not correctly loaded.

我希望这对你们有所帮助,我不能保证这是正确的解决办法,因为这类问题可能有多种(已知的和未知的)来源。





相关问题
QTP - testing while browser/page title changes

I am trying to make simple testing but failed because I have no clue how to handle with browser title that changes during the testing. Simple example: Google>Find "blabol" Once its done, the browser ...

QTP - 取得要素价值

我从QTP开始,仅仅找不到如何获得要素的价值。 例如,当我只想比较一下从山洞中发现的成果数量时。 我试图用物体选择这个要素......

Record enter button in qtp

How to record ENTER button that we use through the keyboard in QTP for applications

How do you write your QTP Tests?

I am experimenting with using QTP for some webapp ui automation testing and I was wondering how people usually write their QTP tests. Do you use the object map, descriptive programming, a combination ...

Dynamically building a URL in QTP

I ve been taking a quick look at QTP with one of our test team. We ve figured out some basics like recording a test, capturing text using output values, putting in check points, etc. However, I can ...

热门标签