Keystroke are not working inside the For Each loop

For the first iteration, it is working, but from the second iteration, it is not working. What might be the issue? Anyone, please help.

Hi @LathaBasavaraju with which error does the script fail? Please share the details.

Hi @ashapkina, i got the solution for the above question, but i want to know is it possible to give the keys to press from variable.
e.g., keys to be pressed are stored in a variable, i tried options- “text from variable” and “Type text” but it didn’t work. These option are not using the data inside variable as a keys, instead they are treating it as a text to be typed in a specific address.

check the screenshot

@LathaBasavaraju no, you cannot do that - you need to define the keys in the action.