On the functional testing process

On the functional testing process

Author: sun.pinghua

introduction:

        I believe little friends to do the test for functional testing certainly come in handy, it was agreed that a functional test is the "little point." Indeed functional test requires testers little point, but a test system, testers need to regulate their own testing, so as to ensure high-quality system, then gave you the function of the system of test specification:

One: the definition of functional testing

        Functional test is to ensure that the program is running in the desired manner and according to the functions required to test the software through all of the features and functionality of a system are tested to ensure compliance with requirements and specifications. Also called black-box functional testing or data-driven test, simply consider the various functions to be tested, no need to consider the internal structure and the code for the entire software. General from the interface of software products, architecture and following the test cases written by demand, input data for evaluation between expected and actual results, puts forward more to make our products meet the requirements of users.

Two: the various stages of the type of test and test target

        Stages in the developer: Software testing can be divided into unit testing, integration testing, system testing and acceptance testing

        Unit testing: testing for each unit to ensure that each module can work as the goal

        Integration Testing: The module has been tested for assembly, integration testing. The purpose was to examine the structure and procedures related to software design problems

        Confirmation (validity) test: is a test developed by the software can meet all of last resort function and performance requirements, and some division method, the test will also be incorporated into the system to confirm the test.

        System testing: testing whether the software product (for example, hardware, database and operating personnel) coordinate work with other parts of the system

        Acceptance (user) test: the final process of testing software product quality. The main outstanding user

Three: Tools and methods for functional testing

1, tool: other brands IEtester, IE series, Google, Firefox and other browsers, etc.

2. Method:

        Test sequence, the software components necessary to deal with the static test, and prior to the dynamic test;

        Covers use cases, the characteristics of each software component to be covered with at least a normal test and a recognized abnormality test

        Example input use, and the like should contain at least an effective value, an invalid value and boundary value data and the like;

        Assembling method, incremental method, test new software components assembled;

        Test content, should include an interface between the software components between all software components and hardware;

        Test coverage, test all calls between the software units and software components, 100% test coverage

        Test output, the software should be tested and member output data format

Four: functional testing process

1, the test plan

        We need clear objectives and strategies for all stages of the preparation of the template of "unit testing program" and other relevant provisions of template preparation.

2, program evaluation and review

        In the earlier involved more conducive to the implementation of the principle of follow-up testing is required in product testers involved in the project initially scheduled and deep into the various stages of review.

3, test case

        (1) test case specification is equivalent to the same test, post-test system when testing quality assurance will need guidance as a test case; thus the preparation of specifications and test coverage of test cases is very important; before system testing , testers should write test cases based on rigorous testing requirements, test coverage to ensure that every function test point; test is recommended to use word or excel file format

word format version:

Test

Number

002 Test Name New

Test
purposes

The success of the new VPN / fortress machine account application    
Pre-
conditions
The user is logged SOC resource management workflow system, the user has to assign permissions    
Data
Preparation
     
