CN111984529A - APP software compatibility automatic test method - Google Patents

APP software compatibility automatic test method Download PDF

Info

Publication number
CN111984529A
CN111984529A CN202010710474.0A CN202010710474A CN111984529A CN 111984529 A CN111984529 A CN 111984529A CN 202010710474 A CN202010710474 A CN 202010710474A CN 111984529 A CN111984529 A CN 111984529A
Authority
CN
China
Prior art keywords
app software
software compatibility
intelligent
server
management platform
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
CN202010710474.0A
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.)
Vatti Co Ltd
Original Assignee
Vatti 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 Vatti Co Ltd filed Critical Vatti Co Ltd
Priority to CN202010710474.0A priority Critical patent/CN111984529A/en
Publication of CN111984529A publication Critical patent/CN111984529A/en
Pending legal-status Critical Current

Links

Images

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

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)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an APP software compatibility automatic test method, which comprises the following steps: installing an application container engine on a test system of a server, building an intelligent equipment management platform, and connecting the server with a remote computer and a plurality of intelligent equipment in a communication manner; compiling an APP software compatibility test case in the remote computer and sending the APP software compatibility test case to an intelligent equipment management platform in the server; and simultaneously operating a plurality of intelligent devices, pulling and starting an intelligent device management platform through the server, and enabling the plurality of intelligent devices to simultaneously operate APP software compatibility test cases. According to the automatic testing method for the compatibility of the APP software, the intelligent device management platform enables the plurality of intelligent devices to automatically run the pre-compiled APP software compatibility test cases at the same time, and the running result is sent to the tester, so that the testing efficiency and quality of the compatibility of the APP software are improved, the workload of the tester is reduced, and the problems of omission, errors and the like in manual testing are avoided.

Description

