It is very important that you exercise due diligence in selecting appropriate Synch Point. A properly setup Synch Point can make the test runs more resilient and reliable. A few guidelines to consider while setting up Synch Element:
- Unique Element: Pick an element that is unique for the given page. In many instances there may be common elements across multiple pages. If you pick such elements, you may get a false confirmation on wrong page load.
- Consistent Element: Ensure the element or page characteristic is stable and universally applicable in various states of the application. For instance, some elements may not be displayed under certain business conditions and hence won’t be appropriate for selection.
- Slow Element: Choose an element that often loads late in the page. This ensures rest of the page functionality is accessible by the time synchronization is complete.
If you are unable to find a suitable candidate for synch element, you also have an option to synchronize on the page text or title.