How to send TextValues and Keyboard Keys in Set Element Activity

Hi team,

I am working on web page and performing a search on the page. I need to enter search text in search box and press enter from keyboard in set element activity. I am able to spy, recognize and type the text in search field but i want to know the syntax to pass text along with keyboards keys like Enter,Ctrl,shift keys

For example I want to pass Inv1234 and then Enter key in set element activity

Thanks,
Jagannath

Hi, have you tried using, ‘calculate value’ instead of ‘set value’ and the writing string + \n, \n is an new line in JS.