UntilVisible does not allow using variables

Issue Report Template

Title:
UntilVisible does not allow using variables

Description:
I am trying to do;
SendKeys NEXT -UntilVisible {orgName}

where {orgName} is set as a parameter and (mostly) works with Click Text. OCR seems to be a bit hit and miss on my machine.

Agent Version:
Unsure, but it seems to be the latest as of 20240726.

Expected Result:
I would expect the variable to expand to the text set, then for the action to repeat until said text was visible.

Actual Result:
Scenario won’t run. Error is: Object reference not set to an instance of an object.

Steps to Reproduce:
Insert the following into a scenario where you have defined {orgName} and try to run it.
SendKeys NEXT -Repeat 12 -UntilVisible {orgName}

Hi @mschechter ,

OCR should work all the time. If there are some special characters this is the moment you need to be more careful. Other than that it is working fine. Try to use verify location button and reports to check if your scenario is working as expected. You can share a screenshot and I can tell you what is not working and what could be possible solution if that is the case.

Next thing about the parameter, Please try this. You forgot to add “Text” as a classifier
SendKeys NEXT -Untilvisible Text {hello}