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,550 points
193 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

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
• 56,160 points
481 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,090 points
345 views
0 votes
1 answer

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

This is a known deficiency. The best ...READ MORE

answered Sep 4, 2018 in AWS by Archana
• 4,090 points
750 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
• 56,160 points
25 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
• 56,160 points
2,007 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,090 points
168 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,090 points
143 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,090 points
306 views