APP software compatibility automatic test method
Technical Field
The invention belongs to the technical field of software compatibility testing, and particularly relates to an APP software compatibility automatic testing method.
Background
Before releasing the APP software to the production environment, compatibility testing of the APP software, including operations of software installation, software uninstallation, and testing of some specified scenarios, is generally required to be performed, so as to alleviate the compatibility problem of the APP software in the later use process.
However, in the existing APP software compatibility testing method, a tester tests each testing machine manually, so that the tester continuously and repeatedly works, the testing efficiency is low, and problems such as manual omission and errors may occur.
Disclosure of Invention
In order to solve the problems, the invention provides an automatic APP software compatibility testing method, which enables a plurality of intelligent devices to automatically run pre-compiled APP software compatibility test cases simultaneously through an intelligent device management platform, and sends a running result to a tester, thereby improving the APP software compatibility testing efficiency and quality.
The technical scheme adopted by the invention is as follows:
an APP software compatibility automatic test method comprises the following steps:
s1, installing an application container engine on a test system of a server, building an intelligent equipment management platform, and connecting the server with a remote computer and a plurality of intelligent equipment in a communication manner;
s2, compiling an APP software compatibility test case in the remote computer and sending the APP software compatibility test case to an intelligent equipment management platform in the server;
s3, simultaneously operating a plurality of intelligent devices, pulling and starting an intelligent device management platform through the server, and enabling the plurality of intelligent devices to simultaneously operate APP software compatibility test cases;
and S4, generating an APP software compatibility test report from an operation log generated by the operation of the plurality of intelligent devices and storing the APP software compatibility test report.
Preferably, in S1, the server and the plurality of intelligent devices are communicatively connected through a repeater.
Preferably, in S2, the server and the remote computer are in the same lan.
Preferably, in S2, the method further includes: and pre-establishing a compiling environment in a remote computer for compiling the APP software compatibility test case.
Preferably, the S3 further includes: after the APP software compatibility test case is converted into codes which can be identified by the intelligent equipment, the codes are sent to an intelligent equipment management platform, and then multiple intelligent equipment is controlled to simultaneously run the APP software compatibility test case codes.
Preferably, in S4, the method further includes: when the APP software runs in a certain intelligent device and has compatibility problems, a failure log is generated and stored in a database when the APP software fails to run.
Preferably, in S4, the method further includes: and after all the intelligent devices are operated, sending the finally obtained APP software compatibility test report and failure log to a tester.
Preferably, the APP software compatibility test case includes operations of installation, uninstallation, and login of APP software.
Preferably, the intelligent device management platform is an STF, and the intelligent device is an android mobile phone.
Preferably, the authoring environment is python, the testing system is an ubuntu system, the application container engine is Docker, and the forwarder is a HUB forwarder.
Compared with the prior art, the automatic APP software compatibility testing method has the advantages that multiple intelligent devices can automatically run the pre-compiled APP software compatibility test cases at the same time through the intelligent device management platform, and the running results are sent to the testers, so that the working efficiency of the testers is greatly improved, the testers do not need to manually carry out repeated tests on each testing machine, and the testing efficiency and the quality result are improved; meanwhile, the compatibility problem of the APP software is discovered and solved in advance before the APP software is released to a production environment, complaints caused by finding the compatibility problem of the APP software by a user in the using process are avoided, and the quality and reputation of products are guaranteed.
Drawings
Fig. 1 is a schematic flowchart of an automated APP software compatibility testing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of hardware connection of an APP software compatibility automated testing method according to an embodiment of the present invention.
Description of the reference numerals
1-server, 2-remote computer, 3-intelligent equipment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides an APP software compatibility automatic test method, as shown in FIGS. 1-2, which comprises the following steps:
s1, installing an application container engine on a test system of a server, building an intelligent equipment management platform, and connecting the server with a remote computer and a plurality of intelligent equipment in a communication manner;
s2, compiling an APP software compatibility test case in the remote computer and sending the APP software compatibility test case to an intelligent equipment management platform in the server;
s3, simultaneously operating a plurality of intelligent devices, pulling and starting an intelligent device management platform through the server, and enabling the plurality of intelligent devices to simultaneously operate APP software compatibility test cases;
and S4, generating an APP software compatibility test report from an operation log generated by the operation of the plurality of intelligent devices and storing the APP software compatibility test report.
Therefore, the server provided with the intelligent equipment platform is in communication connection with a plurality of intelligent equipment, the server is in wireless connection with a remote computer in the same local area network, the APP compatibility test case is compiled into a computer program through the remote computer and is sent to the server, the plurality of intelligent equipment run simultaneously, the server pulls and starts the intelligent equipment management platform, the plurality of intelligent equipment automatically run the APP compatibility test case simultaneously, and the running result is sent to a tester, so that the working efficiency of the tester is greatly improved, the tester does not need to manually carry out repeated tests on each test machine, and the test efficiency and the quality result are improved; meanwhile, the compatibility problem of the APP software is discovered and solved in advance before the APP software is released to a production environment, complaints caused by finding the compatibility problem of the APP software by a user in the using process are avoided, and the quality and reputation of products are guaranteed.
As shown in fig. 2, a remote computer 2 and a plurality of intelligent devices 3 are connected to each other by a server 1 in a communication manner in the same lan.
The test system is an Ubuntu system, the Ubuntu system is a Linux operating system mainly based on desktop applications, and the Ubuntu is based on a Debian release and GNOME desktop environment. The Ubuntu aims to provide an up-to-date and at the same time quite stable operating system which is mainly built by free software for general users, can be used freely and has community and professional support.
The application container engine is Docker, which is an open-source application container engine, so that developers can pack their applications and dependence packages into a portable container, and then distribute the application and dependence packages to any popular Linux machine, and can also realize virtualization. The containers are fully sandboxed without any interface between each other.
The intelligent device management platform is an STF, that is, a Smartphone Test Farm (STF for short) is a web application, and is mainly used for remotely debugging a Smartphone, an intelligent watch and the like from a specified browser, and more than 160 devices can be remotely debugged. The STF can conveniently manage the mobile test equipment, improve the efficient use of the test machine and conveniently move the test. The intelligent device is an android mobile phone.
In S1, the server and the plurality of smart devices are communicatively connected by a repeater.
In this way, the server and a plurality of intelligent devices, such as a HUB transponder multi-port transponder, are connected through transponder communication, so that even if a line of one intelligent device of the plurality of intelligent devices fails, the line of the other intelligent devices is not affected.
In S2, the server and the remote computer are in the same lan.
Therefore, the server and the remote computer are in the same local area network, so that the remote computer can smoothly send the APP software compatibility test case to the server.
In S2, the method further includes: and pre-establishing a compiling environment in a remote computer for compiling the APP software compatibility test case.
Therefore, by pre-establishing a programming environment, namely python (namely python computer programming language), in the remote computer, a tester can write the APP software compatibility test case by using python in the remote computer, wherein the test framework is a unit test framework.
The S3 further includes: after the APP software compatibility test case is converted into codes which can be identified by the intelligent equipment, the codes are sent to an intelligent equipment management platform, and then multiple intelligent equipment is controlled to simultaneously run the APP software compatibility test case codes.
Therefore, after the APP software compatibility test case is transferred to the code which can be identified by the intelligent equipment through the Appium (namely, an APP automatic testing tool), the APP software compatibility test case is sent to the intelligent equipment management platform, so that the plurality of intelligent equipment can simultaneously run the APP software compatibility test case code.
In S4, the method further includes: when the APP software runs in a certain intelligent device and has compatibility problems, a failure log is generated and stored in a database when the APP software fails to run.
Therefore, the compatibility problem of the APP software in the intelligent devices can be detected simultaneously, and the intelligent devices with the problems and the failure logs generated by the intelligent devices with the problems and the compatibility problems can be sent to the testers.
In S4, the method further includes: and after all the intelligent devices are operated, sending the finally obtained APP software compatibility test report and failure log to a tester.
Like this, can make the tester after the operation of whole intelligent equipment is finished, obtain the compatible test report of APP software and the failure log of whole intelligent equipment, carry out the detection of many intelligent equipment simultaneously, efficiency of software testing is high.
The APP software compatibility test case comprises installation and uninstallation of the APP software and operation of a login interface.
Therefore, the APP software compatibility test case comprises conventional user operation interfaces such as installation, uninstallation and login interfaces of the APP software, the compatibility problem of the APP software can be found in advance through the APP software compatibility test case, the APP software compatibility test case does not need to be issued to a production environment, a user can find the compatibility problem and modify the compatibility problem only after complaint of the user, and the reputation and the quality of a product are guaranteed.
According to the automatic APP software compatibility testing method, the intelligent device management platform enables the intelligent devices to automatically run the pre-compiled APP software compatibility test cases at the same time, and the running results are sent to the testers, so that the working efficiency of the testers is greatly improved, the testers do not need to manually carry out repeated tests on each testing machine, and the testing efficiency and the quality result are improved; meanwhile, the compatibility problem of the APP software is discovered and solved in advance before the APP software is released to a production environment, complaints caused by finding the compatibility problem of the APP software by a user in the using process are avoided, and the quality and reputation of products are guaranteed.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An APP software compatibility automatic test method is characterized by comprising the following steps:
s1, installing an application container engine on a test system of a server, building an intelligent equipment management platform, and connecting the server with a remote computer and a plurality of intelligent equipment in a communication manner;
s2, compiling an APP software compatibility test case in the remote computer and sending the APP software compatibility test case to an intelligent equipment management platform in the server;
s3, simultaneously operating a plurality of intelligent devices, pulling and starting an intelligent device management platform through the server, and enabling the plurality of intelligent devices to simultaneously operate APP software compatibility test cases;
and S4, generating an APP software compatibility test report from an operation log generated by the operation of the plurality of intelligent devices and storing the APP software compatibility test report.
2. The APP software compatibility automated testing method of claim 1, wherein in S1, the server and the plurality of intelligent devices are communicatively connected through a repeater.
3. The APP software compatibility automated testing method of claim 2, wherein in S2, the server and the remote computer are in a same local area network.
4. The APP software compatibility automated testing method of claim 3, wherein in the step S2, further comprising: and pre-establishing a compiling environment in a remote computer for compiling the APP software compatibility test case.
5. The APP software compatibility automated testing method of claim 4, wherein the S3 further comprises: after the APP software compatibility test case is converted into codes which can be identified by the intelligent equipment, the codes are sent to an intelligent equipment management platform, and then multiple intelligent equipment is controlled to simultaneously run the APP software compatibility test case codes.
6. The APP software compatibility automated testing method of any one of claims 1 to 5, wherein in the S4, further comprising: when the APP software runs in a certain intelligent device and has compatibility problems, a failure log is generated and stored in a database when the APP software fails to run.
7. The APP software compatibility automated testing method of claim 6, wherein in the step S4, further comprising: and after all the intelligent devices are operated, sending the finally obtained APP software compatibility test report and failure log to a tester.
8. The APP software compatibility automated testing method of claim 7, wherein the APP software compatibility test case comprises operations of installation, uninstallation and login interfaces of APP software.
9. The APP software compatibility automated testing method of claim 8, wherein the intelligent device management platform is an STF, and the intelligent device is an android phone.
10. The APP software compatibility automated testing method of claim 9, wherein the authoring environment is python, the testing system is an ubuntu system, the application container engine is Docker, and the repeater is a HUB repeater.
CN202010710474.0A 2020-07-22 2020-07-22 APP software compatibility automatic test method Pending CN111984529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010710474.0A CN111984529A (en) 2020-07-22 2020-07-22 APP software compatibility automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010710474.0A CN111984529A (en) 2020-07-22 2020-07-22 APP software compatibility automatic test method

