Automatic function test method and system applied to BS (browser/server) framework

A technology of functional testing and BS architecture, applied in the direction of software testing/debugging, which can solve the problems of browser limitations, large amount of code, and heavy maintenance workload.

Active Publication Date: 2014-08-13
中国南方航空股份有限公司 +1
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

RFT, interface automation tools, and Selenium RC have a large amount of code in the testing process, all of which require testers to have professional development capabilities, and the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic function test method and system applied to BS (browser/server) framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below in conjunction with accompanying drawing and specific embodiment, the present invention will be further described:

[0035] See figure 1 , the present invention relates to a kind of automatic function testing method applied to BS framework, and its preferred embodiment comprises the following steps:

[0036] Test case generation step: generate test cases according to the pre-entered use case description and object execution sequence description;

[0037] Specifically, you can enter the defined test parameters and data values ​​on the element page of the registered Test class, and define the parameter and value tabs to generate test cases.

[0038] Business function class object generation step: Generate business function class objects according to the above test cases and encapsulated use cases and object conversion logic; wherein, the encapsulated use cases and object conversion logic include encapsulated Selenium object classes, program control entry and regist...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An automatic function test method applied to a BS (browser/server) framework comprises a test case generation step: generating a test case according to a prerecorded case description and an object execution sequence description; a service function class object generation step: generating service function class objects according to the test case, the packaged case and an object conversion logic; a test case assembling step: assembling the service function class objects to a test case set according to the prerecorded execution sequence; a test result generation step: executing the test case set and obtaining and packaging a test conclusion; a test result output step: returning the packaged test conclusion and correspondingly generating a test report. By applying the automatic function test method applied to the BS framework, the test efficiency is effectively improved, and the technological threshold of a function tester is lowered. The invention also relates to an automatic function test system applied to the BS framework.

Description

[0001] technical field [0002] The invention relates to an automatic function testing method and system applied to BS architecture. [0003] Background technique [0004] BS (Browser / Server, browser / server) architecture is a network structure model after the rise of WEB. This mode unifies the client, concentrates the core part of system function realization on the server, and simplifies the development, maintenance and use of the system. Just install a browser on the client, and install databases such as Oracle, Sybase, Informix or SQL Server on the server. The browser interacts with the database through the Web Server. For example, customers can book tickets on the airline's official website through a browser, check historical booking records, etc. [0005] Software development of BS architecture generally emphasizes iterative development to reduce development risks and improve software quality. Building test automation step by step is an effective way to achieve soft...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 高峰钟敏生吴赏
Owner 中国南方航空股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products