Keyword driven automatic testing frame on basis of Android

An automated testing, keyword-driven technology, applied in the direction of software testing/debugging, can solve the problems of difficulty in writing use cases and high coupling of test codes, and achieve the effect of simple and rapid development and high reusability

Inactive Publication Date: 2012-12-12
SUN YAT SEN UNIV
View PDF3 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these frameworks still have problems such as diff

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
  • Keyword driven automatic testing frame on basis of Android
  • Keyword driven automatic testing frame on basis of Android
  • Keyword driven automatic testing frame on basis of Android

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Such as figure 1 As shown, the Android-based keyword-driven automated testing framework is mainly divided into five modules: data files (including test configuration data, business test data), processor modules (including data processors, keyword processors), driver modules , test script module, result analysis module.

[0029] The test configuration data file in the data file is used to save the information needed for the automatic running of the test, and is the core of the automatic test execution. This file includes the environment where the application runs, the path of the application under test, the path of the source data file, the path for saving the test results, etc.

[0030] The business test data file contains various business data required in the test execution process. Including the test step ID (ID), the current Activity name (ActivityName), the ID of the View under test (ViewID), the input operation (InputAction), the input data (InputValue), the expe...

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 relates to a keyword driven automatic testing frame on the basis of the Android and belongs to the field of the Android automatic testing. The invention aims to implement the effect that a test case is directly led in to carry out testing from a data file, so that test data is separated from a test code and the coupling of the test data and the test code is reduced. Keywords of Android GUI (Graphical User Interface) test are summarized; a keyword library interacted with tested application is designed, so that the keywords have high reusability and the Android GUI testing frame on the basis of the keyword driving is implemented. According to the invention, by the coordination work of modules, the defects of high code coupling, low writing efficiency of the test case and the like of the existing Android testing frame are overcome, the writing of the test case and the writing of the test code are separated, and the writing efficiency of the test case is improved.

Description

technical field [0001] The invention relates to a testing framework for Android, in particular to a testing framework based on Android keyword drive. Background technique [0002] Currently, the world's mainstream smartphone operating systems include Symbian developed by Nokia, Android developed by Google, iOS developed by Apple, Windows Mobile developed by Microsoft, and Blackberry OS developed by Research In Motion. The above-mentioned smartphone operating systems can be divided into two categories according to their own source code and the degree of openness defined by the kernel to users, which are closed platforms and open platforms. Among them, except for the Android operating system developed by Google, the rest are closed platforms. Although Symbian has gradually shifted from a closed platform to an open platform after being fully acquired by Nokia in 2008, so far, terminal products based on the open source Symbian mobile operating system have not been officially la...

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 SUN YAT SEN UNIV
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