头图

A set of step-by-step learning tutorials for SAP UI5 beginners

Tutorial Directory

illustrate

Jerry has been in touch with SAP UI5 since joining the CRM Fiori development team of SAP Chengdu Research Institute in 2014. He has published many articles on the working principle and source code analysis of SAP UI5 in the SAP community and the WeChat public account "Wang Zixi".

In Jerry's article , a novice who knows nothing about SAP UI5, which materials are better to start with? As I mentioned, Jerry has come all the way from SAP UI5 rookie. He knows that it is not easy for developers with only ABAP development background to transform to SAP UI5 development field, so I designed this learning tutorial for SAP UI5 beginners in my spare time. , Divide the process of developing a complete SAP UI5 application into several steps, and strive to cover all the knowledge points involved in each step. These knowledge points may not be as in-depth as my UI5 source code analysis series articles, but strive to be easy to understand and easy for SAP UI5 beginners to understand.

The source code of each step of this tutorial is stored on my Github , identified by folders 01, 02, 03, etc. For example, the source code of step 1 is here .

Each step builds on the previous step with several new features added. It is recommended for beginners with zero foundation or little knowledge of SAP UI5 to learn step by step from the first step in order, download these codes to the local, cooperate with the text explanation of the tutorial, and do it yourself to deepen your understanding.

If you have any questions about each step of the tutorial, you are welcome to comment and leave a message in the article corresponding to the steps of the tutorial.

The knowledge of SAP UI5 integration testing using OPA5 was covered in Step 28 earlier in this tutorial.

SAP UI5 Application Development Tutorial No. 28 - Introduction to OPA, the Integration Test Tool for SAP UI5 Applications

This article uses a practical example to help you consolidate your grasp of the usage of OPA5.

OPA5 is an acronym for One Page Application for SAP UI5. One Page is Single Page, a single page application.

Test cases developed using OPA5 belong to the category of IntegrationTest, namely integration testing, in the test pyramid.

The example introduced in this article tests a SAP UI5 form control that supports lazy loading.

You can see that this table only reads 20 pieces of data from the local Mock server by default:

Clicking the More button at the bottom of the table control will trigger another OData request to read the remaining three pieces of data.

Visit another url to start an integrated OPA5 test for this form control:

In the OPA5 test report output page, you can see that this integration test contains two test points:

  1. The table control should display 20 pieces of data by default.
  2. After clicking the More button, the table control should display a total of 23 of data.

Below are the detailed development steps for this OPA5 integration test.


注销
1k 声望1.6k 粉丝

invalid