UiPath | Inject Java Script Code in UiPath | Automation Anywhere Challenge with JavaScript in UiPath

Published: 12 September 2021
on channel: Act Automate
3,864
49

#rpa #uipath #javascript
👉 𝐄𝐧𝐠𝐥𝐢𝐬𝐡
● This video is about solving the Automation Anywhere Challenge using JavaScript code in UiPath.
● With this video, the task is solved in less than one second.
● Advantage of the JS Code compared to the standard activities of UiPath, such as For Each Row, Set Text and Click.

👉 𝐆𝐞𝐫𝐦𝐚𝐧
● In diesem Video geht es darum, die Automation Anywhere Challenge anhand eines JavaScript Codes in UiPath zu lösen.
● Mit diesem Video wird die Aufgabe innerhalb weniger als eine Sekunde gelöst.
● Vorteil des JS Codes im Vergleich zu den Standard Aktivitäten von UiPath, wie For Each Row, Set Text and Click.

👉 Automation Anywhere Link: https://developer.automationanywhere....
👉 Convert DataTable to JSON String:    • UiPath | Convert DataTable To JSON | How t...  

🌟 𝗖𝗼𝗱𝗲
✔ function(element,JSONString)
✔ const JsonObject = JSON.parse(JSONString);
✔ document.getElementById("customerName").value = (JsonObject[i]["Company Name"]);
✔ if((JsonObject[i]["Offers Discounts"])=="YES")
✔ if((JsonObject[i]["Non-Disclosure On File"])=="YES")
✔ submit_button.click();

📝 𝐏𝐫𝐨𝐜𝐞𝐝𝐮𝐫𝐞
➊ Add Read CSV activity and add the path in it + create output variable: CSV_DT
➋ Create JSONString & JSONConvert variables
➌ Add Assign activity and write the statement in it: JSONConvert.SerializeObject(CSV_DT)
➍ Add Open Browser activity and add the link in it
➎ Select the browser, for example: Chrome
➏ Create Text Document and rename it in: Code.js & Save it
➐ Write your code in this JavaScript file
➑ Add Inject JS Script activity and insert the path of the JS file and the input parameter: JSONString
➒ Run the code to see the result.

✍ 𝗞𝗲𝘆 𝗪𝗼𝗿𝗱𝘀
→ UiPath
→ UiPath Automation
→ UiPath Activity
→ JavaScript
→ Inject JavaScript
→ Inject JS Script in UiPath
→ Run JS Code in UiPath
→ Java Script in UiPath
→ Automation Anywhere Challenge (Missing Customers)
→ Automation Anywhere Challenge in UiPath with Inject JS Script
→ Inject JS Script with input parameter
→ Inject JS Script with JSON Object
→ Parse JSON String to JSON Object
→ Convert DataTable to JSON String

👍    / @actautomate  


On this page of the site you can watch the video online UiPath | Inject Java Script Code in UiPath | Automation Anywhere Challenge with JavaScript in UiPath with a duration of hours minute second in good quality, which was uploaded by the user Act Automate 12 September 2021, share the link with friends and acquaintances, this video has already been watched 3,864 times on youtube and it was liked by 49 viewers. Enjoy your viewing!