Publications (1)

Publication Number Publication Date
CN111984529A true CN111984529A (en) 2020-11-24

Family

ID=73438071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010710474.0A Pending CN111984529A (en) 2020-07-22 2020-07-22 APP software compatibility automatic test method

Country Status (1)

Country Link
CN (1) CN111984529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993157A (en) * 2021-10-27 2022-01-28 深圳市芯中芯科技有限公司 Bluetooth transparent transmission-based cellular Internet of things network parameter online detection system and method
CN115242912A (en) * 2022-09-23 2022-10-25 中教云智数字科技有限公司 STF-based mobile phone automatic test method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102945A (en) * 2017-04-10 2017-08-29 丹露成都网络技术有限公司 A kind of automated testing method of the mobile APP based on RedwoodHQ
CN107329899A (en) * 2017-07-04 2017-11-07 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN108920380A (en) * 2018-07-20 2018-11-30 百度在线网络技术(北京)有限公司 Test method, device, server, equipment and the storage medium of the software compatibility
CN109446069A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Compatibility test method, device, computer equipment and medium
CN110347587A (en) * 2019-05-30 2019-10-18 平安银行股份有限公司 APP compatibility test method, device, computer equipment and storage medium
US20200081825A1 (en) * 2018-09-10 2020-03-12 Servicenow, Inc. Automated Certification Testing for Application Deployment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102945A (en) * 2017-04-10 2017-08-29 丹露成都网络技术有限公司 A kind of automated testing method of the mobile APP based on RedwoodHQ
CN107329899A (en) * 2017-07-04 2017-11-07 广州云测信息技术有限公司 A kind of application compatibility method of testing and device
CN108920380A (en) * 2018-07-20 2018-11-30 百度在线网络技术(北京)有限公司 Test method, device, server, equipment and the storage medium of the software compatibility
US20200081825A1 (en) * 2018-09-10 2020-03-12 Servicenow, Inc. Automated Certification Testing for Application Deployment
CN109446069A (en) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 Compatibility test method, device, computer equipment and medium
CN110347587A (en) * 2019-05-30 2019-10-18 平安银行股份有限公司 APP compatibility test method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993157A (en) * 2021-10-27 2022-01-28 深圳市芯中芯科技有限公司 Bluetooth transparent transmission-based cellular Internet of things network parameter online detection system and method
CN115242912A (en) * 2022-09-23 2022-10-25 中教云智数字科技有限公司 STF-based mobile phone automatic test method

