CN107967215A - A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically - Google Patents

A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically Download PDF

Info

Publication number
CN107967215A
CN107967215A CN201711299872.2A CN201711299872A CN107967215A CN 107967215 A CN107967215 A CN 107967215A CN 201711299872 A CN201711299872 A CN 201711299872A CN 107967215 A CN107967215 A CN 107967215A
Authority
CN
China
Prior art keywords
test
mounted multimedia
vehicle
interacted
interacted system
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
CN201711299872.2A
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201711299872.2A priority Critical patent/CN107967215A/en
Publication of CN107967215A publication Critical patent/CN107967215A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically, vehicle mounted multimedia mobile phone interacted system are tested automatically using the test device for carrying the system of test, and generate the trace of test process;The trace of generation is saved as crucial, effective KPI information in journal file, then extract real-time journal file to deposit in local data base;Processing is finally formatted to the information in local data base and is used as report output;By this automatic test approach, the efficiency of automatic test and the readability of whole result are improved;Effectively release the human resources of manual Black-box Testing, moreover it is possible to effectively carry out compatibility test for the vehicle mounted multimedia mobile phone interacted system of diversification.

Description

A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically
Technical field
The present invention relates to vehicle-mounted software system test field, and it is mutual to test vehicle-mounted multimedia handset automatically more particularly to one kind The method and apparatus for contacting system.
Background technology
With the continuous development of intelligent automobile technology, automobile and cell phone intelligent interconnection have not been a strange work(instantly Can, many automobiles all support the interconnection cross complaint of mobile phone and automobile to operate at present.The meaning of Automobile handset interconnection is that user is accustomed to Continuity, operation and use of the user without learning and adapting to vehicle device and mobile phone respectively, mobile phone is exactly that user gets used to usual row For carrying.
Vehicle mounted multimedia mobile phone interacted system is before putting goods on the market, it is necessary to carry out sufficiently test to it to ensure product Quality.Current manual Black-box Testing is less efficient, and in archiving method, efficient analysis simultaneously automatically generates readable stronger Analysis report in terms of almost without very easily method and approach, and effectively distinguish currently without a kind of and filter external set A kind of method of standby Network Abnormal, also without test result automatic arranging by complicated readable difference into the strong report of readability Mechanism.Therefore, with performance test of the famous automatic test of efficiency for vehicle mounted multimedia mobile phone interacted system and stability Test is then particularly important.
The content of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of side for testing vehicle-mounted multimedia handset interacted system automatically Method, saves as daily record document to the trace of test process generation in real time, then parses daily record document, and extraction is crucial, effective KPI information is stored in database;To these information formats after to be tested, exported as test report.
In order to realize above-mentioned technology, the present invention uses following scheme:One kind is tested vehicle-mounted multimedia handset and is mutually contacted automatically The method of system, including test system, the described method comprises the following steps:
Test environment is disposed, the test system is initialized;
Powered on using test system control vehicle mounted multimedia mobile phone interacted system, and ensure the vehicle mounted multimedia hand Machine interacted system is in normal operating condition;
Tester selects test cases, starts to test;
If test passes through, output automatic test report;
If test not by, mark, screen because cell phone network failure and caused by test the case that does not pass through, described in output Automatic test is reported;
Close the vehicle mounted multimedia mobile phone interacted system, release test system resource.
Further, it is described that initialization is carried out to the test system including establishing a local data base;The release Test system resource includes deleting local data base.
Further, the generating process of the automatic test report is:The test system generation test process Trace, and the trace of the test cases is saved as into the corresponding journal file;To the institute of all test cases The information stated in journal file is parsed, and the information being resolved to is stored in the local data base;Finally to described Data format in ground database is handled.
Further, the information in the journal file of described pair of all test cases resolve in real time Extract crucial, the effective KPI information in the journal file.
Further, the mark, screen because cell phone network failure and caused by test the case that does not pass through be described in The journal file of test cases is marked and screens after being parsed.
Further, the deployment test system environment includes:Mobile phone is interconnected with in-vehicle multi-media system by USB;Institute In-vehicle multi-media system is stated to interconnect by USB with the test system.
Further, the test system is provided with human-computer interaction interface, uses natural language.
A kind of device for testing vehicle-mounted multimedia handset interacted system automatically, the above-mentioned test system of described device, and its Test method is above-mentioned test method.
Further, described device is provided with OLED screen curtain and USB interface.
A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically of the present invention, using carrying the survey The test device of test system, realizes the automatic test of vehicle mounted multimedia mobile phone interacted system, effectively releases manual black box The human resources of test, improve the efficiency of automatic test and the readability of whole result;This method can also be detected effectively It has the test crash caused by cell phone network failure, effectively the vehicle mounted multimedia mobile phone interacted system for diversification carries out simultaneous Hold test.
Brief description of the drawings
Fig. 1 is the test flow chart of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right with reference to the accompanying drawings and embodiments The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment 1:
A kind of method for testing vehicle-mounted multimedia handset interacted system automatically, including test system, as shown in Figure 1, described Method comprises the following steps:
S1, system initialization, including dispose test environment and establish local data base, the test system is carried out initial Change;Specifically, interconnected including mobile phone with in-vehicle multi-media system by USB;The in-vehicle multi-media system is filled with the test Put and interconnected by USB;
S2, product power on, and include the use of the test system control vehicle mounted multimedia mobile phone interacted system and power on;
S3, establish communication, including ensures that the vehicle mounted multimedia mobile phone interacted system is in normal operating condition, specifically , in the present embodiment, interconnected communication is communicated with USB (Universal Serial Bus, Universal Serial Bus), The performance such as convenient, fast, flexible of USB plug and play be automated testing method of the invention is more convenient reliable;
S4, tester select test cases, start to test;
S5, judgement test whether to pass through:
If test passes through, S8 is performed:Export automatic test report;
If test is not by performing S6:The test system parses journal file, and extracts the daily record The corresponding key KPI information datas of case described in file;With S7 screenings, mark cell phone network failure, the local is stored in In database;Finally perform S8 and export the automatic test report;
The generating process of wherein automatic test report is:The trace of the test system generation test process, And the trace of the test cases is saved as into the corresponding journal file;The daily record to all test cases Information in file is parsed, and the information being resolved to is stored in the local data base;Finally to the local data Data format in storehouse is handled.
S9, close the vehicle mounted multimedia mobile phone interacted system, release test system resource.
Close the vehicle mounted multimedia mobile phone interacted system, release test system resource.
In one embodiment, the information in the journal file of described pair of all test cases resolves to Crucial, effective KPI information in journal file described in extract real-time.
In one embodiment, the mark, screen because cell phone network failure and caused by test the case that does not pass through be The journal file of the test cases is marked and screens after being parsed.
In one embodiment, the test system is provided with human-computer interaction interface, uses natural language.
Embodiment 2:
A kind of device for testing vehicle-mounted multimedia handset interacted system automatically, the above-mentioned test system of described device, and its Test method is above-mentioned test method.
In one embodiment, described device is provided with OLED screen curtain and USB interface.
In this way, using this test system and device, the automatic test of vehicle mounted multimedia mobile phone interacted system, effect ground are realized Detect the test crash caused by cell phone network failure, compatibility is carried out for the vehicle mounted multimedia mobile phone interacted system of diversification Test;But also the human resources of manual Black-box Testing are effectively released, improve the efficiency of automatic test and overall knot The readability of fruit.And the vehicle mounted multimedia mobile phone interacted system shortened increasingly for the construction cycle, automatic test of the invention It is method, convenient and general.
The above is the preferred embodiment of the present invention, it is noted that other include this automatic test vehicle mounted multimedia The method and apparatus of mobile phone interacted system, for those skilled in the art, are not departing from the original of the present invention On the premise of reason, some improvements and modifications can also be made, these improvements and modifications are also considered as protection scope of the present invention.

Claims (9)

  1. A kind of 1. method for testing vehicle-mounted multimedia handset interacted system automatically, it is characterised in that:Including testing system, the side Method comprises the following steps:
    Test environment is disposed, the test system is initialized;
    Powered on using test system control vehicle mounted multimedia mobile phone interacted system, and ensure that the vehicle mounted multimedia mobile phone is mutual Contact system is in normal operating condition;
    Tester selects test cases, starts to test;
    If test passes through, output automatic test report;
    If test not by, mark, screen because cell phone network failure and caused by test the case that does not pass through, export described automatic Change test report;
    Close the vehicle mounted multimedia mobile phone interacted system, release test system resource.
  2. A kind of 2. method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 1, it is characterised in that: It is described that initialization is carried out to the test system including establishing a local data base;The release test system resource includes will Local data base is deleted.
  3. 3. a kind of method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 1 or 2, its feature exist In:The generating process of automatic test report is:The trace of test system generation test process, and by the survey The trace of examination case saves as the corresponding journal file;To the letter in the journal file of all test cases Breath is parsed, and the information being resolved to is stored in the local data base;Finally to the data in the local data base Form is handled.
  4. A kind of 4. method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 3, it is characterised in that: Information in the journal file of described pair of all test cases resolve in journal file described in extract real-time Crucial, effective KPI information.
  5. 5. a kind of method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 1 or 3, its feature exist In:The mark, screen because cell phone network failure and caused by test the case that does not pass through be the day in the test cases Will file is marked and screens after being parsed.
  6. A kind of 6. method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 1, it is characterised in that: The deployment test system environment includes:Mobile phone is interconnected with in-vehicle multi-media system by USB;The in-vehicle multi-media system with The test system is interconnected by USB.
  7. A kind of 7. method for testing vehicle-mounted multimedia handset interacted system automatically according to claim 1, it is characterised in that The test system is provided with human-computer interaction interface, uses natural language.
  8. A kind of 8. device for testing vehicle-mounted multimedia handset interacted system automatically, it is characterised in that:Described device carries right will The test system of any one of 1-7 is sought, and its test method is the method for any one of claim 1-7.
  9. A kind of 9. device for testing vehicle-mounted multimedia handset interacted system automatically according to claim 8, it is characterised in that: Described device is provided with OLED screen curtain and USB interface.
CN201711299872.2A 2017-12-09 2017-12-09 A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically Pending CN107967215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711299872.2A CN107967215A (en) 2017-12-09 2017-12-09 A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711299872.2A CN107967215A (en) 2017-12-09 2017-12-09 A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically

Publications (1)

Publication Number Publication Date
CN107967215A true CN107967215A (en) 2018-04-27

Family

ID=61998449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711299872.2A Pending CN107967215A (en) 2017-12-09 2017-12-09 A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically

Country Status (1)

Country Link
CN (1) CN107967215A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324246A (en) * 2018-09-28 2019-02-12 惠州市德赛西威汽车电子股份有限公司 A kind of Auto-Test System and method of testing mobile phone charging compatibility
CN113656285A (en) * 2021-07-26 2021-11-16 惠州市德赛西威智能交通技术研究院有限公司 Method and system for automatic interconnection test of vehicle-mounted apple mobile phone

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601768A (en) * 2014-12-22 2015-05-06 上海斐讯数据通信技术有限公司 Android mobile phone automatic testing system and testing method thereof
CN104750603A (en) * 2013-12-30 2015-07-01 联芯科技有限公司 Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
CN105589808A (en) * 2016-02-23 2016-05-18 惠州Tcl移动通信有限公司 Test method and test system for mobile phone and vehicle-mounted Bluetooth
US20160357663A1 (en) * 2010-04-14 2016-12-08 International Business Machines Corporation Software defect reporting
CN106649072A (en) * 2015-10-28 2017-05-10 惠州市德赛西威汽车电子股份有限公司 Test and accepting method and system for software on vehicle-mounted terminal, intelligent terminal and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160357663A1 (en) * 2010-04-14 2016-12-08 International Business Machines Corporation Software defect reporting
CN104750603A (en) * 2013-12-30 2015-07-01 联芯科技有限公司 Multi-core DSP (Digital Signal Processor) software emulator and physical layer software testing method thereof
CN104601768A (en) * 2014-12-22 2015-05-06 上海斐讯数据通信技术有限公司 Android mobile phone automatic testing system and testing method thereof
CN106649072A (en) * 2015-10-28 2017-05-10 惠州市德赛西威汽车电子股份有限公司 Test and accepting method and system for software on vehicle-mounted terminal, intelligent terminal and server
CN105589808A (en) * 2016-02-23 2016-05-18 惠州Tcl移动通信有限公司 Test method and test system for mobile phone and vehicle-mounted Bluetooth

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324246A (en) * 2018-09-28 2019-02-12 惠州市德赛西威汽车电子股份有限公司 A kind of Auto-Test System and method of testing mobile phone charging compatibility
CN113656285A (en) * 2021-07-26 2021-11-16 惠州市德赛西威智能交通技术研究院有限公司 Method and system for automatic interconnection test of vehicle-mounted apple mobile phone

Similar Documents

Publication Publication Date Title
CN105302732B (en) A kind of automatic test approach and device of mobile terminal
CN104899016B (en) Allocating stack Relation acquisition method and device
CN102967815B (en) Chip testing method, automated testing equipment and system
CN106648835A (en) Method and system for detecting running of Android application program in Android simulator
CN106326108A (en) New application testing method and device
CN103064764A (en) Evidence obtaining method capable of rapidly recovering messages deleted by Android mobile phone
CN108459850B (en) Method, device and system for generating test script
CN105680960A (en) Automatic test method for Bluetooth card reader, test upper computer and test system
CN106022127A (en) APK file security detection method and apparatus
CN106100935A (en) Charging equipment of electric automobile communication protocol consistency test device and method
CN106326088A (en) Test object constructing method and device, and service configuration testing device
CN106202217A (en) Webpage link access method and device and mobile terminal
CN104572072A (en) MVC (model view controller) mode-based language transformation method and equipment for program
CN107239398A (en) A kind of interface testing use-case automatic creation system and method based on Postman
CN105022694A (en) Test case generation method and system for mobile terminal test
CN107967215A (en) A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically
CN102968367A (en) Static detection method on basis of embedded software and system thereof
WO2007061241A1 (en) Error test method for mobile communication terminals
CN109712000A (en) Repeat insure method for limiting, device, equipment and readable storage medium storing program for executing
CN103079180B (en) Remote assistance method and system
CN103885878A (en) Method and device for generating browser testing script
CN105915700A (en) Verification code prompting method and equipment
CN103685498B (en) The loading method and browser device of a kind of wallpaper
CN111355628A (en) Model training method, business recognition device and electronic device
CN106972983A (en) The automatic test device and method of network interface

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: 20180427