How to use Javascript Executer inside loop to click on object?

You can convert the Web Elements to Test Objects: