Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic testing method and system for webpage

A technology of automated testing and automatic testing, applied in the direction of software testing/debugging, etc., can solve the problems of complex script development and so on

Inactive Publication Date: 2014-08-13
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] Based on this, it is necessary to provide a webpage automation testing method and system for the existing webpage application automation testing, which requires a local installation environment and complicated script development.

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 testing method and system for webpage
  • Automatic testing method and system for webpage
  • Automatic testing method and system for webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0030] Such as figure 1 Shown is a work flow diagram of a webpage automated testing method of the present invention, including:

[0031] Step 11, the browser responds to the test operation generation request, and saves in the database the operation identifier corresponding to each test step for the automated testing of the webpage to be tested through the browser, and the operation identifier includes: used to identify the test step execution Sequential execution sequence identification, used to identify the function identification of the execution function corresponding to the test step;

[0032] Step 12, the server obtains the operation identifier from the database in response to the automatic test execution request;

[0033] Step 13, the server converts the function identifier into a corresponding execution function through parsi...

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

The invention discloses an automatic testing method and system for a webpage. The method comprises the following steps: a browser responses to a test operation generation request; an operation identification corresponding to each testing step for carrying out automatic test to each webpage to be tested by the browser is stored into a database; a server responses to an automatic test execution request; one operation identification is obtained from the database; the server converts a function identification to a corresponding execution function according to the operation identification by analysis; the execution function is arranged in a sequence identified by a execution sequence identification to obtain a testing script for automatically testing; the server controls execution equipment to execute the testing script on the browser. According to the invention, a user does not need to install a development and testing environment on the local, the operation identification is simpler than a specific function, and the user can finish developing the testing script without mastering the complex programming technology.

Description

technical field [0001] The invention relates to the related technical field of webpage testing, in particular to a webpage automatic testing method and system. Background technique [0002] In today's society, Internet companies have sprung up like mushrooms, in order to improve the human efficiency ratio and user satisfaction. Numerous companies have introduced automated testing of web applications. Large companies generally use mature commercial tools, while small and medium-sized companies generally use open source tools and frameworks. Either way consumes a lot of resources for local debugging and running, especially the development of scripts requires higher skills for testers. Engineers have a good code foundation, and automation test engineers have been in short supply for a long time, resulting in high costs for project automation. [0003] Existing automated testing solutions for web applications are as follows: [0004] 1. Install a local integrated environment ...

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 BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products