Web-based application pages can have both static and dynamically rendered content. In order to provide end users with contextual guidance for page elements, Newired has to find and identify them at runtime when the user plays the Journey. If it cannot, then the Journey fails.
Some types of elements are more likely to be found and identified at runtime than others. An Editor algorithm analyzes page elements as you hover over them and displays a reliability score as a set of 5 dots. The more solid-filled dots, the higher the reliability score. Green tones indicates higher reliability; red tones indicate lower reliability.
A lower reliability score does not necessarily mean the Step will fail at runtime, as the real time visibility of a given step depends on other factors as well.You should however be sure to test lower score elements in relevant runtime scenarios.
In the above figure, both selections will appear to the end user as pointing to the Main page item in the navigation menu. However, in a dynamic page environment, the Text element is much more likely to always be present, and so the algorithm gives it a higher reliability score. In general, you should try to always select an element with the best score which will still be clearly indicated to end users.
TIP: If the underlying app or site has the capability to render content in multiple languages, a Journey can fail even if a page element has a high reliability score in the Journey primary language. For such apps or sites, you may need to create translations of page elements. For information, see Translation/localization of Journey content and Translation of an Application or Web Site.
How to scroll precisely through the elements
To increase the selection accuracy, you can use the mouse combination Ctrl+Alt+mouse wheel (or touchpad movement). If the current selection should be more precise for improved reliability at runtime, the Editor notifies you as shown here:
TIP: The Reselect icon in the Step editor dialog enables you to change the element selection after a Step has been created and saved.
Element IDs and Reliability
Every page element has an ID, but there is no way for Newired to determine if an ID can be trusted enough to continue a Journey and run a Step.
For every Site, you should consult with the developers or support personnel of the underlying ap- plication or website to determine if page element IDs can be trusted. For example, some IDs may be automatically generated and change when the page is refreshed. In such cases, you need to tell the Newired system not to trust element IDs.
In the portal, open the Site and select the Site Settings tab.
Scroll the page to show the Trust page element IDs option.
If element IDs should not be trusted, uncheck the checkbox. Otherwise, check it.
When this option is checked, element IDs will have a minimum reliability score of 4. When it is un- checked, element IDs are still evaluated, but they will have a lower reliability score. This helps you make the best choice of available page elements and thus to reduce the chances of a Journey failing.
Selector Passive Mode
The selector "Passive Mode" enables you to check page elements which are visible only after clicks, for example hover menus, without selecting anything at this stage.To enable the "Passive Mode" du- ring a page element selection, press F3 on your keyboard.
NOTE: During the "Passive Mode" selection, the highlighting of a page element is grey instead of red. In this mode, it is not possible to select the page elements, you must disable the mode to attach the Step.
Reliability in the Step Editor and selector precision
While editing a step or tip, you can see its reliability in both the up-right corner of Step Editor and the up-left corner of selector precision. This way, if you make some changes in the selector precision, you can see realtime the reliability acquired or lost.