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,540 points
1,364 views

1 answer to this question.

0 votes

This worked 

function check() 
{
 if(document.readyState === "complete") 
 {
    document.getElementsByName("selSearchField")[1].checked = true;
  }
}
answered May 24, 2018 by wrecker
• 3,110 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, 2019 in RPA by Pratibha
• 3,690 points

edited Mar 7, 2019 by Pratibha 528 views
0 votes
1 answer

What are the issues and limitations of using Native Citrix support for Citrix apps in UiPath studio?

Hello @Gauri, there are a few limitations ...READ MORE

answered Mar 28, 2019 in RPA by Pratibha
• 3,690 points
1,214 views
0 votes
1 answer

TO PRINT ARRAY OF INTEGER IN MESSAGE BOX WITHOUT USING FOR EACH ACTIVITY IN UIPATH

In case you don't want to use ...READ MORE

answered Apr 3 in RPA by Jake
537 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
778 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,110 points
658 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,110 points
1,463 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
523 views
0 votes
4 answers

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

These are the steps to add two ...READ MORE

answered Aug 2, 2019 in RPA by Shivi Singhal
6,735 views
0 votes
1 answer

“Read CSV” activity missing in UiPath Studio

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

answered Apr 23, 2018 in RPA by wrecker
• 3,110 points
629 views