Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Portal system testing-functional testing

Shulou Source: shulou.com Published: 2022-06-03 07:42:12 10月03日 Update

1 functional test 1.1 functional test design

Functional testing is mainly the design of test cases. After the test cases are designed, the planned testers can be strictly executed according to the test case documents. This section focuses on how to write test cases for functional tests.

First of all, determine the main modules of the system under test, and then continue to split each module into sub-modules and number them one by one. For example, the attendance management in a human resources virtual portal can be divided into four separate functional modules, which are:

-configure the basic rule (number: F01).

-Please leave management (serial number: F02).

-overtime management (serial number: F03).

-attendance data summary management (serial number: F04).

The function point and number of each module are shown in figure 1-2.

Figure 1-2 function points and numbers of each module

Then, write test cases for each function point.

1.2 functional test case design

Here is a test case template, the test case is: define a work calendar.

1.2.1 brief description of function points

This function is named as: define work calendar, function point number: F01P001, used to define legal holidays, working days, public holidays, non-national holidays. The names and dates of statutory holidays are synchronized from the SAP system. Working days, public holidays and non-national holidays can be adjusted in the Portal system, and non-statutory holidays can be created in the Portal system.

1.2.2 Test types

The test type of this test case is: manual test.

1.2.3 functional users

Functional users: group human resources administrator.

1.2.4 list of sub-function points

The list of sub-function points is shown in figure 1-3.

Figure 1-3 list of sub-function points

1.2.5 execution steps for test cases

Step name

Step description and input

Output or expected result

Step 1

Open a browser on the client machine and log in to the system as a group human resources administrator

Login succeeded and the system displays the main page

Step 2

After logging in successfully, go to the define work Calendar interface

Successfully entered the interface

Query conditions are annual, calendar type and optional, calendar types include: working days, public holidays, statutory holidays, non-national holidays

Step 3

Select a year, such as 2011, and click the query button

Query successful

The list is: date, week, holiday name, calendar type

Step 4

Click a specific date to bring up the dialog box

The date can be adjusted, such as a public holiday, a working day or a non-national holiday. If it is adjusted to a non-national holiday, it will be selected according to the conditions: age, marital status, sex, social length of service, unlimited length of service; number of days

Step 5

Click the generate Annual Calendar button

A work calendar can be generated according to the year

Step 6

Click the OK button

The generated annual calendar can be confirmed. After confirmation, it cannot be modified. If you modify it, you can contact SAP operation and maintenance personnel.

Step 7

Click the generate work Calendar button

A working calendar can be generated according to statutory holidays, public holidays, working days and non-national holidays.

Tags: Test function Calendar work step Holiday system National Module Management functional Test Public Holiday Public Holiday working Day year Type Generation success name Button Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology OPPO Reno Linux Docker MySQL