@soclabador Although you could use a loop to review the text fields, you may not need to use a for loop. Each textbox on the “Track Shipment” page has an unique id that could be used to identify each box.
However, if you want to use the for loop, then you will need to use it on a List< WebElement> object. An example is below: