I am trying to solve the RPA Challenge Movie Search I got the sentiment AI working but have an issue with clicking my answer.
So what it does is that it takes a review, analyse it, returns a value, and based on that value it should choose whether its a positive review or negative. The thing is, it clicks for the first review, but faults when I want it to click on the other reviews. in other words i wanted to scroll down all the reviews and select positive or negative.
Anyone has a solution for this guys? I tried to use anchor base but it faulted, tried to edit the selector, but had not enough knowledge to be able to adjusted.
I have completed this task by using uipath, AI model and javascript.
You need to apply javascript for dynamic click on negative and positive button
Please share your mail ID i will send my code to you.
I have completed the task by integrating rest API in the uipath workflow.
Steps followed:
Load the the website
Select popular movies
start challenge
Select first movie from the list by iterating using while loop (take ID as a parameter for dynamic selector)
a. extract the movie reviews using data scraping activity and save in data table(DT)
b. iterate through each row in DT and pass the review to web api (http request)
i. convert the string response to json object
ii. extract the sentiment from json object
iii. select the respective sentiment on the webpage with dynamic click activity
(parameter for dynamic selection - id of movie review and sentiment)
c. repeat the same for 2nd and 3rd movie
yes! but its not that difficult. there are already various documentation available. and to start with you can check the above video. There are some basics on how you can use an API in uipath. Let me know if you face any issues.