msg-systems / ui5-testrecorder

The tool enables efficient test-automation for SAP UI5 and OpenUI5 applications, by providing you a test-recorder for UI5 with exporting capabilities to uiveri5, testcafe and OPA5.
Apache License 2.0
12 stars 5 forks source link

Do not display unavailable criteria in the test-step attributes #64

Closed claushunsen closed 4 years ago

claushunsen commented 4 years ago

In the test-step view, there are several criteria shown, which can be used for selecting the correct control from the page or which are used for assertions. Under some circumstances, it is possible that there are no valid selections available for a criterion. Nevertheless, the criterion is shown while the subcriterion and its value is left empty.

For better user experience, unavailable criteria should not be presented to the user. For example, if there is no binding in a selected control, the criterion Binding should not be shown.

martenAdrian commented 4 years ago

The problem is only resolvable by disabling the items which can not be selected. As shown at the picture. Issue_64

claushunsen commented 4 years ago

For me, this is fixed by commit 1c45d58204d7fa07254f5730e04d51afac70f0a1. I will close here.