Strengthening Basics: Facts & Anchors

What is Strengthening?


The reliability of a Zapp depends on the strength of the relationship between each source application web control and its corresponding mobile control. Strengthening refers to the process of providing the Capriza Designer with additional information about the web control itself and how it relates to other controls in order to enhance this relationship. This article covers the basics of what strengthening is and how you can use facts and anchors to strengthen controls.


Web Element Ranks 


Each control added to a Zapp is assigned a rank, which is an indication of Capriza's confidence in locating and uniquely identifying the web element on the web page. It consists of a numerical score (1-10) and a corresponding color (green, yellow, or red). The breakdown is as follows:


  • Green (7-10): Capriza has multiple ways of identifying the control.

  • Yellow (4-6): Capriza can locate the control but there is little redundant data.

  • Red (1-3): Capriza has very little information or none at all, so any slight change in the control puts it in jeopardy of not being located at all.

You can view a control's rank by hovering over the control in the mobile preview and clicking on the wrench icon.



Navigate to the "Identify" tab. The control's rank will be displayed at the top of the dialog.




In the case of a red or yellow ranked control, a red or yellow warning icon will also display in the mobile preview to alert you of the control's status.





There are two main ways of strengthening controls: Facts and Anchors. Facts are included in the Basic and Expert Identification sections under the "Identify" tab and relate to the control's content, placement, frequency with which it appears, and consistency throughout the source application. Each fact includes a default answer based on Capriza's underlying assumptions. You may modify these answers by toggling or choosing different options from a dropdown. Assumptions can also be confirmed by selecting the check icon next to the fact. Modifying or confirming facts may increase or decrease the web element’s rank depending on the answers provided.



Note: Please make sure to answer questions only when you are confident in the correctness of your answer. The default answer is Capriza's assumption and the platform takes into account the assumption may be incorrect when trying to locate the item on the web page. Once you confirm or modify an assumption, Capriza takes it as fact and relies on it much more heavily.

In addition, if you are sure your answer is correct, do not revert your answer if the rank decreases just to avoid this decrease. Giving the platform more accurate location information is just as important as increasing the rank.

An example of strengthening and using Facts is provided in the below video.




Anchors are elements that always appear in the same relative location to a control and can help Capriza more easily locate that control on the web page. Capriza automatically adds anchors as you grab certain controls, and anchors can also be added manually to help increase the web element ranking.


There are two types of anchors: text anchors and control anchors. Both are located under the Anchors section of the "Identify" tab.


Add a text anchor by clicking on the '+' icon and then selecting the "+ Add a New Anchor" option. You can then capture the text like any other control.



Available control anchors are included as options under the Anchors drop down menu. To add a new control anchor, capture the control as normal, and then select it from the menu.


Once a control anchor is added, it can be strengthened just like any other control on the page by selecting the wrench icon.



Each anchor has a relationship to the current web item. In the case of a table or list, the relationship can be "Column Header," and in the case of a pair, the relationship can be "Label". The option "Anchor Exists" is also available for situations where the anchor's position is not important to the relationship. "Custom" relationships can also be defined.


Depending upon the type of control, facts about the Anchor, such as whether all text remains the same or the control's alignment may also appear in the Anchor section of the "Identify" tab. As with the facts included under Basic or Expert Identification, you can modify and confirm the default values generated by Capriza as required by clicking the check icon.



Each web item also has a defined search region where it can be located relative to the anchor. If the relationship type is "Custom," you can edit this area by clicking on the pencil icon to adjust the anchoring region by dragging or moving it. Note: In this case, the element must be completely contained within the search region.



Lastly, you can highlight the web item Capriza was able to locate and the anchor on the web page by clicking on the magnifying glass icon.



Examples of key use cases for anchors are included in the following video.




For more information on Strengthening, please see the following articles:

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.