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

Best 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 it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

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 it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

RaviKumar3
Level 5
Hi @Cameron Pirrie,

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