Automated testing method and mobile cloud testing system

A technology of automated testing and automated execution, applied in the information field, can solve problems such as large randomness, failure to achieve expected depth traversal, and fast replacement

Active Publication Date: 2018-08-07
HANGZHOU FANEWS TECH
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing cloud test platform has the following problems: mobile devices are updated quickly, a large number of real devices are purchased, and the cost is high; the operation and maintenance costs of mobile devices are high; the system upgrades of mobile devices are frequent, and different models of the same model cannot be achieved. All system versions are available on real machines; mobile devices need to be connected to special equipment cabinets for centralized management; monkey tests are relatively simple and too random, and cannot achieve the desired purpose of in-depth traversal; functional automation tests first need to be able to write specific scripts And debugging, after the debugging is successful, it can be played back, and the investment cost of debugging and maintaining the automation script is relatively high

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
  • Automated testing method and mobile cloud testing system
  • Automated testing method and mobile cloud testing system
  • Automated testing method and mobile cloud testing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The above and other technical features and advantages of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them.

[0068] Such as figure 1 As shown, an automated testing method specifically includes the following steps:

[0069] S101: Obtain the authorized online mobile device list, the application software to be tested and the automated test keyword form of the application software to be tested, the keyword form includes the keyword elements of the homepage of the application software to be tested and the keywords of the first-level menu on the homepage element, where, in this implementation, the home page of the application software refers to the first page that enters the main function after the application software is started and non-functional pages such as guide pages and advertisements are re...

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 provides an automated testing method and a mobile cloud testing system. The automated testing method comprises following steps of installing and starting an application to be tested on a mobile device in an on-line mobile device list; obtaining all elements on the home page of the application and storing the elements in a container, setting the container as the current container, and creating a root node; selecting an effective element according with the element rule in the current container and generating an automation execution instruction; obtaining all elements on the current page after the mobile device executes the instruction, comparing the element on the page with the element in the current container and an element in an existing container, and determining whether the page is a similar page; creating a new container and newly increasing a sub-node when the page is a dissimilar page; selecting a next effective element in the current container and continuing the similar judgement until all effective elements in the use-case tree module execute the similar judgement, and generating a testing report after analysis. According to the invention, an on-line sharing mobile device can be remotely controlled for automated testing.

Description

technical field [0001] The invention relates to the field of information technology, in particular to an automated testing method and a mobile cloud testing system. Background technique [0002] Cloud testing is a new testing solution based on cloud computing. Service providers provide multiple platforms and platforms for multiple browsers. General users write automated test scripts locally, upload them to their websites, and then run automated scripts on their platforms. Using the cloud test method greatly reduces the time for setting up the test environment, such as machine and network preparation, operating system installation, and various test tool software installations, etc. will be saved. You only need to inform the cloud test service provider of the required configuration environment in advance. It can be used directly when the time comes. Because it is an application based on the network, when you encounter problems such as software use during the test, you can al...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L29/06H04L29/08H04M1/725G06F11/36
CPCG06F11/3664H04L43/06H04L43/14H04L63/10H04L67/025H04M1/72448
Inventor 刘丫
Owner HANGZHOU FANEWS TECH
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