Unable to click WebButtons after upgrading from QTP to UFT?
Question ID: 107412

A few of our test scripts that were authored with QTP have some WebButtons that used to click fine before upgrading. We upgraded to UFT, and now the same exact buttons will highlight but the Click operation doesn’t work. Tried re-adding the same objects, but it doesn’t work (we’re using IE11 for our AUT). Any ideas?

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on January 27, 2017 7:56 pm
Answers (1)
Private answer

You might wan to try the Web Add-in setting, ''ReplayType'' ...you can either enable for all of your .Click operations in the test script, or at a ''click-by-click'' basis:

To enable for all .Click operations in your test:

UFT > Tools > Options > GUI Testing > Web > Advanced > Replay type > Mouse

If you want to enable for just one click:

'ReplayType Enable
Setting.WebPackage(''ReplayType'') = 2

Browser(''Your Browser'').Page(''Your Page'').WebButton(''Your Button'').Click

'ReplayType Disable
Setting.WebPackage(''ReplayType'') = 1

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on January 27, 2017 7:57 pm
Thanks! Went ahead and enabled for my whole script. Works well.
( at January 27, 2017 7:58 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top