Silk Performer Browser Application unable to track Web Page Object

Silk Performer Browser Application unable to track Web Page Object

The display of a green border around a DOM object within Silk Performer's Browser Application signifies that the object on the page is now 'tracked'.

Tracking is enabled by default within Silk Performer's Browser Application - ACTIONS | ENABLE TRACKING.

By tracking an object, the Silk Performer Browser Application, using it's own internal algorithm, can assign it (after a specific action is taken) a unique xpath locator string, which is the key component used to identify an object during browser driven script replay.

With the object tracked:

1) By clicking (in the scenario of a recording), the browser application's record window will display a unique locator string for that object, along with an associated browser driven BDL function. It is this combination which is presented within the subsequent recorded .bdf script.

2) or by choosing Pause | Break on the keypad (during record or manual access through the Browser Application - SILK PERFORMER | TOOLS | BROWSER APPLICATION), the locator for the object will be displayed within the Locator Spy window.

As highlighted previously, the xpath locator string is key to the identification of an object during script replay, therefore it is imperative that the correct object is tracked prior to attaining the locator.

It has been noted that when the Operating System's Display Scaling is increased to a size greater than 100%, the Silk Performer Browser Application has issues successfully tracking the DOM object. As opposed to the object having a clear green border, a completely different object or part of the page is highlighted, irrespective of whether the correct object is interacted with, i.e. clicked. Thus because of the tracking issues, an incorrect xpath locator string is returned.

It is recommended that during Browser driven testing, the Desktop scaling, on all machines, is set to 100%.

To check or change the Display 'Scaling' settings, open the Control Panel and search for the 'Display' option.

Depending on Operating System, the scaling options, i.e. 100%, 125%, 150%, maybe presented as Radio Buttons or a slider bar. It is imperative, to avoid any tracking problems, that this setting be set to 100%.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2018-03-16 23:43
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.