0

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").......

it switch to Win objects as shown in picture above. I really find difficulty to get back to Browser mode. How can I set up easily?

kk-dev11
  • 2,654
  • 5
  • 37
  • 48
  • 1
    If an upgrade to windows 7 caused the problem you may be using an older version of QTP (that doesn't support windows 7 out of the box) which version are you using? Also which version of IE is this? (8 or 9) and are you running a 64 bit version of the browser? – Motti May 27 '12 at 18:52
  • OP has explained that this is a problem elsewhere and the question is not longer relevant. – Kev Jun 07 '12 at 00:35

1 Answers1

3

Stating the obvious, but just to make sure: Do you have the Web Addin selected? And do you open QTP first before you open the browser?

In the past I've had some headaches to get QTP running at new workstations, just because the software is a bit picky about how it is installed. Most of the time, getting it re-installed by the IT department works out. Not just by running the re-install option, but a full uninstall/install cycle and respecting the "restart windows" message.

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.

I hope this is helping you. I can not guarantee this is the correct solution, because this kind of problems can have multiple (known as well as unknown) sources.

AutomatedChaos
  • 7,267
  • 2
  • 27
  • 47