CN106909511A - A kind of automated testing method based on RedwoodHQ - Google Patents

A kind of automated testing method based on RedwoodHQ Download PDF

Info

Publication number
CN106909511A
CN106909511A CN201710228445.9A CN201710228445A CN106909511A CN 106909511 A CN106909511 A CN 106909511A CN 201710228445 A CN201710228445 A CN 201710228445A CN 106909511 A CN106909511 A CN 106909511A
Authority
CN
China
Prior art keywords
redwoodhq
automatic test
web page
keyword
test command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710228445.9A
Other languages
Chinese (zh)
Inventor
李亚非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Danlu Network Technology Co Ltd
Original Assignee
Chengdu Danlu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Danlu Network Technology Co Ltd filed Critical Chengdu Danlu Network Technology Co Ltd
Priority to CN201710228445.9A priority Critical patent/CN106909511A/en
Publication of CN106909511A publication Critical patent/CN106909511A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The invention discloses a kind of automated testing method based on RedwoodHQ, it is characterised in that comprise the following steps:(1) RedwoodHQ web page platforms are installed on the server;(2) to inserting automatic test command in RedwoodHQ web page platforms;(3) by automatic test command and keyword association;(4) test case being made up of keyword is input on RedwoodHQ web page platforms, the keyword in test case is tested order by corresponding automatic test command, and the use-case of execution is denoted as into success or failure.Not only step is simple for the present invention, convenient operation, and need not build software development environment, can also reasonable employment developer code ability and the case designing ability of tester, be adapted to promote the use of.

Description

A kind of automated testing method based on RedwoodHQ
Technical field
The present invention relates to a kind of automated testing method, more particularly to a kind of automatic test side based on RedwoodHQ Method.
Background technology
At present, to using robotframework the automatic test of webpage more, or code is write by developer carry out. Carrying out automatic test using first way needs tester to build software development environment, therefore inconvenient management automation Test case;And automatic test is carried out using the second way, developer is weaker to testing example design, and tester The problem of member's generally existing code ability shortcoming.
The content of the invention
Needs when carrying out automatic test to webpage using robotframework at present it is an object of the invention to overcome Software development environment is built, and then there is developer couple using being write when code carries out automatic test to webpage by developer Testing example design is weaker, the defect of the universal code ability shortcoming of tester, there is provided one kind need not build software development Environment and can reasonable employment developer code ability and tester case designing ability based on RedwoodHQ's Automated testing method.
The purpose of the present invention is achieved through the following technical solutions:
A kind of automated testing method based on RedwoodHQ, comprises the following steps:
(1) RedwoodHQ web page platforms are installed on the server;
(2) to inserting automatic test command in RedwoodHQ web page platforms;
(3) by automatic test command and keyword association;
(4) test case being made up of keyword, the keyword in test case are input on RedwoodHQ web page platforms Order is tested by corresponding automatic test command, and the use-case of execution is denoted as success or failure.
Further, after completing test in step (4), if the use-case for performing be denoted as unsuccessfully by misprint daily record simultaneously Sectional drawing;Test report will be generated after being finished.
Further, in step (2) on PC by the network access RedwoodHQ web page platforms, and Automatic test command is input on RedwoodHQ web page platforms.
Further, the automatic test command includes the corresponding test data of test object, and automatic test command For a plurality of.
In order to the present invention is better achieved, automatic test command is encapsulated as with automatic test command one by one in step (3) Corresponding keyword.
The present invention compared with the prior art, with advantages below and beneficial effect:
(1) not only step is simple, convenient operation for the present invention, and need not build software development environment, can also rationally make With the code ability and the case designing ability of tester of developer.
(2) present invention performs test command by the key sequence in test case, and automatic test can be made more to increase Effect and more convenient management.
Specific embodiment
The present invention is described in further detail with reference to embodiment, but embodiments of the present invention are not limited to This.
Embodiment
Automated testing method based on RedwoodHQ of the invention, it is necessary first to install RedwoodHQ on the server Web page platform, the RedwoodHQ web page platforms have write-in functions, are after RedwoodHQ web page platforms are installed on the server Can be on PC by the network access RedwoodHQ web page platforms.Then to inserted in RedwoodHQ web page platforms from Dynamic test command, automatic test course needs a plurality of automatic test order to complete jointly, it is therefore desirable to insert a plurality of automatic Change test command.By the network access RedwoodHQ web page platforms on PC, you can flat in RedwoodHQ webpages Automatic test command is input on platform.The automatic test command can be the existing program for automatic test, it is also possible to The code of self-defined driver write that to be family need according to test.The automatic test command includes the corresponding test data of test object, such as The corresponding test datas of other test objects such as user account, the test corresponding test data of commodity.
After completing the inserting of automatic test command, by automatic test command and keyword association.Specifically, will test automatically Order is encapsulated as and the one-to-one keyword of automatic test command, i.e., one keyword one automatic test command of correspondence.When When keyword is the keyword of operating procedure type, the keyword is an operation on webpage;When keyword is Business Stream During the keyword of journey type, the keyword is the sequence of operations of finishing service flow, and the use of business high-frequency can improve multiple The property used.
Then, the input test use-case on RedwoodHQ web page platforms, test case is made up of keyword, and the test is used Example selects corresponding keyword according to test object, and the keyword in test case is by order by corresponding automatic test Order is tested, and the use-case of execution is denoted as into success or failure.Wherein, use-case is keyword.After completing test, such as The use-case that fruit performs is denoted as misprint daily record and sectional drawing unsuccessfully.Test report will be generated after being finished, the test report The document that generation PDF may be selected is accused, the document of generation WORD forms or extended formatting also may be selected.
As described above, just can preferably realize the present invention.

