October 8, 2014 at 1:04 pm
#4704
Moderator
Direct element find is the simplest to understand – the element you need to read can be found using a basic command.
f("MyData)"=Text(findString)
Direct element find in practice though is most often used in conjunction with the other two strategies, because it sets the current selected element: Web1.Selected
Allowing for either traversal down the list from that point using:
Set Web1.Selected = Web1.NextElement(Web1.Selected)
Or another Pause command:
Pause "a very specific find string"
Pause " a not so specific find string"
f("MyData)"= Web1.Selected
Or integrating a container located by a direct find e.g.
Pause “<TABLE>#GotLuckyTableHasAnID#”
F("MyData")=Web1.Table(2,2) ' give me text from row 2, column 2