Method and frame system for establishing multi-platform-supporting automatic testing script

A technology for automated testing and framework systems, applied in software testing/debugging, error detection/correction, instruments, etc., to solve the problem that test scripts cannot be used on different platforms, reducing labor costs, increasing reusability, and speeding up The effect of updating targeting

Active Publication Date: 2017-05-10
上海携程国际旅行社有限公司
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problems in the prior art that a test script cannot be used for different platforms; provide a method for creating an automated test script supporting multiple platforms and its framework system

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
  • Method and frame system for establishing multi-platform-supporting automatic testing script
  • Method and frame system for establishing multi-platform-supporting automatic testing script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] A method for creating an automated test script supporting multiple platforms, so that the automated test script can be used on multiple platforms, including platforms such as web, Android, IOS, H5, Online, and Offline.

[0045] like figure 1 As shown, a method for creating an automated test script supporting multiple platforms, the method includes:

[0046] S1, creating automated test scripts.

[0047] The automated test script includes: a use case la...

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 a method and frame system for establishing a multi-platform-supporting automatic testing script. The method includes the steps that firstly, the testing script capable of being compatible with multiple platforms; secondly, before multiple platforms are test, whether an example layer and/or any keyword layer of the testing script are/is required to be modified or not is judged, and when the example layer and/or any keyword layer of the testing script are/is required to be modified, the example layer and/or any keyword layer are/is modified; finally, in the testing process of the multiple platforms, whether testing faults exist in any platform or not is judged, and when testing faults exist in any platform, at least one corresponding page element is modified, and the modified testing script is adopted for testing in the platform. The method and frame system are compared with the prior art, the reusability of the testing script is increased, new increasing of automatic testing persons is convenient, testing examples are maintained, and the labor cost is reduced.

Description

technical field [0001] The invention relates to a system platform automation test technology, in particular to a method for creating an automation test script supporting multiple platforms and a framework system thereof. Background technique [0002] With the wide application of system platforms, such as Android system, IOS system, h5 system, etc., it is becoming more and more necessary and common for user interface automation testing applied to system platforms. However, in actual use, even for the same set of test cases, the test scripts for different platforms are different; resulting in the following problems: [0003] (1), in order to be used on multiple platforms, repeatedly write multiple sets of test scripts for similar test scenarios; [0004] (2) When the test function changes, multiple sets of test scripts need to be maintained; [0005] (3) When troubleshooting problems, it is necessary to debug multiple sets of test scripts. Contents of the invention [000...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
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