Hello! I am trying to perform some dynamic retrieving.
I have a list thats dynamic. Thought of maybe use a case statement that checks whenever the line contains certain words etc… but its not very precise
So the lines can change based on what job i am inside also position of the line. But want to retreive specific lines and add them to a standar variable if the line exist
You should read up on selectors and how to work with their various elements.
Your issue is lacking detail for anyone to really help so as a guess you could look at using the Find Children activity.
This can be used to return all selectors present in the column you have highlighted to a datatable. You can then filter this to just those which contain the key words you need (you are likely going to be looking at accessing something like the ‘aaname’ element for this task).
Once you have your results, you can take the full selector and grab all the details present on that row by analysing which are the common elements for each column, such as ‘rownumber’ maybe. It all depends on your application, however, the process is the same.
There are a number of posts on the forum showing use of FindChildren.
We need to check that from the selector. If you use the UiExplorer and look into the attributes for the list items and compare them there should be some attribute which can be used to loop through .
yh the list its defined by a index number that i can create a var upon to get down on the list. but dont know how to retrieve the actual info on specific elements
As I suggested, the Find Children activity is what I would use.
You can return all selectors that form part of your table. You can then search each selector for your key words. If a selector has this, under aaname attribute for example, right click on that selector.