CN107491391A - A kind of software testing system and method - Google Patents

A kind of software testing system and method Download PDF

Info

Publication number
CN107491391A
CN107491391A CN201710718842.4A CN201710718842A CN107491391A CN 107491391 A CN107491391 A CN 107491391A CN 201710718842 A CN201710718842 A CN 201710718842A CN 107491391 A CN107491391 A CN 107491391A
Authority
CN
China
Prior art keywords
video recorder
personal video
network personal
host computer
software
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
CN201710718842.4A
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.)
TOPSEE ELECTRONIC TECHNOLOGY COMPANY Ltd
Original Assignee
TOPSEE ELECTRONIC TECHNOLOGY COMPANY 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 TOPSEE ELECTRONIC TECHNOLOGY COMPANY Ltd filed Critical TOPSEE ELECTRONIC TECHNOLOGY COMPANY Ltd
Priority to CN201710718842.4A priority Critical patent/CN107491391A/en
Publication of CN107491391A publication Critical patent/CN107491391A/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/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3414Workload generation, e.g. scripts, playback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a kind of software testing system and method, including Network Personal Video Recorder, host computer and display, and the display, Network Personal Video Recorder and host computer are sequentially connected;The Network Personal Video Recorder and host computer are in same LAN, and the host computer has built nfs server;The Network Personal Video Recorder is used for the recording for carrying out mouse track, and generates trail file deposit nfs server;The host computer is used to run Secure CRT softwares, and calls trail file, and Secure CRT output journals are caught, and according to the daily record of output judge to test whether it is qualified.The present invention can carry out automatic test to the software function of Network Personal Video Recorder, substantially increase testing efficiency, reduce workload.

Description

