Friday, November 1, 2013

UFT (QTP) doesn't click Object

If you find  yourself in a situation where UFT (QTP) identifies an object in Object Repository but doesn't click on it, here is something to try:

Setting.WebPackage("ReplayType") = 2 'Mouse
Browser(" ").Page(" ").WebEdit(" ").Set "bla"
Browser(" ").Page(" ").WebButton(" ").Click
Setting.WebPackage("ReplayType") = 1 'Events

For more detail read this: http://www.knowledgeinbox.com/articles/qtp/settings/when-to-change-qtp-web-replaytype-setting/