Question

How we can Inject javascript function in web application. Where I'm using the variable as a function argument.

  • 23 April 2022
  • 2 replies
  • 26 views

There are some data stored in the variable, I need to run the javascript function to inject in web, And that function has lots of conditions so.

 

It is not like a string to pass by using , [document.getElementsByClassName[' '] [ ] .value= " " ;


2 replies

you can use the web automation package the uses the JavaScript

https://www.youtube.com/watch?v=qf_knwQnGOI

Userlevel 3
Badge +7

Hi @Prabhash Behera​ ,

 

Could you tell us a little more about the operation you are trying to perform?

 

Since you are using RPA, it would make sense to use Actions to automate the application.

Also do keep in mind that the person tasked with supporting your automation might or might not understand JavaScript.

 

If you have to use JavaScript, then you could download the Web Automation Package from the Botstore.

But I must warn you, this is only a Community Supported Package, which means the Automation Anywhere Product team will not be able to support you if you face any issues working with it.

 

Kind Regards,

Ashwin A.K

Reply