Hi,
I found a nice solution to your problem

. Instead of the
DummyTable thing, which is not as accurate and which is hard to understand, I wrote an actions tree called
Reflect Kind. This actions tree takes three kinds: a
source, a
parent and a
target. What it does is, first, selects the
source kind, then for each selected element goes up the HTML tree until it finds an element of kind
parent, and these
parent elements are selected (which means only
parent elements that contain a
source element will be selected). Then it does the opposite. Goes down the HTML tree from each of the selected
parent elements until it finds a
target element, and these
target elements are selected. From here, you can use a
Navigate Each action that navigates through the currently selected items (by setting the
Use current selection option).
So in your project, firstly, I added a small javascript gatherer called
JS_StartsWith, which returns
true if the text of the element starts with "Kodak ESP" or "Kodak HERO" (you can look at the code from
Project -> JavaScript Gatherers -> JS_StartsWith and see how you can add valid starting strings to it). Then, I created the
Valid Links kind which selects only links where the
JS_StartsWith property is
true (and therefore only links to "Kodak ESP" or "Kodak HERO" items).
I also added the
Containers kind, which selects the DIV elements that contain both the links and the elements that your
Select By Reviews kind selects (the amount of reviews link). What I did to create this kind was simply select one of the links and keep hitting the
Select parent button in the selection panel until I saw that the amount of reviews link was highlighted, and created the kind. Then I did the same thing with some other links and added them to this kind until it started selecting 16 items on a couple of pages.
Finally, I added a
Reflect Kind action to your
Actions tree 1 that uses
Containers as a parent,
Valid Links as a source, and
Select By Reviews as a target. So what will happen is that
Valid Links will be selected (remember, only links to "Epson..."), then
Containers that contain these links (only) will be selected, and finally
Select By Review items that are contained by these containers will be selected.
Notice the I've set the
Navigate Each action to only
Use current selection and to not
Simulate click. You cannot simulate click while using current selection, but even if you could, I strongly recommend only using this option when necessary (the easiest way to figure out whether is necessary or not is by testing without the click first).
Make sure the new kinds are selecting elements on your end. The
Containers kind should select every item on any results page. And the
Valid Links should select the kind of links I just described above.
Let me know if you have any question.