I am running on automation to identify whether or not a folder or item exists on the screen, and then click that item. Because this has to change item to item, regardless of name or position on screen, I was hoping to use a variable as an anchor. However, I cannot get it to validate. Below I have attached an example of what exactly I am attempting to do, click the folder symbol near the corresponding folder.
Because this is an iteration, it has to do this multiple times with different folders on different places.
Yes, I will need to select the item, and if they have items within them, clicking that folder icon will allow me reference them. What should I use to get that information?
All elements shown validate correctly on their own, but when the anchor’s information is substituted with the variable I will be using it does not validate.