I started a project to grab data from ecommerce site;
Project is herewith enclosed Siggi 01.zip (1.8 MB)
I used a “Find child” activity to grab data about Size (Taglia) and Colors (colore) but it doesn’t work;
I had issue about validation of selector that i fixed;
everything seems fine but in my xlsx file… Ihave nothing!
What is happening when you run it. Are there no items in Ui_Taglia? The wrong items? Put a breakpoint on the For Each and then Debug your process. When it pauses, look at Ui_Taglia to see if it has data. Also, you have to fill in the Filter to tell it which elements to find. You first designate the selector of the parent container (not a child you want to find). It could be a section of the page, a table, a form, or even the entire page. Then you set the filter - for example, if you want it to find all text boxes you’d make the filter…
<webctrl tag='input' type='text' />
However, have you tried the For Each UI Element activity? It’s the new, modern equivalent of Find Children.
in general you are interrested on the option elements from the select element (the dropdown)
It can happen when indicating the element for taking the selector the element of interest (select) is not catched (your case a span).
This we correct afterwards manually by handcrafting the selector
Find children can define a filter (recommended to do this, example your case above). When the elements to catch are not direct children we set the FIND Scope to FIND_DESCENDANTS
So now next step in your modelling is to correct the selector from the find children activitiy
That means that your Find Children is not configured correctly and is not returning any UI Elements into Ui_Taglia.
Show us your selector. Show us your Filter.
Again, though, I suggest switching to modern and using the For Each UI Element activity. It’s much more user friendly and I bet you’ll get it to work easily.
OK… maybe I have understood; As you see in product page, there is a dropdown menu for Size (“Taglia”); I have selected it manually… and result is what you have correctly indicated above (which is marked by you as wrong)
Now…question is:
what is “the correct selector” in product page? How can I set it correctly?
However, we would recommend to take a break and get refreshed. Once back check again the entrie communication thread an scan for the early given hints:
Really sorry for my bad english;
my GOAL is to obtain a file xlsx with all data from that site and import it with a plugin in a TEST ecommerce site;
I need to obtain (for every product of course) a column in my excel file where there are all sizes separated by comma for that product:
so for example
38,40,42,44,46,48,50 …and so on
So, the issue is that i’m not able to set properly the selector for the dropdown menu in every product page;
I followed instructions of @ppr and after I had correct maually in UI Explorer the selector I have this