OriginOfGoods: to detect the name of the Country field.
1
Create the Static Text element
In the Footer element, create an element of type Static Text and name it kwOrigin.
2
Enter the search text
Click the Static Text tab. In the Search text field, enter the text to find:
OriginOfGoods:.3
Set the location constraint
Click the Relations tab. The Country field can only appear below the footer of the table, so set this search constraint:
- Below the
Footer.kwFooterelement, Offset = 0
4
Restrict the search to the left half of the page
Click the Advanced tab. The Country field is in the left half of the image, so set this additional search constraint in the Advanced pre-search relations field: look for the object in the left half of the page. In the FlexiLayout language:
5
Verify the match
Match the FlexiLayout with the test images and confirm that FlexiLayout Studio detects the element on every image where it occurs.
