Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Portal system testing-functional testing

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report