Claims (5)

1. a kind of automated testing method based on RedwoodHQ, it is characterised in that comprise the following steps:
(1) RedwoodHQ web page platforms are installed on the server;
(2) to inserting automatic test command in RedwoodHQ web page platforms;
(3) by automatic test command and keyword association;
(4) test case being made up of keyword is input on RedwoodHQ web page platforms, the keyword in test case will be suitable Sequence is tested by corresponding automatic test command, and the use-case of execution is denoted as into success or failure.
2. a kind of automated testing method based on RedwoodHQ according to claim 1, it is characterised in that:Step (4) After middle completion test, if the use-case for performing is denoted as misprint daily record and sectional drawing unsuccessfully;Generation is surveyed after being finished Examination report.
3. a kind of automated testing method based on RedwoodHQ according to claim 1 and 2, it is characterised in that:Step (2) by the network access RedwoodHQ web page platforms on PC in, and it is input on RedwoodHQ web page platforms Automatic test command.
4. a kind of automated testing method based on RedwoodHQ according to claim 3, it is characterised in that:It is described from Dynamic test command includes the corresponding test data of test object, and automatic test command is a plurality of.
5. a kind of automated testing method based on RedwoodHQ according to claim 4, it is characterised in that:Step (3) It is middle to be encapsulated as and the one-to-one keyword of automatic test command automatic test command.
CN201710228445.9A 2017-04-10 2017-04-10 A kind of automated testing method based on RedwoodHQ Pending CN106909511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710228445.9A CN106909511A (en) 2017-04-10 2017-04-10 A kind of automated testing method based on RedwoodHQ

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710228445.9A CN106909511A (en) 2017-04-10 2017-04-10 A kind of automated testing method based on RedwoodHQ

Publications (1)

Publication Number Publication Date
CN106909511A true CN106909511A (en) 2017-06-30

Family

ID=59194646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710228445.9A Pending CN106909511A (en) 2017-04-10 2017-04-10 A kind of automated testing method based on RedwoodHQ

Country Status (1)

Country Link
CN (1) CN106909511A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451068A (en) * 2017-09-20 2017-12-08 广州阿里巴巴文学信息技术有限公司 Use-case operation method, device, computing device and storage medium
CN109815125A (en) * 2018-12-20 2019-05-28 航天信息股份有限公司 Web application system automated testing method and device based on RobotFramework

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN101996131A (en) * 2009-08-19 2011-03-30 航天信息股份有限公司 Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
CN104679658A (en) * 2015-03-17 2015-06-03 百度在线网络技术(北京)有限公司 Test method and test system for WEB pages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN101996131A (en) * 2009-08-19 2011-03-30 航天信息股份有限公司 Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
CN104679658A (en) * 2015-03-17 2015-06-03 百度在线网络技术(北京)有限公司 Test method and test system for WEB pages

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451068A (en) * 2017-09-20 2017-12-08 广州阿里巴巴文学信息技术有限公司 Use-case operation method, device, computing device and storage medium
CN109815125A (en) * 2018-12-20 2019-05-28 航天信息股份有限公司 Web application system automated testing method and device based on RobotFramework

Similar Documents

Publication Publication Date Title
CN109086199B (en) Method, terminal and storage medium for automatically generating test script
CN109739766B (en) System and method for rapidly building FPGA digital simulation model
CN110018955A (en) Automatic test script is generated by conversion manual test use-case
CN106528400A (en) MOCK testing method and device
US10891325B2 (en) Defect record classification
CN109522228B (en) Interface automation test data construction method, device, platform and storage medium
CN102804147A (en) Code inspection executing system for performing a code inspection of ABAP source codes
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
CN109726136A (en) Test method, device, equipment and the storage medium of database
US20190034318A1 (en) Hardware-Software Co-Verification for Debugging Firmware on a Hardware Simulator
CN103180834B (en) Automatic operation system test frame
US10528688B1 (en) System and method for schematic-driven generation of input/output models
US8572062B2 (en) Indexing documents using internal index sets
CN104360946B (en) The computer implemented method and computer of a kind of test defect
CN106909511A (en) A kind of automated testing method based on RedwoodHQ
CN116049014A (en) AMBA bus verification platform generation method and device
CN105573980A (en) Information segment generation method and device
CN107977344A (en) Date storage method, acquisition methods and server
CN117217163A (en) Script-based SOC chip testing method
CN110717305A (en) Method, system, device and medium suitable for verifying and confirming FPGA
CN104536897A (en) Automatic testing method and system based on keyword
CN107102945A (en) A kind of automated testing method of the mobile APP based on RedwoodHQ
CN114647568A (en) Automatic testing method and device, electronic equipment and readable storage medium
US7917407B1 (en) Computer-implemented system and method for defining architecture of a computer system
CN112035513A (en) SQL statement performance optimization method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170630