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%.
↧