Select all text currently in a textbox and overwrite it

0 votes

I need to be able to select all text currently in a textbox and overwrite it. Manually, I would click on the box, press CTRL-A and then type my new text. I don't seem to be able to do that with Kantu - the instruction it creates just types 'A'. How would I go about doing this?

I am using the Kantu Community Edition for an automation project.

Nov 14, 2018 in AWS by Jino
• 5,820 points
1,575 views

1 answer to this question.

0 votes

You can achieve this with the Javascript command

It allows you to execute Javascript in the content of the loaded website (content script).

So if you, for example, want to overwrite a phone number in an input box, just set it to a new value via the DOM (and thus erase any existing content). Example:

var b = document.getElementById('phone'); b.value="+1-305-123456";
answered Nov 14, 2018 by Theodor
• 740 points

Related Questions In AWS

0 votes
1 answer

Unziiping a tar.gz file in aws s3 bucket and upload it back to s3 using lambda

Hi@khyati, You can do your task using lambda. ...READ MORE

answered Dec 3, 2020 in AWS by MD
• 95,460 points
18,744 views
0 votes
1 answer

How to upload to Dropbox and overwrite a file Using CURL

You need to use mode with parameter ...READ MORE

answered Aug 8, 2018 in AWS by Priyaj
• 58,020 points
5,160 views
0 votes
1 answer

Is it possible to find all S3 buckets given a prefix?

The high level collection command s3.buckets.filter only ...READ MORE

answered Aug 27, 2018 in AWS by Archana
• 4,170 points
6,628 views
0 votes
2 answers

How to skip headers when reading a CSV file in S3 and creating a table in AWS Athena?

Thanks for the answer. This should be clear ...READ MORE

answered Aug 14, 2019 in AWS by athenauserz
11,833 views
0 votes
1 answer

How to have a server 2012 in cloud and my users in different location

You will access the server the same ...READ MORE

answered Sep 25, 2018 in AWS by Priyaj
• 58,020 points
871 views
0 votes
1 answer

In BluePrism, How to select an option using Key or Click events?

I'd suggest making this one and every ...READ MORE

answered Oct 26, 2018 in RPA by Priyaj
• 58,020 points
6,449 views
0 votes
1 answer

UiPath - Citirx Automation

best way to do that is to ...READ MORE

answered Apr 13, 2018 in RPA by wrecker
• 3,110 points
1,305 views
0 votes
1 answer

UiPath - Web Scraping

Multiple solutions are listed below: Check your Selector Use ...READ MORE

answered Apr 13, 2018 in RPA by wrecker
• 3,110 points
2,015 views
0 votes
1 answer

Robot Manager in UiPath

the robot.exe file is located in: C:\Users\USER_ACCOUNT\AppData\Local\UiPath\app-17.1.6523\Ui-Robot.exe Hope it ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,882 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP