Scroll object testing

Hi,Help me…
I want to test the testing of the scroll object in Web.
For example, I have a scroll with three items. I want to check the all items in each test order.
I think i should proceed using for() in the script mode. But i don’t know how to that.and I don’t think that’s a good idea…
I want you to tell me How to do or give me another good way in this situation.

scroll means the dropdownlist!!!
I know the name now!!

can you share HTML of that drop-down?
for inspiration here is code that will cycle thru responses of discussion

import org.openqa.selenium.Byimport org.openqa.selenium.WebDriverimport com.kms.katalon.core.webui.driver.DriverFactoryimport com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUIWebUI.openBrowser('http://forum.katalon.com/discussion/8738/scroll-object-testing')WebDriver driver = DriverFactory.getWebDriver();def elements = driver.findElements(By.xpath('//li[contains(@class,"ItemComment") and contains(@id,"Comment")]'))for (i in elements){	println i}