"Descriptor_ Fix My Workflow Solution" - The solution does not achieve the objective

hello everyone.
I am trying to do exercise 2 in the link. It turns out that the project they offer as a solution is not going well. You do not comply with the exercise instructions, or you misunderstood the instructions.
I understand that the final instruction was that the user enters the name of any movie and the project returns the rating.
Doesn’t work with different movie names.
Does anyone have the right solution, I couldn’t figure it out.
UiPath Academy
UiPath Academy

Edit:
The objective of the course is to be able to refine or create a descriptor for the imbd page, which selects a movie among all the ones there are.
The problem is that if I change the movie I cannot generate a descriptor, with a good enough anchor so that if I change the movie it will choose the movie correctly.

Clarification: it is an exercise in descriptor refinement, the idea is to work on the drop-down menu that appears when we write the name of the movie. I am not looking for solutions that go outside that context.

Greetings to all, Merry Christmas

@Matias_Clemente.Arg

Can you please show what you tried

Cheers

Hi! the idea is to work on the drop-down menu that appears when we write the name of the movie.
Go to https://www.imdb.com/ and search a movie, You will see that a list of movies is displayed according to the name you enter in the search engine. The idea is to generate a descriptor (Target and anchor) that allows you to click on the cell that contains the searched movie.
Merry christmas

@Matias_Clemente.Arg

Indicate the movie name in the ui explorer

And then make sure you have the innertext attribute or aaname selected which will contain the movie name…you can use variable in place of it to click on any movie searched

For example selector looks close to this and adding case insensitivity sot hat the name we provide need not be in same case as the name is displayed

<webctrl tag='A' innertex='*{{Variable}}*' casesensitive:innertext='false' />

Cheers

1 Like

Ok, I’ve tried it like this, but it turns out that when I choose the name of a movie that doesn’t appear first (for example: Alabama), the target doesn’t find it, and the anchor ALWAYS points me to the first element above. I can’t find a way to refine them to achieve a reliable selection.

I spent many hours trying to achieve it, I give up. I think this exercise is impossible

Thanks any way.