A kind of software testing system and method
Technical field
The present invention relates to software test field, more particularly to a kind of software testing system and method.
Background technology
Due to the gradual increase of modern software scale so that the workload of software test is increasing, while software development The shortening in cycle requires to improve testing efficiency as far as possible again, and being limited test resource by development capital can not possibly increase considerably, This causes traditional manual test can not meet the requirement of modern software exploitation.On the other hand, many companies are soft Part test is as one of software quality, the Main Means for improving software reliability are ensured, the resource spent in software test is Through accounting for more than the 30% of whole research and development of software cost, can software test be timely completed has become software and deliver on time Bottleneck.At present, it is to cause software test not hand on time that in the market, which lacks based on the automated test tool under Linux system, The major reason paid.
The application layer software being currently based in the Linux system of visualization interface, mainly surveyed by hand using tester is pure Examination;Simple functional test use-case can not all lack in each round test, and with certain mechanicalness, repeatability, work Measure often larger;, it is necessary to simulate the various applications such as mass data or a large amount of concurrent users when progress system load, performance test During occasion, it is difficult to be carried out by manual test;If the test case of a large amount of (thousands of), it is necessary to complete in a short time, Manual test is hardly possible to be accomplished.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of software testing system and method, purport Solving the problems such as existing method for testing software efficiency is low, workload is big.
Technical scheme is as follows:
A kind of software testing system, wherein, including Network Personal Video Recorder, host computer and display, the display, net Network video recorder and host computer are sequentially connected;The Network Personal Video Recorder and host computer are in same LAN, and the computer Main frame has built nfs server;
The Network Personal Video Recorder is used for the recording for carrying out mouse track, and generates trail file deposit nfs server;
The host computer is used to run Secure CRT softwares, and calls trail file, and defeated to Secure CRT Go out daily record to be caught, and according to the daily record of output judge test whether it is qualified.
Described software testing system, wherein, the Network Personal Video Recorder and host computer are connected by RS232 serial ports Connect.
Described software testing system, wherein, the storage catalogue of the Network Personal Video Recorder carry nfs server.
Described software testing system, wherein, the display enters to VGA the or HDMI signals that Network Personal Video Recorder exports Row display.
Described software testing system, wherein, the trail file is binary file.
A kind of method for testing software based on software testing system as described above, wherein, including step:
Network Personal Video Recorder carries out the recording of mouse track, and generates trail file deposit nfs server;
Host computer runs Secure CRT softwares, and calls trail file, and Secure CRT output journals are entered Row catch, and according to the daily record of output judge test whether it is qualified.
Described method for testing software, wherein, the Network Personal Video Recorder and host computer are connected by RS232 serial ports Connect.
Described method for testing software, wherein, state the storage catalogue of Network Personal Video Recorder carry nfs server.
Described method for testing software, wherein, the display enters to VGA the or HDMI signals that Network Personal Video Recorder exports Row display.
Described method for testing software, wherein, the trail file is binary file.
Beneficial effect:Inventive network video recorder carries out the recording of mouse track, and generates trail file deposit NFS services Device;Trail file is called using host computer, and Secure CRT output journals are caught, and according to the daily record of output It is qualified that judgement tests whether.The present invention can carry out automatic test to the software function of Network Personal Video Recorder, substantially increase test Efficiency, reduce workload.
Brief description of the drawings
Fig. 1 is a kind of structured flowchart of software testing system preferred embodiment of the present invention.
Embodiment
The present invention provides a kind of software testing system and method, to make the purpose of the present invention, technical scheme and effect more Clear, clear and definite, the present invention is described in more detail below.It should be appreciated that specific embodiment described herein only to The present invention is explained, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of structured flowchart of software testing system preferred embodiment of the present invention, it includes network Video recorder 20, host computer 30 and display 10, the display 10, Network Personal Video Recorder 20 and host computer 30 connect successively Connect;The Network Personal Video Recorder 20 and host computer 30 are in same LAN, and the host computer 30 has built NFS services Device;
The Network Personal Video Recorder 20 is used for the recording for carrying out mouse track, and generates trail file deposit nfs server;
The host computer 30 is used to run Secure CRT softwares, and calls trail file, and to Secure CRT Output journal is caught, and according to the daily record of output judge test whether it is qualified.
The present invention has two nodes, respectively node 1 and node 2.
Node 1:Visualization device based on Linux system, specially (the NetWork Video of Network Personal Video Recorder 20 Recorder, NVR), perform mouse track and record.
Node 2:Host computer 30 (PC), Secure CRT softwares are run, perform VBS scripts and call trail file, and it is right Secure CRT output journals are caught.
In same LAN, nfs server, the carry nfs server of node 1 have been built in node 2 with node 2 for node 1 Storage catalogue.
Mouse track, which is run, in node 1 records program, various mouse actions that analog subscriber may be carried out, and to mouse Track is recorded, the storage catalogue of generation trail file (i.e. recorded file) deposit nfs server.
Secure CRT application programs are run in node 2, call the VBS scripts write to call the track on nfs server File, for the application program of Network Personal Video Recorder equipment under specific operation, serial ports can export the log information of agreement, pass through Secure CRT perform VBS scripts and daily record are caught, and are judged to test whether qualified, i.e. daily record according to test result (daily record) Whether satisfaction is expected.
Further, the Network Personal Video Recorder 20 and host computer 30 are attached by RS232 serial ports.That is node 1 and section Point 2 is connected by RS232 serial ports, i.e., is attached by RS232 serial port connecting wires.
The main function of the Network Personal Video Recorder 20 is to carry out video recording storage to the video of web camera and video is entered Row decoding, main realize of the present invention carry out automatic test to the software function of the equipment.
The display 10 is used for showing VGA the or HDMI signals that Network Personal Video Recorder 20 exports.
The main function of the host computer 30 is that runs software Secure CRT call input of the shell script to COM defeated Go out to be operated, build nfs server, the binary file to mouse track generation is managed, writes VB scripts etc..
Further, the trail file is preferably binary file.
In the present invention, linux system compatibility is strong, and COM communicates in real time (between NVR and host computer), low latency, SecureCRT catches accurate.
The present invention also provides a kind of method for testing software based on software testing system as described above, and it includes step:
Network Personal Video Recorder carries out the recording of mouse track, and generates trail file deposit nfs server;
Host computer runs Secure CRT softwares, and calls trail file, and Secure CRT output journals are entered Row catch, and according to the daily record of output judge test whether it is qualified.
Further, the Network Personal Video Recorder and host computer are attached by RS232 serial ports.
Further, the storage catalogue of Network Personal Video Recorder carry nfs server is stated.
Further, the display is shown to VGA the or HDMI signals that Network Personal Video Recorder exports.
Further, the trail file is binary file.
In summary, inventive network video recorder carries out the recording of mouse track, and generates trail file deposit NFS services Device;Trail file is called using host computer, and Secure CRT output journals are caught, and according to the daily record of output It is qualified that judgement tests whether.The present invention can carry out automatic test to the software function of Network Personal Video Recorder, substantially increase test Efficiency, reduce workload.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

  1. A kind of 1. software testing system, it is characterised in that including Network Personal Video Recorder, host computer and display, the display Device, Network Personal Video Recorder and host computer are sequentially connected;The Network Personal Video Recorder and host computer are and described in same LAN Host computer has built nfs server;
    The Network Personal Video Recorder is used for the recording for carrying out mouse track, and generates trail file deposit nfs server;
    The host computer is used to run Secure CRT softwares, and calls trail file, and exports day to Secure CRT Will is caught, and according to the daily record of output judge test whether it is qualified.
  2. 2. software testing system according to claim 1, it is characterised in that the Network Personal Video Recorder and host computer pass through RS232 serial ports is attached.
  3. 3. software testing system according to claim 1, it is characterised in that the Network Personal Video Recorder carry nfs server Storage catalogue.
  4. 4. software testing system according to claim 1, it is characterised in that the display exports to Network Personal Video Recorder VGA or HDMI signals are shown.
  5. 5. software testing system according to claim 1, it is characterised in that the trail file is binary file.
  6. 6. a kind of method for testing software based on software testing system as claimed in claim 1, it is characterised in that including step Suddenly:
    Network Personal Video Recorder carries out the recording of mouse track, and generates trail file deposit nfs server;
    Host computer runs Secure CRT softwares, and calls trail file, and Secure CRT output journals are caught Catch, and according to the daily record of output judge test whether it is qualified.
  7. 7. method for testing software according to claim 6, it is characterised in that the Network Personal Video Recorder and host computer pass through RS232 serial ports is attached.
  8. 8. method for testing software according to claim 6, it is characterised in that state Network Personal Video Recorder carry nfs server Storage catalogue.
  9. 9. method for testing software according to claim 6, it is characterised in that the display exports to Network Personal Video Recorder VGA or HDMI signals are shown.
  10. 10. method for testing software according to claim 6, it is characterised in that the trail file is binary file.
