as

Wednesday 29 January 2014

QTP identifies the webobjects as winobjects

Sometimes QTP fails to identify the objects as expected.

For example, If we are testing the web application, QTP must identify the objects inside page as webobjects like webedit, webcheckbox
But QTP identifies these objects as winobjects. Similarly if you are working on the .Net based application, Objects should be identified like swfwindow, swfbutton etc.
But again QTP identifies the objects as winobjects.

Solution : To make sure that QTP identifies the objects correctly, we need to check below things.

  1. Ensure that appropriate add-in is installed. For example For .Net application, we must have .Net Add-In installed.
  2. Start QTP before application under test(AUT).

If above 2 steps do not work then we can try below things that I found on internet.

1.       Record and run on any browser
2.       Uncheck enable protected modes
3.       Disable UAC from Control Panel
4.       Tool->Options->Restore Layout and try



What do you think on this topic? Please express your opinion through comment below

Sponsored Links

Popular Posts

Comments

ShareThis