cancel
Showing results for 
Search instead for 
Did you mean: 

Global Send Key {ENTER} and ~ not working

CameronPirrie
Level 2
Hello! I am attempting to use Global send keys to hit {ENTER} on a website.

Have tried {ENTER} and ~ but neither seem to work. 

Attached is the screenshot of my Navigate Action, the 1st Global Send keys works fine typing a string.

The Element is the Chrome browser (root element)

This is the error message:

Internal : Failed to evaluate argument newtext - Data items must be between [ and ]. Text must be between " and ". Functions should be in the form FunctionName()

Any suggestions on how to correct this would be much appreciated!

36377.jpg
1 BEST ANSWER

Helpful Answers

Hi @Cameron Pirrie,

Try to give the exact Text value as "{ENTER}" and​ try it once. As the error says, you need to also surround your text with the double quotes.

Also, as a best practice remember first try to send a click or make the element focused by using Click or Global Mouse Click Center action and then you provide the Send Global Keys action with the root element of your Application Tree as the element not the element where you are actually typing the text.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if this resolves your query then please mark it as the "Best Answer" so that others having a similar doubt can easily track the answer.

Regards,
Devneet
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

View answer in original post

2 REPLIES 2

Hi @Cameron Pirrie,

Try to give the exact Text value as "{ENTER}" and​ try it once. As the error says, you need to also surround your text with the double quotes.

Also, as a best practice remember first try to send a click or make the element focused by using Click or Global Mouse Click Center action and then you provide the Send Global Keys action with the root element of your Application Tree as the element not the element where you are actually typing the text.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if this resolves your query then please mark it as the "Best Answer" so that others having a similar doubt can easily track the answer.

Regards,
Devneet
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

RaviKumar3
Level 5
Hi @Cameron Pirrie,

Pls try {ENTER} between double quotes ​and make sure your target application is activated and well focused.