Follow

Strengthening: Best Practices

This article provides an overview of best practices to follow when strengthening controls in order to create robust, reliable Zapps.

 

Start With Facts

Facts are the simplest way to provide the Designer with additional details about the control to enable identification. When strengthening, first review the default answers to each Fact and modify as appropriate. If the score remains low, move onto Anchors or other options.

 

Only Confirm Answers If You're Certain

Facts can also be confirmed by clicking the checkbox next to the answer. While this will further strengthen the control, it also means that Capriza will interpret the Fact as 100% true, rather than an assumption that may be prone to error. It is important to only confirm facts if you are certain of their validity.

 

Keep Maintainability in Mind When Using Advanced Functionality

Using Xpaths, JavaScript, or DOM distance can provide an easy way to accurately identify controls. However, as these attributes are dependent on DOM structure, they may be impacted by any updates made to your source application. Consider the frequency of source application releases and your visibility into these changes when using these features.

 

Don't Over Strengthen

While you may naturally feel inclined to aspire to all green controls, it may make the identification of the page too rigid, resulting in very little flexibility for source application changes. Resist the temptation to choose random anchors or confirm uncertain facts. Controls with a high degree of certainty based on bad information are more likely to lead to errors than controls with a lower score.

 

When in Doubt, Test!

Testing is the best way to judge if a control is strong enough. If you have a control with a score in the "yellow" but it renders appropriately each time, further strengthening is likely not required.

 

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

0 Comments

Please sign in to leave a comment.