Browser(”micClass:=Browser”).[method] not working in UFT 12.01

  • Questions
  • Browser(''micClass:=Browser'').[method] not working in UFT 12.01
Question ID: 105729
1
0

Descriptive coding is working differently in UFT 12.01 for IE11. For example:

Browser("micClass:=Browser").[method]

This line works in any version except in IE11. In IE11, UFT 12.01 is failing with the following error:

"The "[ Browser ]" object’s description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object."

Marked as spam
Posted by (Questions: 344, Answers: 24)
Asked on November 18, 2014 4:39 pm
26 views
Answers (1)
1
Private answer

Browser(''micClass:=Browser'').[method] works with IE 11 as with any previous version. There are a few things that could be causing it to fail, however.

1. Ensure the browser is opened AFTER UFT.
2. In IE, go to Tools>Manage Add ons and check that the BHOManager Class is enabled. If not, enable it and try again.
3. In UFT, go to ''Record>Record And Run Settings...'' and check all tabs to ensure the top radio button, ''Record and run test on any open...'' is selected.

Marked as spam
Posted by (Questions: 16, Answers: 754)
Answered on November 18, 2014 4:41 pm
Those suggestions worked, we can now use the descriptive coding to interact with our browser!
( at November 18, 2014 4:41 pm)