Which methods can you use to bind data to the controls in SAPUI5?
Note: There are 3 correct answers to this question.
Property
Aggregation
Structure
Combination
Element
SAPUI5 supports differentbinding types:
Property binding: binds individual attributes (e.g., text="{/name}").
Aggregation binding: binds lists or tables (e.g., items="{/products}").
Element binding: binds a control and its children to a specific path (bindElement("/product")).
SAPUI5 Developer Guide:
“Supported binding types include Property, Aggregation, and Element binding.”
Structure/Combination are not valid SAPUI5 binding categories.
Which of the following pattern sequences are the QUnit tests based on?
Arrange, Act, and Assert
Given, When, and Then
Given, Then, and When
Assert, Act, and Arrange
QUnitfollows theAAApattern:
Arrange: Prepare test data/setup.
Act: Perform the operation.
Assert: Validate the result.
SAP Testing Guidelines:
“The Arrange-Act-Assert (AAA) pattern is fundamental to unit testing logic with QUnit.”
B is the pattern for OPA5 (behavioral testing), not QUnit.