Support > Forums > OpenBots Studio > Advanced Send Keys in browser

Advanced Send Keys in browser

AKESH KOSHY

  • Reporter
  • Calender Icon May 31,2021 at 11:22 AM

How to send Advanced send keys through set text selenium Browser action. I want to send [PageUp] but unfortunately, the set text action is only accepting a string. how to achieve this?

This forum has 172 topics, 459 replies, and was last updated 2 hours ago by Poornima Malv

Akesh John Koshy

  • Participant
  • Calender Icon June 05,2021 at 11:25 AM

Thanks for the info ! @Nataly

Nataly Alvarado

  • Participant
  • Calender Icon June 04,2021 at 2:12 PM

Hello Akesh,

Normally we enforce C# syntax rules. For example, you can write the mentioned sentence as follows: "Hello my name is "Akesh"" The one caveat with allowing keystrokes through the square brackets format, is that the [ ] characters cannot be used as strings. Our development team has been made aware of this, and will implement a solution.

Akesh John Koshy

  • Participant
  • Calender Icon June 02,2021 at 5:55 PM

Thank a lot Nataly !

so a quick question . How do u skip an escape character then ? for eg i want to set a text on to a web field " Hello my name is ""Akesh"" . How do u escape the quotes ? similarly how will u escape square bracket within the string as square bracket is used for send keys .

Thnx in Advance

Have a Good Day !

Nataly Alvarado

  • Participant
  • Calender Icon June 02,2021 at 4:52 PM

Hi Akesh,

You can send Advanced keystrokes to a website's text field using the Element Action command. To do so, select "Set Text" as the action and include the action in the following format: "[PageUp]" You can also include text and action in the same field: "Hello[enter]"

You are not authorized to reply, please click here to login and add your reply to this topic.