CN201710718842.4A 2017-08-21 2017-08-21 A kind of software testing system and method Pending CN107491391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710718842.4A CN107491391A (en) 2017-08-21 2017-08-21 A kind of software testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710718842.4A CN107491391A (en) 2017-08-21 2017-08-21 A kind of software testing system and method

Publications (1)

Publication Number Publication Date
CN107491391A true CN107491391A (en) 2017-12-19

Family

ID=60646392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710718842.4A Pending CN107491391A (en) 2017-08-21 2017-08-21 A kind of software testing system and method

Country Status (1)

Country Link
CN (1) CN107491391A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764823A (en) * 2019-10-18 2021-05-07 杭州海康威视数字技术股份有限公司 Starting method of NVR (network video recorder) system, host operating system and data communication method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441592A (en) * 2007-11-20 2009-05-27 鸿富锦精密工业(深圳)有限公司 Test system and method of embedded system
CN101620565A (en) * 2008-07-04 2010-01-06 福建升腾资讯有限公司 Method for automatically testing functions of terminal system
CN102419732A (en) * 2011-12-27 2012-04-18 Tcl集团股份有限公司 Android-platform-based automated testing method and testing tool
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息系统有限公司 Automatic testing method of Android program
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method
CN103853658A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Automated testing method for production and playback in Android equipment and Android equipment
CN104008047A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 Intelligent terminal program testing method and system
US20150006969A1 (en) * 2013-06-27 2015-01-01 Atmel Corporation Tracing events in an autonomous event system
CN104849576A (en) * 2014-02-13 2015-08-19 广东小天才科技有限公司 Automatic testing system and testing method thereof
CN105653460A (en) * 2016-02-29 2016-06-08 东南大学 Method and system for recording and playback of man-machine interface testing actions of touch screen product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441592A (en) * 2007-11-20 2009-05-27 鸿富锦精密工业(深圳)有限公司 Test system and method of embedded system
CN101620565A (en) * 2008-07-04 2010-01-06 福建升腾资讯有限公司 Method for automatically testing functions of terminal system
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息系统有限公司 Automatic testing method of Android program
CN102419732A (en) * 2011-12-27 2012-04-18 Tcl集团股份有限公司 Android-platform-based automated testing method and testing tool
CN103853658A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Automated testing method for production and playback in Android equipment and Android equipment
CN104008047A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 Intelligent terminal program testing method and system
US20150006969A1 (en) * 2013-06-27 2015-01-01 Atmel Corporation Tracing events in an autonomous event system
CN104849576A (en) * 2014-02-13 2015-08-19 广东小天才科技有限公司 Automatic testing system and testing method thereof
CN105653460A (en) * 2016-02-29 2016-06-08 东南大学 Method and system for recording and playback of man-machine interface testing actions of touch screen product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764823A (en) * 2019-10-18 2021-05-07 杭州海康威视数字技术股份有限公司 Starting method of NVR (network video recorder) system, host operating system and data communication method
CN112764823B (en) * 2019-10-18 2023-03-10 杭州海康威视数字技术股份有限公司 Starting method of NVR (network video recorder) system, host operating system and data communication method

