This may sound confusing, but it is a specific issue I have run into. I am using a for each loop to go through elements (found using find children activity) of an html table and check them against a variable. If they are equal to that variable, it adds one to a count. However, after the for loop, if the count is equal to 1, I want to go back to that same child element that was the iterator and click on it.
This is a problem because the child iterator is only in the scope of the for each loop, but the click needs to be a generic variable so the program can be used repeatedly. Does anybody have a best practice for this specific issue?