|
Introduction
The assumption here is that the "searching" within the current page.
Remember, the search always begins at the current sourceIndex and results in
a change to the sourceIndex only if the requested search is successful.
A Note About Perspective On A Page | ||
UP | This means "up" on the page as seen by the viewer, i.e. toward the top of the page. | This means decreasing index numbers.
The top of the page is "0". |
DOWN | This means "down" on the page as seen by the viewer, i.e. toward the bottom of the page. | This means increasing index numbers. |
Example Usages
Here are some typical eValid Index Motion command sequences
that illustrates the
process for positional navigational activity.
... # Start at the top of the page... IndexSet 0 # Here is the line in the table we want... IndexFindElement 0 DOWN "innerText" "UPS Next Day Air" "" # Now, move just a bit down...to avoid a conflict... IndexMove +5 # Here is where we want to click... IndexFindElement 0 DOWN "tagName" "INPUT" "" # Now, go ahead and click and wait for the expected navigation... IndexElementClick 0 "" NAV # Or, push the mouse down and up (this is NOT the same as a click)... IndexElementMouseDown 0 "" IndexElementMouseUp 0 "" ... |