Similar Documents

Publication Publication Date Title
CN105094783B (en) method and device for testing stability of android application
US9355017B2 (en) Automated error checking system for a software application and method therefor
CN111651366B (en) SDK test method, device, equipment and storage medium
US20150100832A1 (en) Method and system for selecting and executing test scripts
US20150100829A1 (en) Method and system for selecting and executing test scripts
CN106933729A (en) A kind of method of testing and system based on cloud platform
CN110008123B (en) Method for automatically deploying test software and corresponding device
CN103365770A (en) Mobile terminal software testing system and software testing method
US20150100830A1 (en) Method and system for selecting and executing test scripts
CN110633209A (en) Automatic testing method and system for vehicle-mounted android multimedia navigator
CN101808356B (en) Protocol simulation system for TD-SCDMA terminal protocol conformance tests
CN111984529A (en) APP software compatibility automatic test method
US20150100831A1 (en) Method and system for selecting and executing test scripts
US20150331784A1 (en) System and method for controlling test script execution by smartphone
CN108345449A (en) A kind of information processing method, device, storage medium and computer equipment
CN112130956A (en) Jenkins-based automatic CI/CD pipeline method
CN111858336B (en) Automatic software testing method and system
CN114297056A (en) Automatic testing method and system
CN110750453A (en) HTML 5-based intelligent mobile terminal testing method, system, server and storage medium
Wang et al. Research on mobile application automation testing technology based on appium
CN111050333A (en) Base station automatic test method and system
CN105760300A (en) Automatic STK/UTK service testing method and system
CN110287092A (en) A kind of electricity transaction system and its automatic test approach based on graphical interfaces
CN111290937B (en) Extensible mobile application automation test platform based on hybrid cloud
CN104679653A (en) Method and system for debugging software of distribution automation terminal

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