You can certainly configure the match rules to your control such that it matches all of your results. In order to have this be contained in a single control (so that you can iterate through a list), you enable the UseKeys property of a given control. This allows you to match against all instances of that control. In your automation, you can call GetClones() on a given control where you have enabled UseKeys and pass that list into a ListLoop to iterate through. The item coming out of the ListLoop is one instance of that control.
Cant do it without some help videos or something hehe,
i just need to do a bot , if we put a parameter in pega like "Appian" , my robot go to page and search 5 news ( with title,context,date,url) , but we put in pega "Pega" my robot will take 5 news about pega
Here's an example. You can play with it to suit your needs. You'll notice there's no order on the clone collection, so if you need then in order, you'll need to find something about the control that indicates its order. I didn't try to look into this for this example as it would differ for your instance.
You might have an older version of Pega Robotics. I do not have a way to downgrade it. You can use the latest version on 19.1 to view and test the solution and then you can re-create it in your older version. If you are using Studio and not the Plugin, you'll also need to change the extension of the file ending in ".sln" to ".ossln".
i think the problem is in the website i work with , seems have bad html so i cant select what i need.
I need to do a robot who will go to the "itworld.com" search "Appian" and select 5 first news ( go in to news get tittle,date,url,context of all 5 news) , and if i change the parameter of search ( for example "Robotics ) the robot should do the same.
I just took a look at the site and it looks like through using select element, you can grab the DIV with the class of "post-cont" as your container (this is what you'd enable UseKeys for) and set it to a container. Then you can interrogate the other elements you need beneath it.
You would use the Select Element option on the interrogation form to add items beneath your "Div1" object. You could grab the items that contain the title, (you already have that), the date, etc...
For the "A" tag (the hyperlink), I would use a text match rule and use a really generic RegEx since it is the only A tag in the section. Just use dot asterisk for the text and RegEx as the Mode and it will match everything.