-
Notifications
You must be signed in to change notification settings - Fork 3
API concept
Make use of the API functions having on mind the following order:
- UxBeginUseCase(0, "Button O");
- UxBeginAction(0, "Button X");
- UxBeginStep(0, 0, "Button Y");
- UxCompleteStep(0, 0, "Button A");
- UxBeginStep(0, 1, "Button B");
- UxCompleteStep(0 , 1, "Button L1");
- ...
- UxCompleteAction(0, "Button L2");
- UxBeginAction(1, "Button R1");
- UxBeginStep(1, 0, "Button R2");
- UxCompleteStep(1, 0, "Button L3");
- UxCompleteAction(1, Button R3");
- ...
- UxBeginAction(0, "Button X");
- UxCompleteUseCase(0, "Button O");
The algorithm of the tool will strictly follow the order presented above. A step can be started only if the previous step has been completed; an action can be completed, if all of its content steps have been completed. In the same way, a use case is considered as completed, if all actions have been executed. Only then the tool will generate a CSV
file that will be exported. The UxSetInteraction()
function can be used at any point of this order.
The reason for this approach is to keep the integrity of the results of the usability tests with respect to the use cases that will be provided as a measuring basis.
Open the UseCaseData.json file that contains the use case related information structured hierarchically.
- In the example, in order to keep it simple, we have actually a single use case with two actions.
- The number of use cases, actions and steps can be edited according to the needs of the usability testing.
- The use case has an
ID
and atitle
that can be edited. - The action have also an
ID
, atitle
and adescription
that can be edited. - Each action contains further steps. Tehse steps have also an
ID
, atitle
and adescription
that can be edited.
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
Except as provided below, this software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.