Pass clones to another automation
Hi all,
In my current case, I'm using clones to select an item in a combobox.
For context: I'm working with a SAP web application. When I interrogate the combobox control, the control turns into a textbox (OpenSpan.Adapters.Web.HtmlInputTextElement). This textbox object doesn't have the "SelectItem" method. So that's why I'm trying to use a workaround. First, I click the combobox so the menu-items will appear, then I'll click the desired item.
In the flow, I get all the (list)items from the combobox, using GetClones. After that, I use the String.Equals method to find the right clone for my case. This is the clone I want to click on. This all works well (see the image for the current flow).
The problem for me is that I have to do this action atleast five times. So I want to make a generic automation for clicking the right clone.
So my question is: how can I successfully pass an object (that is a clone collection) to an automation?
In this automation, I want to list loop through all the clones to find the right one and click it.