Injecting JavaScript for selecting the option button using UiPath Inject JS Activity

0 votes

I am trying to automate one of the business process using UiPath. One of the requirement was to select the option button "Containing" as shown below.

enter image description here

In UiPath, there is a activity to InJect JS on a webpage and i would like to use this activity. For this to work, i need to write a JavaScript to select the option.

HTML tag for the radio button is below :

<INPUT type="radio" value="containing" name="selSearchField" ></Input>
May 24, 2018 in RPA by Atul
• 5,470 points
415 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

This worked 

function check() 
{
 if(document.readyState === "complete") 
 {
    document.getElementsByName("selSearchField")[1].checked = true;
  }
}
answered May 24, 2018 by wrecker
• 3,090 points

Related Questions In RPA

0 votes
1 answer

How to get the IP address, subnet mask and default gateway for all adapters using UiPath?

Hi Rakshit, in order to get the ...READ MORE

answered Mar 7 in RPA by Pratibha
• 2,520 points

edited Mar 7 by Pratibha 51 views
0 votes
1 answer
0 votes
1 answer

What are the general requirements for installing UiPath?

Hey @Avinash, if you have a Macbook ...READ MORE

answered Mar 8 in RPA by Abha
• 5,840 points
94 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
236 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
189 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
772 views
0 votes
3 answers

Any open source tools for RPA ?

Yes, here is the Free RPA tool ...READ MORE

answered Oct 24, 2018 in RPA by Karthiksiddhu
• 240 points
123 views
0 votes
2 answers

How to find the sum of 2 columns of an excel and display it in a 3rd column using UIPATH?

1. First use the excel application scope ...READ MORE

answered May 16 in RPA by Venkat
• 260 points
1,136 views
0 votes
1 answer

“Read CSV” activity missing in UiPath Studio

Go to your Manage Packages Package and Install the Ui ...READ MORE

answered Apr 23, 2018 in RPA by wrecker
• 3,090 points
312 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.