Can spy but not add some objects to repository

  • Questions
  • Can spy but not add some objects to repository
Question ID: 107460

While trying to add some Web objects to repository, the error "The selected object cannot be added to the object repository".So far HTML tags of the objects identify to show this behavior are APPLET or OBJECT, however the Object Spy can see them.

Marked as spam
Posted by (Questions: 26, Answers: 0)
Asked on February 17, 2017 1:13 pm
Answers (1)
Private answer

**By default, the mentioned HTML tags are configured at Web Add-in registry level, to ignore them, causing to give the error.**

The main reason for this intended ignore, is because such tags are normally used by other add-ins other than Web Add-in, for example, Java Add-in or Oracle Add-in (for APPLET tag) and Flex Add-in (OBJECT tag).

An alternative, if required to interact with such type of controls, and mentioned dedicated Add-ins will not be used, then:

Note: Below scenario is an example, where planning to add WebElement, based on OBJECT html tag, to repository

Don't load mentioned add-ins (Flex, Oracle or Java Add-ins)

Open Windows Registry Editor (run command: regedit)

Navigate to below path:

[HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestPackagesWebPackageSettings]

Update ''TagsToIgnore'' value:
Default: '';APPLET;OBJECT;''
Updated: '';APPLET;_OBJECT;''

Restart Browser and HPE testing tool.

Marked as spam
Posted by (Questions: 0, Answers: 27)
Answered on February 17, 2017 1:22 pm