Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Problem with custom multifield for AEM 6.3 #333

Open
Valeska84 opened this issue Jun 19, 2019 · 0 comments
Open

Problem with custom multifield for AEM 6.3 #333

Valeska84 opened this issue Jun 19, 2019 · 0 comments

Comments

@Valeska84
Copy link

I'm trying to create a custom multifield for a project using AEM 6.3 and locators in the bb version I'm using (Bobcat 1.5.0, core, touch-ui and junit) do not match.

On multifield class, the following list is always empty:

**@FindBy(css = ".coral-Multifield-item")
private List<MultifieldItem> items;**

Not sure if I'm not replacing the locator for the correct one, and also not getting how do you cast from WebElement to MultifieldItem.

The error Im getting is Caught exception: null java.util.NoSuchElementException in the following line cfg.stream().forEach(entry -> itemsIterator.next().setValue(entry));
(line 65: https://github.com/Cognifide/bobcat/blob/5ea116baa4b9901003959f9047ba574c5ab67f65/bb-aem-touch-ui/src/main/java/com/cognifide/qa/bb/aem/touch/pageobjects/touchui/dialogfields/Multifield.java)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant