You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using browser.allControls in combination with forceSelect to fetch multiple instances of sap.m.CheckBox. Afterwarts i loop over the result and call press() on the selected checkboxes. This works without forceSelect, but as soon as i use forceSelect every press() in the loop is performed on the first checkbox only. The checkboxes are within a sap.m.Table in a Dialog. Using the latest RC4 version. See coding below:
oFilterDialogCheckboxSelector: {
forceSelect: true,
selector: {
controlType: "sap.m.CheckBox",
viewName: sMasterViewName,
properties: {
editable: true
},
searchOpenDialogs: true,
}
}
...
async iDeselectAllFilters() {
let aFilterCheckbox = await browser.allControls(oMasterSelectors.oFilterDialogCheckboxSelector);
for ( let oCheckbox of aFilterCheckbox) {
if (await oCheckbox.getSelected()) {
await oCheckbox.press();
}
}
}
The text was updated successfully, but these errors were encountered:
I am using browser.allControls in combination with forceSelect to fetch multiple instances of sap.m.CheckBox. Afterwarts i loop over the result and call press() on the selected checkboxes. This works without forceSelect, but as soon as i use forceSelect every press() in the loop is performed on the first checkbox only. The checkboxes are within a sap.m.Table in a Dialog. Using the latest RC4 version. See coding below:
The text was updated successfully, but these errors were encountered: