Hello everbody,

I’d need to test a search field in an Angular.js webpage for a number of values, stored in a list or in an excel file, without terminating the test or closing the browser.

Given a list (e.g. strings = [“aaa”, “bbb”, “ccc”]), i’d need to iterate through it, something like:

strings.forEach(string -> {
WebUI.setText(findTestObject('obj'), string)
WebUI.sendKeys(findTestObject('obj'), Keys.chord(Keys.ENTER))
});

Anyone can help me?

Thanks in advance!