Skip to main content
Question

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

  • Apr 23, 2022 12:08 PM UTC
  • 2 replies
  • 233 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

  • Navigator | Tier 3
  • Apr 23, 2022 1:21 PM UTC

you can use the web automation package the uses the JavaScript

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


Ashwin A.K
Forum|alt.badge.img
  • Navigator | Tier 3
  • Apr 23, 2022 3:10 PM UTC

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