step Testing process expected outcome actual results
1 Click [VPN / fortress machine account application] Expand VPN / fortress machine account application submenu: [Drafts], [my task list], [pending], [treated], [inquiry]  
2 Order of Step 1, the expanded sub-menu, click on [Drafts] Open Drafts page, which is divided into the query area, functional area, a list of area  
3 Cheng Step 2, enter the query in the query area, click [query] List area shows all the work orders that match the query criteria  
4 Cheng Step 2, enter the search criteria in the query area, click [Reset] The contents are emptied query  
5 Cheng Step 2, click [New] Go to the [basic information] page, which include: title, name of the applicant, the applicant, the applicant telephone, mail applicants, application content, application reason, whether to apply for VPN account, whether to apply fortress machine account leadership for approval and pop [directory]: basic information, VPN account application, fortress machine account application  
6 Cheng step 5, fill out the basic specification information, whether to apply for VPN account choice: [VPN] to display a list of account application area  
7 Cheng Step 6, VPN account in the application list area, click [increase] Pop-up [increase] pop VPN application  
8 Cheng Step 7, complete the specification [increase] the VPN application information, click [OK] [Application] list Close increased VPN, VPN account [application] to add a list of inventory data  
9 Cheng Step 7, complete [increase] the VPN application information, click [Reset] Increase the information content [VPN] fill in the application is cleared, the edit box to restore the default prompt text is grayed  
10 Cheng Step 7, click [Application] pop VPN increase the upper right × [Increase] pop VPN application is closed  
11 Cheng Step 8, click on [data ] [Application] pop modify pop VPN  
12 Cheng Step 11, change the VPN application] [modify the information, click [OK] [Application] list Close modify VPN, data successfully modified  
13 Cheng Step 11, click [Reset] Modify VPN application] fill in the information content is cleared, the edit box to restore the default prompt text is grayed  
14 Cheng Step 8, click on [data ] Data deleted successfully  
15 Cheng step 5, fill out the basic specification information, whether to apply for machine account fortress choice: [Display] list fortress machine account application area  
16 Cheng step 15, at Fort machine account application list area, click [increase] Pop-up [increase] pop fortress machine application  
17 Cheng Step 16, complete the specification [increase] the fortress machine application information, click [OK] [Increase] list Close fortress machine application, machine account fortress [application] to add a list of inventory data  
18 Cheng step 16, fill out the application [increase] the fortress machine information, click [Reset] Increase the information content of [application] fill in the fortress machine is cleared, the edit box to restore the default prompt text is grayed  
19 Cheng step 16, click on the [increased] application machine fortress pop top right × [Increase] pop fortress machine application is closed  
20 Cheng Step 17, click on [data ] Modify fortress pop pop machine application]  
21 Cheng step 20, change the [application] to modify fortress machine information, click [OK] [Application] page modify fortress machine shut down, data modification success  
22 Cheng step 20, click [Reset] Modify the information content of the application] fill in the fortress machine is cleared, the edit box to restore the default prompt text is grayed  
23 Cheng Step 17, click on [data ] Data deleted successfully  
24 Cheng step 5, click [basic information] [directory] pop in Scroll to the new page draft list basic information] [location  
25 Cheng step 6, click [VPN account application] [directory] pop in Scroll to the new page draft list of [VPN] apply for the position of account  
26 Cheng step 15, click [bastion machine account application] [directory] pop in Scroll to the new page draft list of [application] position fortress machine account  
27 Cheng Step 8 or 17 steps, click [Save] 保存成功;返回草稿箱tab页,列表区显示新增的工单  
28 承步骤5,点击【关闭】 清单页面关闭  
29 承步骤8或步骤17,点击【提交】 提交成功;返回草稿箱tab页,列表区并未显示新增工单;流程启动,进入申请人领导审核环节  
30 承步骤29,点击【我的任务单】 进入【我的任务单】tab页,列表区显示步骤29提交成功的工单  
测试结果      
结论 □通过 □不通过    
备注      
测试人员   测试日期  

 

4、测试执行

        依据测试用例,执行各阶段测试,发现的故障,需要提交至故障管理平台统一进行管理和跟踪

5、故障的提交

        测试故障的提交,需要明确故障主题、故障描述及相关故障定位确认实施细则(建议测试人员采用公司禅道进行BUG记录,开发人员再通过公司禅道记录的BUG进行修复)

        公司禅道BUG记录测试步骤

        说明:若你的项目不在禅道里面,请联系研发中心任丽萍在禅道里面建立项目任务以并为项目配人员;

        第一步登录公司禅道(http://60.174.249.204:10029/zentaopms/www/my/

        第二步点击测试,选中你正在测试的项目,再点击提BUG

 

        第三步在提Bug页面输入如下图详细信息

 

        重现步骤内容填写参考

 

        第五步提完一个BUG后记得点击保存按钮

        第六步Bug保存成功后,可以在测试页面看到所提的BUG

 

6、回归测试

        对于测试人员提的bug,开发解决后,需要进行复现,查看该BUG是否解决。

 

Guess you like

Origin www.cnblogs.com/ustcinfo-qc/p/12098158.html