CN113656285A - Method and system for automatic interconnection test of vehicle-mounted apple mobile phone - Google Patents
Method and system for automatic interconnection test of vehicle-mounted apple mobile phone Download PDFInfo
- Publication number
- CN113656285A CN113656285A CN202110843946.4A CN202110843946A CN113656285A CN 113656285 A CN113656285 A CN 113656285A CN 202110843946 A CN202110843946 A CN 202110843946A CN 113656285 A CN113656285 A CN 113656285A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- case
- test
- tool
- sub
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000013515 script Methods 0.000 claims abstract description 20
- 238000012956 testing procedure Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 238000010998 test method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
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 invention provides a method and a system for automatically testing interconnection of a vehicle-mounted apple mobile phone. Specifically, a personal automation script is newly created in the automation executive program, all automation test triggering conditions are configured on the attribute interface, a to-be-tested sub-tool selected randomly is added on the tool management interface, meanwhile, according to the automation test triggering conditions, each to-be-tested sub-tool is configured to perform corresponding automation test operation, a case is generated corresponding to each to-be-tested sub-tool after configuration is completed, and finally, the generation of the automation test case is completed.
Description
Technical Field
The invention relates to the technical field of automatic testing of vehicle-mounted mobile phone interconnection, in particular to a method and a system for automatic testing of vehicle-mounted apple mobile phone interconnection.
Background
With the development of the automotive electronics industry, people have higher and higher requirements on vehicle-mounted terminals, such as vehicle-mounted entertainment multimedia systems. The vehicle-mounted terminal embedded with the operating system is widely popularized and is favored by the automotive electronics industry. With the increasing and diversification of the requirements of users, various vehicle-mounted terminal software is provided by various manufacturers, more choices are provided for the users, and the users are allowed to select favorite applications from the various vehicle-mounted terminal software. However, the Android system of the vehicle-mounted terminal is greatly different from the Android system of the mobile phone in system design, especially in aspects of stability, functional modules and the like. For example: hardware aspect: the chip and the material used by the vehicle-mounted terminal both need to meet the requirements of vehicle specifications, while the chip and the material used by the mobile phone only need to meet the requirements of consumption levels. The requirements of the working environment are as follows: the vehicle-mounted terminal needs to meet the requirements of vehicle-scale experiments, such as the requirements of Electro Magnetic Compatibility (EMC), extreme high and low temperature resistance, strong vibration resistance and the like, and the mobile phone only needs to meet the basic consumption-level requirements. Software aspect: the in-vehicle terminal also needs to integrate basic function modules that satisfy the characteristic functions of the in-vehicle terminal, such as: a vehicle body diagnosis function module, an original vehicle bus information function module, a peripheral independent function module (CMMB, CarDVR, TPMS, etc.), etc.; and the mobile phone does not need to satisfy the characteristic functions peculiar to these in-vehicle terminals. In the mainstream testing technology at present, for the automatic testing of the interconnection of the vehicle-mounted mobile phones, most of the automatic testing is performed at the vehicle or mobile phone end by compiling some scripts or testing applications. Some complicated test conditions and operations are not satisfied by a simple automatic test method, such as the iOS is limited by the system, and cannot obtain the basic state of the mobile phone and operate other external applications.
Disclosure of Invention
In order to solve the problems, the patent provides a method and a system for vehicle-mounted apple mobile phone interconnection automatic testing, and the method and the system comprise the following steps:
s1: newly creating a personal automation script;
s2: configuring all automatic test triggering conditions on an attribute interface;
s3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
s4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
s5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
Further, the automatic test triggering condition at least comprises: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
Further, the sub-tool to be tested at least comprises: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
Furthermore, the case stores an automated test triggering condition corresponding to the sub-tool to be tested, specifies an operation, and ends a script for completely implementing the operation.
Further, any of the cases performs an automated testing process synchronously or sequentially.
Preferably, the present invention further provides a system for interconnection automation test of vehicle-mounted mobile client, which at least includes:
the mobile client is matched with the vehicle-mounted system and is communicated with the vehicle-mounted system, and an automatic execution program is configured in the mobile client;
the automatic execution program is used for creating a corresponding automatic test case according to different vehicle-mounted terminal to-be-tested sub-tools and carrying out automatic test operation process configuration according to test requirements;
and after any case finishes configuration and starts operation, detecting whether the operation result is qualified according to the recorded operation test result, and finishing the test of the sub-tool to be tested.
The method for automatically executing the file includes that the automatically executing program supports arbitrarily added cases, and specifically includes:
step 1: newly creating a personal automation script in the automation executive program;
step 2: configuring all automatic test triggering conditions on an attribute interface;
and step 3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
and 4, step 4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
and 5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
Further, the automatic test triggering condition at least comprises: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
Further, the sub-tool to be tested at least comprises: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
Furthermore, the execution sequence of each case in the automatic execution program is set, and any case performs the automatic test process synchronously or sequentially.
In summary, the invention provides a method and a system for automatic testing of interconnection of a vehicle-mounted apple mobile phone, which mainly adopt a shortcut instruction application carried by an iPhone mobile phone end system to generate a common automatic command, and achieve interconnection with a vehicle-mounted apple mobile phone through a corresponding command. Specifically, a personal automation script is newly created in the automation executive program, all automation test triggering conditions are configured on the attribute interface, a to-be-tested sub-tool selected randomly is added on the tool management interface, meanwhile, according to the automation test triggering conditions, each to-be-tested sub-tool is configured to perform corresponding automation test operation, a case is generated corresponding to each to-be-tested sub-tool after configuration is completed, and finally, the generation of the automation test case is completed.
Drawings
Fig. 1 is a schematic diagram of a method for automatically testing interconnection of a vehicle-mounted apple mobile phone.
FIG. 2 is a schematic diagram of an automated executive interface.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present patent proposes a method and a system for vehicle-mounted apple mobile phone interconnection automated testing, which includes the following steps:
s1: newly creating a personal automation script;
s2: configuring all automatic test triggering conditions on an attribute interface;
s3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
s4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
s5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
Further, the automatic test triggering condition at least comprises: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
Further, the sub-tool to be tested at least comprises: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
Furthermore, the case stores an automated test triggering condition corresponding to the sub-tool to be tested, specifies an operation, and ends a script for completely implementing the operation.
Further, any of the cases performs an automated testing process synchronously or sequentially.
Preferably, the present invention further provides a system for interconnection automation test of vehicle-mounted mobile client, which at least includes:
the mobile client is matched with the vehicle-mounted system and is communicated with the vehicle-mounted system, and an automatic execution program is configured in the mobile client;
the automatic execution program is used for creating a corresponding automatic test case according to different vehicle-mounted terminal to-be-tested sub-tools and carrying out automatic test operation process configuration according to test requirements;
and after any case finishes configuration and starts operation, detecting whether the operation result is qualified according to the recorded operation test result, and finishing the test of the sub-tool to be tested.
The method for automatically executing the file includes that the automatically executing program supports arbitrarily added cases, and specifically includes:
step 1: newly creating a personal automation script in the automation executive program;
step 2: configuring all automatic test triggering conditions on an attribute interface;
and step 3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
and 4, step 4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
and 5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
Further, the automatic test triggering condition at least comprises: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
Further, the sub-tool to be tested at least comprises: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
Furthermore, the execution sequence of each case in the automatic execution program is set, and any case performs the automatic test process synchronously or sequentially.
Preferably, on the shortcut instruction app, the "automation" is selected; click "create personal automation"; the trigger conditions are selected, and the selectable conditions are specific time/CarPlay vehicle mounted/App and the like: selecting CarPlay vehicle-mounted- > when CarPlay vehicle-mounted connection/disconnection; click on the next step, add operation: optional operations are App/personal collection/script/media/location/manuscript/share/web page etc. for example:
operation 1: media-play/pause-play;
operation 2: selecting script- "setting bluetooth-" turning on/off bluetooth ";
after the operation is configured, clicking the next step, generating a corresponding case at the moment, and taking effect after clicking is completed, wherein a 'query before running' option is arranged below the case, whether the case is opened or not can be determined according to requirements, and the case is closed, and the case represents that the test conditions are automatically executed when the test conditions are met. At this point the automated testing operation has been initially completed and testing can begin.
The actual test procedure:
1. accessing the mobile phone into a vehicle-mounted entertainment system, and initiating the connection of CarPlay;
2. at the moment, the shortcut instruction application automatically detects that the condition of the automatic test is established, and inquires whether to run the shortcut instruction (inquiring before running to select to start) and clicks to run;
3. at this time, the mobile phone will perform a test according to a preset automatic operation, (i.e. execute the operation of playing music- > turning off bluetooth).
4. The shortcut instruction can complete the automatic test by completing the flow once, and in the actual test process, the automatic operation or script can be modified according to the function to be tested.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for automatically testing interconnection of vehicle-mounted apple mobile phones is characterized by comprising the following steps:
s1: newly creating a personal automation script;
s2: configuring all automatic test triggering conditions on an attribute interface;
s3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
s4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
s5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
2. The method of claim 1, wherein the automated test triggering conditions at least comprise: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
3. The method of claim 1, wherein the sub-tool to be tested at least comprises: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
4. The method for the interconnection automation test of the vehicle-mounted apple mobile phone according to claim 1, wherein an automation test triggering condition corresponding to a sub-tool to be tested is stored in the case, an operation is specified, and a script for completely realizing the operation is finished.
5. The method of claim 4, wherein any of the cases performs an automated testing process synchronously or sequentially.
6. The system of the method for the vehicle-mounted apple mobile phone interconnection automation test according to any one of claims 1 to 5, characterized by comprising:
the mobile client is matched with the vehicle-mounted system and is communicated with the vehicle-mounted system, and an automatic execution program is configured in the mobile client;
the automatic execution program is used for creating a corresponding automatic test case according to different vehicle-mounted terminal to-be-tested sub-tools and carrying out automatic test operation process configuration according to test requirements;
and after any case finishes configuration and starts operation, detecting whether the operation result is qualified according to the recorded operation test result, and finishing the test of the sub-tool to be tested.
7. The system according to claim 6, wherein the automated execution program supports any added case, and specifically includes:
step 1: newly creating a personal automation script in the automation executive program;
step 2: configuring all automatic test triggering conditions on an attribute interface;
and step 3: adding randomly selected sub-tools to be tested on a tool management interface, and simultaneously carrying out automatic test operation corresponding to the configuration of each sub-tool to be tested according to the automatic test triggering conditions;
and 4, step 4: after configuration is completed, generating a case corresponding to each sub-tool to be tested;
and 5: starting to run the case, recording a running test result, detecting whether the running result is qualified, if so, storing the current case, and repeating subsequent automatic test operation as a standard automatic test case; otherwise, adjusting configuration according to the unqualified parameters, restarting operation until the qualified parameters are met, and then storing the latest case.
8. The system of claim 7, wherein the automated test trigger conditions comprise at least: specific time setting, or starting and executing specific operation on the CarPlay vehicle, or starting or closing any vehicle-mounted APP or executing specific operation.
9. The system of claim 7, wherein the sub-tool under test comprises at least: vehicle APP, or personal collection link, or script, or media link, or webpage, or file plus location.
10. The system according to claim 7, wherein an execution sequence of each case in the automated execution program is set, and any case performs an automated testing procedure synchronously or sequentially.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110843946.4A CN113656285A (en) | 2021-07-26 | 2021-07-26 | Method and system for automatic interconnection test of vehicle-mounted apple mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110843946.4A CN113656285A (en) | 2021-07-26 | 2021-07-26 | Method and system for automatic interconnection test of vehicle-mounted apple mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113656285A true CN113656285A (en) | 2021-11-16 |
Family
ID=78490262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110843946.4A Pending CN113656285A (en) | 2021-07-26 | 2021-07-26 | Method and system for automatic interconnection test of vehicle-mounted apple mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113656285A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941834A (en) * | 2022-11-25 | 2023-04-07 | 深圳心启科技有限公司 | Automatic operation method, device and equipment for smart phone and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492814A1 (en) * | 2011-02-28 | 2012-08-29 | Sap Ag | Managing test automation |
CN107967215A (en) * | 2017-12-09 | 2018-04-27 | 惠州市德赛西威汽车电子股份有限公司 | A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically |
CN109361916A (en) * | 2018-12-05 | 2019-02-19 | 东风汽车集团有限公司 | The cross-platform automatic testing stand of multi-medium intelligent terminal |
CN110633209A (en) * | 2019-08-22 | 2019-12-31 | 惠州市德赛西威汽车电子股份有限公司 | Automatic testing method and system for vehicle-mounted android multimedia navigator |
CN111124886A (en) * | 2019-11-22 | 2020-05-08 | 广东外语外贸大学 | Automatic testing system and method based on android vehicle-mounted system |
CN111737153A (en) * | 2020-08-03 | 2020-10-02 | 宁波均联智行科技有限公司 | Automatic testing method and system for vehicle machine |
-
2021
- 2021-07-26 CN CN202110843946.4A patent/CN113656285A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2492814A1 (en) * | 2011-02-28 | 2012-08-29 | Sap Ag | Managing test automation |
CN107967215A (en) * | 2017-12-09 | 2018-04-27 | 惠州市德赛西威汽车电子股份有限公司 | A kind of method and apparatus for testing vehicle-mounted multimedia handset interacted system automatically |
CN109361916A (en) * | 2018-12-05 | 2019-02-19 | 东风汽车集团有限公司 | The cross-platform automatic testing stand of multi-medium intelligent terminal |
CN110633209A (en) * | 2019-08-22 | 2019-12-31 | 惠州市德赛西威汽车电子股份有限公司 | Automatic testing method and system for vehicle-mounted android multimedia navigator |
CN111124886A (en) * | 2019-11-22 | 2020-05-08 | 广东外语外贸大学 | Automatic testing system and method based on android vehicle-mounted system |
CN111737153A (en) * | 2020-08-03 | 2020-10-02 | 宁波均联智行科技有限公司 | Automatic testing method and system for vehicle machine |
Non-Patent Citations (2)
Title |
---|
VERMESAN O 等: "Smart, Connected and Mobile: Architecting Future Electric Mobility Ecosystems", 《DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION.IEEE, 2013》, 4 May 2013 (2013-05-04), pages 1740 - 1744 * |
朱宁;: "车载互联系统主观评价方法研究", 汽车文摘, no. 03, 27 February 2020 (2020-02-27), pages 28 - 34 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941834A (en) * | 2022-11-25 | 2023-04-07 | 深圳心启科技有限公司 | Automatic operation method, device and equipment for smart phone and storage medium |
CN115941834B (en) * | 2022-11-25 | 2024-04-02 | 深圳朴数智能科技有限公司 | Automatic operation method, device, equipment and storage medium of smart phone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102891918B (en) | In order to the method for the bluetooth users identity module access specification of configuration communication device | |
CN105630686A (en) | Traversal testing method and device for applications and mobile terminal | |
CN103186394B (en) | A kind of software installation method and device | |
CN106126397A (en) | The processing method of program crashing message and system | |
CN111478798A (en) | Fault processing method, fault processing device and storage medium | |
CN106648685B (en) | Intelligent terminal system application processing method and device and intelligent terminal | |
CN108647140B (en) | Test method and test system of mobile terminal | |
CN106126414B (en) | Application software testing method and system | |
CN105302722A (en) | CTS automatic test method and apparatus | |
CN105487966A (en) | Program testing method, device and system | |
CN105224401A (en) | Scheduled task control method and device | |
CN111611022B (en) | Data processing method, device, equipment and system for applet application | |
CN105446739A (en) | UI interface setting method and apparatus | |
CN105975391A (en) | Restart testing method and device and mobile terminal | |
CN103324551A (en) | Application data migration method and system | |
CN104021066A (en) | Mobile terminal operation information recording method, operation method and mobile terminal | |
CN113656285A (en) | Method and system for automatic interconnection test of vehicle-mounted apple mobile phone | |
JP4440185B2 (en) | Scenario editing apparatus, pseudo base station test system, pseudo terminal test system, scenario editing method and test processing method, and storage medium storing computer-readable program and program | |
CN107733866A (en) | RPC requests, RPC request processing methods, device and equipment | |
WO2016145707A1 (en) | Method and device for adding homepage in smart terminal | |
CN106131277A (en) | A kind of telephone number storage method and mobile terminal | |
CN111026651B (en) | Test method, device, storage medium and electronic equipment | |
CN109960657B (en) | Test environment deployment method and related device | |
CN116931995A (en) | System upgrading method and device, electronic equipment and storage medium | |
CN104601823B (en) | Intelligent terminal double-card dual-standby function decision method and system based on Android system |
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 |