Similar Documents

Publication Publication Date Title
US10911521B2 (en) Measuring actual end user performance and availability of web applications
US8756586B2 (en) System and method for automated performance testing in a dynamic production environment
CN108255729B (en) Mobile phone game automatic testing method and system based on Unity platform
CN111737127B (en) Method and apparatus for testing map services
Azim et al. Targeted and depth-first exploration for systematic testing of android apps
US8516451B2 (en) System and method for creating virtual callback objects
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
CN101241467B (en) Automatized white box test system and method facing to WEB application
CN103164328B (en) The regression testing method of a kind of business function, Apparatus and system
CN103377120B (en) A kind of applied program testing method and device
US20200133829A1 (en) Methods and systems for performance testing
CN103365770A (en) Mobile terminal software testing system and software testing method
Tuovenen et al. MAuto: Automatic mobile game testing tool using image-matching based approach
US6691259B1 (en) Terminal server data file extraction and analysis application
Lei et al. Performance and scalability testing strategy based on kubemark
US20120221949A1 (en) Terminal data logger
US4813009A (en) Method and apparatus for determining internal status of a processor
CN107491391A (en) A kind of software testing system and method
US20050065803A1 (en) Using ghost agents in an environment supported by customer service providers
CN111258893A (en) Mobile terminal application automatic testing device for randomly assembling transaction path
CN115509913A (en) Software automation test method, device, machine readable medium and equipment
CN109271296A (en) A kind of jelly screen test method
US20230013028A1 (en) Log-based automation testing
Mosley Client Server Software Testing on the Desk Top and the Web
Liu Application of loadrunner automated test tool in cloud platform performance test

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

Application publication date: 20171219

RJ01 Rejection of invention patent application after publication