Using Type for VisualSearch

The solution is to use the #efp command after the image search. It gets the element name from the x/y coordinates. And this element locator works with all commands that take a locator as input (click, type, storetext,…)

In the screenshot below you see a basic example that works with our contact form:

When you create the image make sure the center of the image is on the input box, because the x/y of the image center is used to get the element locator - and you want the locator of the input box, not of the text next to the box.

efptype