CN109634872B - Application testing method, device, terminal and storage medium - Google Patents

Application testing method, device, terminal and storage medium Download PDF

Info

Publication number
CN109634872B
CN109634872B CN201910138268.4A CN201910138268A CN109634872B CN 109634872 B CN109634872 B CN 109634872B CN 201910138268 A CN201910138268 A CN 201910138268A CN 109634872 B CN109634872 B CN 109634872B
Authority
CN
China
Prior art keywords
application
language
terminal
test
test result
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.)
Active
Application number
CN201910138268.4A
Other languages
Chinese (zh)
Other versions
CN109634872A (en
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910138268.4A priority Critical patent/CN109634872B/en
Publication of CN109634872A publication Critical patent/CN109634872A/en
Application granted granted Critical
Publication of CN109634872B publication Critical patent/CN109634872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage 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)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to an application test method, an application test device, a terminal and a storage medium, and belongs to the field of application test. The method comprises the following steps: running an application to be tested; testing the application by using a testing tool in the running process of the application; and controlling the system language of the terminal to be switched in the testing process of the application, and switching the language of the interface of the application to the same language according to the switched system language. According to the method, the stability test is automatically carried out on the application by using the test tool, the languages of the control system are switched in the test process, and the languages of the interface of the application are synchronously switched into the same language, so that whether the application can stably run or not can be tested when the languages are switched, the stability test aiming at the language switching is realized, the test coverage is more comprehensive, and the reliability of the test result is improved.

Description

Application testing method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of application testing, and in particular, to an application testing method, an application testing device, a terminal, and a storage medium.
Background
After the application is developed, in order to prevent the problems of collapse and the like caused by some abnormal scenes in the using process of the application, the stability test of the application is often required.
According to the related technology, monkey is used for testing the stability of the application, monkey is a tool for testing the application through a command line, and monkey generally executes commands directly to simulate continuous random operation of a user on the application to see whether problems such as breakdown occur or not.
In the testing process of the technology, monkey randomly operates the application, and the stability testing mode only aims at the operation, does not consider the influence of other factors on the stability of the application operation, has incomplete testing coverage and poor reliability of the testing result.
Disclosure of Invention
The present disclosure provides an application test method, apparatus, terminal and storage medium, which can overcome the problem of poor reliability of test results.
According to a first aspect of the embodiments of the present disclosure, there is provided an application testing method, including:
running an application to be tested;
testing the application by using a testing tool in the running process of the application;
and in the testing process of the application, controlling the system language of the terminal to switch, and switching the language of the interface of the application into the same language according to the switched system language.
In a possible implementation manner, the controlling the system language of the terminal to switch includes:
controlling the system language of the terminal to switch every other preset time interval; or the like, or, alternatively,
when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or the like, or, alternatively,
and when the interface of the application is switched to a target interface, controlling the system language of the terminal to be switched.
In one possible implementation manner, the controlling the system language of the terminal to switch includes:
and controlling the system language of the terminal to be switched for multiple times in the process of displaying the same interface of the application.
In a possible implementation manner, the controlling the system language of the terminal to switch includes:
randomly selecting a language different from the current system language from a plurality of languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
In one possible implementation, before the running the application to be tested, the method further includes:
downloading a language pack of the application using a standard library in a target programming language, the language pack comprising a plurality of languages;
replacing the language pack in the code of the application by the downloaded language pack in a binary mode;
packaging the codes of the application to obtain an installation package of the application;
installing the installation package of the application on the terminal.
In one possible implementation, the method further includes:
storing the test result of the application by the test tool in a database;
reading the database at intervals of a preset time interval to obtain a test result in a target time period, wherein the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
and sending the test result in the target time period to a target user.
In one possible implementation, the test result includes a defect type and a package name of the application;
the sending the test result in the target time period to the target user includes:
determining a defect priority according to a defect type contained in a test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the package name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
In one possible implementation, after the determining the target user, the method further includes:
and submitting the equipment information of the terminal, the user information of the target user, the defect type contained in the test result in the target time period and the corresponding defect priority to a defect management platform.
According to a second aspect of the embodiments of the present disclosure, there is provided an application testing apparatus including:
a running module configured to execute running of an application to be tested;
the test module is configured to execute the test of the application by using a test tool in the running process of the application;
and the switching module is configured to execute and control the system language of the terminal to be switched in the testing process of the application, and switch the language of the interface of the application to the same language according to the switched system language.
In one possible implementation, the switching module is configured to:
controlling the system language of the terminal to switch every preset time interval; or the like, or, alternatively,
when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or the like, or, alternatively,
and when the interface of the application is switched to a target interface, controlling the system language of the terminal to be switched.
In a possible implementation manner, the switching module is configured to control the system language of the terminal to switch for multiple times during the process of displaying the same interface of the application.
In one possible implementation, the switching module is configured to:
randomly selecting a language different from the current system language from a plurality of languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
In one possible implementation, the apparatus further includes:
a download module configured to perform downloading a language pack of the application using a standard library in a target programming language, the language pack containing a plurality of languages;
a replacement module configured to perform replacement of a language pack in the code of the application with the downloaded language pack in a binary manner;
the packaging module is configured to perform packaging of the codes of the application to obtain an installation package of the application;
an installation module configured to perform installation of the installation package of the application onto the terminal.
In one possible implementation, the apparatus further includes:
a storage module configured to perform storing a test result of the application by the test tool in a database;
the reading module is configured to read the database at preset time intervals to obtain a test result in a target time period, wherein the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
and the sending module is configured to send the test result in the target time period to the target user.
In a possible implementation manner, the test result includes a defect type and a package name of the application, and the sending module is configured to perform:
determining a defect priority according to a defect type contained in a test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the package name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
In one possible implementation, the apparatus further includes:
and the submitting module is configured to submit the equipment information of the terminal, the user information of the target user, the defect types contained in the test results in the target time period and the corresponding defect priorities to a defect management platform.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the application testing method of the first aspect or any one of the possible implementations of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the application testing method of the first aspect or any one of the possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided an application program product, wherein instructions that, when executed by a processor of a terminal, enable the terminal to perform the application testing method according to the first aspect or any one of the possible implementation manners of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by using the test tool to automatically perform stability test on the application, the system language is controlled to be switched in the test process, and the language of the interface of the application is synchronously switched to the same language, so that whether the application can stably run or not can be tested when the language is switched, the stability test for language switching is realized, the test coverage is more comprehensive, and the reliability of the test result is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of application testing according to an example embodiment.
FIG. 2 is a flow diagram illustrating a method of application testing according to an example embodiment.
FIG. 3 is a flow diagram illustrating a pull translation, according to an example embodiment.
FIG. 4 is a flow diagram illustrating a stability test and result synchronization in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating an application testing device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an application testing device according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating an application testing device according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an application testing device in accordance with an exemplary embodiment.
Fig. 9 is a block diagram illustrating a terminal 900 according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an application testing method according to an exemplary embodiment, where the application testing method is used in a terminal, as shown in fig. 1, and includes the following steps:
in step S11, an application to be tested is run;
in step S12, during the running process of the application, the application is tested by using a testing tool;
in step S13, in the testing process of the application, the system language of the terminal is controlled to be switched, and the language of the interface of the application is switched to the same language according to the switched system language.
According to the method provided by the embodiment of the disclosure, the stability test is automatically performed on the application by using the test tool, the system language is controlled to be switched in the test process, and the language of the interface of the application is synchronously switched to the same language, so that whether the application can stably run or not can be tested when the language is switched, the stability test for language switching is realized, the test coverage is more comprehensive, and the reliability of the test result is improved.
In one possible implementation manner, the controlling the system language of the terminal to switch includes:
controlling the system language of the terminal to switch every preset time interval; or the like, or, alternatively,
when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or the like, or, alternatively,
and when the interface of the application is switched to the target interface, controlling the system language of the terminal to be switched.
In one possible implementation manner, the controlling the system language of the terminal to switch includes:
and controlling the system language of the terminal to switch for multiple times in the process of displaying the same interface of the application.
In one possible implementation manner, the controlling the system language of the terminal to switch includes:
randomly selecting a language different from the current system language from the multiple languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
In one possible implementation, before the running the application to be tested, the method further comprises:
downloading a language pack of the application using a standard library in a target programming language, the language pack comprising a plurality of languages;
replacing the language pack in the code of the application by the downloaded language pack in a binary mode;
packaging the codes of the application to obtain an installation package of the application;
the installation package of the application is installed on the terminal.
In one possible implementation, the method further comprises:
storing the test result of the application by the test tool in a database;
reading the database at intervals of a preset time interval to obtain a test result in a target time period, wherein the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
and sending the test result in the target time period to the target user.
In one possible implementation, the test result includes a defect type and a package name of the application;
the sending the test result in the target time period to the target user includes:
determining a defect priority according to the defect type contained in the test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the package name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
In one possible implementation, after determining the target user, the method further includes:
and submitting the equipment information of the terminal, the user information of the target user, the defect type contained in the test result in the target time period and the corresponding defect priority to a defect management platform.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating an application testing method according to an exemplary embodiment, where the application testing method is used in a terminal, as shown in fig. 2, and includes the following steps:
in step S21, after the installation package of the application is acquired, the installation package of the application is installed on the terminal.
In one possible implementation, the process of obtaining the installation package of the application may include the following steps a to d:
step a, downloading a language package of the application by using a standard library in the target programming language, wherein the language package comprises a plurality of languages.
The target programming language can be Python language, the standard library can be a urllib2 library, the urllib2 library has a web page capturing function, and network resources specified in a web page address can be read from a network flow and stored locally. Therefore, the terminal can download the latest language package of the application from the webpage by using the url lib2 library of the Python language. For example, the translator may translate the applied copy to a language of a different country for the different country and then enter the latest translated copy on the web page. In the related technology, the language package containing the latest translation file can be downloaded only by manually clicking a download button on the webpage by a tester, and the language package can be automatically downloaded by utilizing the urllib2 library of the Python language, so that the time is saved.
And b, replacing the language pack in the code of the application by using the downloaded language pack in a binary mode.
After downloading the latest language package of the application, the terminal can write the latest language package into the code of the application in a binary stream mode to replace the original language package in the code. In the related art, the replacement of the language pack needs to be carried out by a tester after the name of the language pack is changed, and then the language pack in the code is replaced.
It should be noted that, the steps a and b may be implemented by executing the first script. The function of the first script includes downloading a language pack and replacing the language pack in the code of the application with the language pack.
Further, the terminal may submit the code of the application to the main branch of the source code, and perform subsequent application installation and test processes based on the main branch. Referring to fig. 3, a flow diagram of a pull translation is provided, wherein the pull translation refers to downloading a language package containing the latest translation from a web page. As shown in fig. 3, the automatic downloading of the language packs in step a and the replacement of the language packs in step b may be a process of pull translation, and of course, the process of pull translation may also include automatic submission of code onto the trunk branch. Compared with the manual translation process that a user needs to manually download the language package and replace the language package after changing the name of the language package in the related technology, the automatic translation process can be performed, and the translation pulling time is saved.
And c, packaging the codes of the application to obtain an installation package of the application.
And c, after the terminal updates the language package in the codes through the step a and the step b, packaging the updated codes to obtain the application installation package. Furthermore, the terminal can obtain the code of the application from the trunk branch for packaging. For example, the terminal may integrate the first script into a persistent integration tool (Jenkins), so that the first script may be automatically executed, and may automatically submit the code of the application to the trunk branch after execution, and then Jenkins pull up the code from the trunk branch to package, so as to obtain the installation package of the application.
And d, installing the installation package of the application on the terminal.
Specifically, the terminal may use an adb (android debug bridge) command for installation of the installation package.
It should be noted that, the step S21 is an optional step, for example, the step S21 may be executed only when the translation of the application document is updated, so that the latest application can be obtained, and the reliability of the test result can be ensured by performing the test based on the latest application.
In step S22, an application to be tested is run, and during the running of the application, the application is tested using a testing tool.
In the embodiment of the disclosure, after the terminal completes installation of the installation package, the terminal may run a test tool to test the application by using the test tool. Before testing, the terminal may run the application, specifically, the terminal may provide the package name of the application to the testing tool, for example, the package name of the application is added to the parameter "-p" to designate the application as the application to be tested, and at this time, the testing tool may start the application on the terminal and perform the testing operation.
The principle of the monkey tool is that a pseudo-random user event stream (such as key input, touch screen input, gesture input and the like) is sent to a system, so that the stress test of the application is realized, and the effect of the monkey test is equivalent to that the fingers of a user operate in disorder on an application interface to see whether the problem of collapse and the like occurs.
In step S23, in the testing process of the application, the system language of the terminal is controlled to be switched, and the language of the interface of the application is switched to the same language according to the switched system language.
In the embodiment of the disclosure, in order to implement the stability test for language switching, the terminal may perform language switching in the test process, for example, the terminal may use an adb command to control the system language of the terminal to automatically switch. Specifically, after the terminal switches the current system language to another language, the terminal may switch the language of the application interface to the another language, and keep the language of the application interface consistent with the system language.
In one possible implementation manner, the controlling, by the terminal, the system language of the terminal to switch may include: controlling the system language of the terminal to switch every preset time interval; or, when the interface switching times of the application reach the preset times, controlling the system language of the terminal to switch; or when the interface of the application is switched to the target interface, controlling the system language of the terminal to be switched.
The terminal can control the system language to switch at intervals, such as switching every 5 minutes. Considering that the application may have interface switching in the process of testing the application by using the testing tool, the terminal may also control the system language to switch every time after switching several interfaces, for example, switching the language every time 3 interfaces are switched. In addition, considering that a certain interface of an application may be prone to problems, the terminal may control the system language to switch when switching to the interface. By switching the system language in the test process, whether the application can stably run or not can be tested when the system language is changed, so that the stability test aiming at language switching is realized.
In one possible implementation manner, the controlling, by the terminal, the system language of the terminal to switch may include: and controlling the system language of the terminal to switch for multiple times in the process of displaying the same interface of the application.
For any interface of the application, the terminal can control the system language to switch for many times in the process of displaying the interface, and after the system language is switched each time, the terminal can synchronously switch the languages on the application interface, so that the application can cover various languages supported by the application, and whether the interface can stably run or not when the languages are switched can be accurately tested.
In one possible implementation manner, the controlling, by the terminal, the system language of the terminal to switch may include: randomly selecting a language different from the current system language from the multiple languages, and switching the system language of the terminal into the randomly selected language; or controlling the system language of the terminal to switch according to the preset switching sequence of the multiple languages.
The system language of the terminal can have a plurality of languages, and the terminal can switch the system language into any one of the languages each time the system language is switched. Of course, the terminal may also be preset with the switching order of the multiple languages, and each time the system language is switched, the switching may be performed according to the switching order, for example, the switching order of the multiple languages is sequentially language 1, language 2, and language 3, if the switching is performed from language 1 to language 2 for the first time, the switching may be performed from language 2 to language 3 for the next time, and the switching may be performed from language 3 to language 1 for the next time. When the terminal switches languages, the terminal can switch languages randomly to different languages, and also can switch languages sequentially according to the sequence, so that the flexibility of language switching is higher.
It should be noted that step S22 and step S23 may be implemented by executing the second script. The functions of the second script include triggering the running of the test tool and performing language switching during the running of the test tool, and the second script can also be integrated into a continuous integration tool.
In step S24, the test result of the application by the test tool is stored in the database.
In the embodiment of the disclosure, in the process of running the test tool, the terminal can read the result file of the test tool at regular time and store the test result recorded in the result file into the database. The database may store only the test results of the application, or may store the test results of a plurality of applications.
In one possible implementation, the test result may include a defect type and a package name of the application, where the defect (bug) type may include a crash (crash) type and a anr (application no response) type. The crash type means that interface collapse occurs when an application is operated, and the anr type means that no response is given when the application is operated, and the response may be given normally after a while.
In step S25, the database is read at preset time intervals to obtain a test result within a target time period, where the target time period is a time period between the time when the database was read last and the time when the database was read this time.
In the embodiment of the present disclosure, the terminal may read the latest generated data in the database at intervals, that is, the latest test result. For example, the terminal may mark data in the database with a number (id), obtain a newly added data amount in the database in the target time period according to a difference between an id of the last data in the database when the terminal reads the last time and an id of the last data in the database when the terminal reads the current time, and then query the newly added data in the database in the target time period using a database query statement, for example, the query statement may be "order by id desc limit N", where N is a positive integer and represents the newly added data in the database in the target time period.
For example, when 10 pieces of data exist in the last reading of the database, the id of the last piece of data is 10, and in the running process of the test tool, the terminal stores the test result into the database, so that the data in the database is increased, for example, when 15 pieces of data exist in the current reading of the database, the id of the last piece of data is 15, so that the number of data to be queried is 15-10=5, and the latest 5 pieces of data in the database can be found out by using the "order by id desc limit 5".
In a possible implementation manner, the step S25 may be implemented by executing a third script, for example, the terminal may execute the third script at preset time intervals, and the function of the third script includes reading the latest generated data in the database, that is, the data generated in the time period from the time of executing the third script last time to the time of executing the third script this time. The third script may also be integrated into a continuously integrated tool. Aiming at the integration of the first script, the second script and the second script on the continuous integration tool, the execution sequence of the three scripts can be predetermined, for example, the first script is executed first, and then the second script and the third script are executed after the first script is executed and then packaged.
In step S26, a defect priority is determined according to the defect type included in the test result in the target time period, and the defect priority is used for indicating the priority of defect processing.
Wherein, higher priority of the defect indicates more serious defect and needs to be processed preferentially.
In the embodiment of the disclosure, after obtaining the test result applied by the test tool in the target time period, the terminal may obtain the defect type included in the test result, and further, the terminal may determine the defect priority corresponding to the defect type in the test result according to the correspondence between the defect type and the defect priority. Different defect types may correspond to different defect priorities, for example, the priority of the crash type is P0 level, the priority of the anr type is P1 level, and the P0 level may be higher than the P1 level.
In step S27, the target user is determined based on the package name included in the test result in the target time period.
In the embodiment of the disclosure, after obtaining the test result in the target time period, the terminal may obtain the packet name included in the test result, so as to obtain the application to be tested, and then the terminal may determine the target user (responsible person) corresponding to the application according to the application and the corresponding relationship between the application and the user, and then the terminal may further obtain information of the target user, where the information may include a mailbox address of the target user, account information (e.g., account information of the instant messaging application), and the like.
In step S28, the defect type and the corresponding defect priority included in the test result in the target time period are sent to the target user.
In the embodiment of the disclosure, after the terminal determines the target user, the terminal may send the test result including the defect type, the defect priority, and the like to the target user, for example, send the information to a mailbox of the target user according to a mailbox address of the target user, or send the information to the device to which the account of the target user logs in according to account information of the target user.
It should be noted that, the above steps S26 to S28 are one possible implementation manner of sending the test result in the target time period to the target user. The defect results are timely and synchronously sent to the corresponding responsible person, and the priority is noted, so that the responsible person can timely process the defects appearing in the application testing process according to the priority.
Optionally, after the terminal determines the target user, the terminal may also submit the defect information occurring in the application test process to the defect management platform, and specifically, the terminal may submit the device information of the terminal, the user information of the target user, the defect type included in the test result in the target time period, and the corresponding defect priority to the defect management platform, so that a technician can conveniently check and manage the defect type and the defect priority. Wherein the defect management platform may be a Jira platform for defect tracking and management. For example, the terminal may call an interface provided by the Jira platform using a target programming language (Python) to automatically submit the information to the Jira platform.
Referring to fig. 4, a flowchart of stability testing and result synchronization is provided, as shown in fig. 4, which is described with a testing tool as monkey, during the course of operating monkey, the terminal may use adb command to automatically switch system languages at intervals, store the result in a database, and periodically read data in the database, so as to determine bug (bug) type, bug priority and responsible person for allocating bug. And judging whether the bug type is the crash type or not according to the read data, wherein if the bug type is the crash type, the bug priority is P0 level, and if the bug type is anr type, the bug priority is P1 level. Taking three applications app1, app2, and app3 as examples, if the packet name is "com.app1", the responsibility of the bug is user a, if the packet name is "com.app2", the responsibility of the bug is user B, and if the packet name is not the above two, that is, the packet name is "com.app3", the responsibility of the bug is user C. Further, the terminal can also call an interface of the Jira platform by using Python, and automatically submit the bug to the Jira platform.
It should be noted that, the foregoing steps S24 to S28 are optional steps, and the test result of the test tool is stored, the latest generated data in the database is read at regular time, the defect priority is divided according to the defect type, the responsible person of the defect is determined by the package name, the device information with the problem is submitted to the defect management platform, and the defect information is synchronized to the corresponding responsible person, so that not only the defect of the application can be managed uniformly, but also the responsible person can be reminded to process the defect in time.
According to the method provided by the embodiment of the disclosure, the stability test is automatically performed on the application by using the test tool, the system language is controlled to be switched in the test process, and the language of the interface of the application is synchronously switched to the same language, so that whether the application can stably run or not can be tested when the language is switched, the stability test aiming at the language switching is realized, the test coverage is more comprehensive, and the reliability of the test result is improved.
FIG. 5 is a block diagram illustrating an application testing device according to an exemplary embodiment. Referring to fig. 5, the apparatus includes an operation module 501, a test module 502, and a switching module 503.
The running module 501 is configured to execute running an application to be tested;
the test module 502 is configured to perform a test on the application using a test tool during the running of the application;
the switching module 503 is configured to execute the system language for controlling the terminal to switch during the test process of the application, and switch the language of the interface of the application to the same language according to the switched system language.
In one possible implementation, the switching module 503 is configured to:
controlling the system language of the terminal to switch every other preset time interval; or the like, or, alternatively,
when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or the like, or, alternatively,
and when the interface of the application is switched to the target interface, controlling the system language of the terminal to be switched.
In one possible implementation, the switching module 503 is configured to control the system language of the terminal to switch multiple times during the process of displaying the same interface of the application.
In one possible implementation, the switching module 503 is configured to:
randomly selecting a language different from the current system language from the multiple languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
In one possible implementation, referring to fig. 6, the apparatus further includes:
a download module 504 configured to perform downloading a language pack of the application using a standard library in a target programming language, the language pack comprising a plurality of languages;
a replacing module 505 configured to execute replacing, in a binary manner, the language pack in the code of the application with the downloaded language pack;
a packaging module 506 configured to perform packaging of the code of the application to obtain an installation package of the application;
an installation module 507 configured to perform installation of the installation package of the application onto the terminal.
In one possible implementation, referring to fig. 7, the apparatus further includes:
a storage module 508 configured to perform storing the test result of the application by the test tool in a database;
a reading module 509 configured to perform reading the database at preset time intervals to obtain a test result in a target time period, where the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
a sending module 510 configured to perform sending the test result in the target time period to the target user.
In one possible implementation, the test result includes a defect type and a package name of the application;
the sending module 510 is configured to perform:
determining a defect priority according to the defect type contained in the test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the package name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
In one possible implementation, referring to fig. 8, the apparatus further includes:
the submitting module 511 is configured to perform submitting the device information of the terminal, the user information of the target user, the defect types included in the test results within the target time period, and the corresponding defect priorities to a defect management platform.
In the embodiment of the disclosure, the stability test is automatically performed on the application by using the test tool, the system language is controlled to be switched during the test process, and the language of the interface of the application is synchronously switched to the same language, so that whether the application can stably run or not can be tested when the language is switched, the stability test for language switching is realized, the test coverage is more comprehensive, and the reliability of the test result is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating a terminal 900 according to an example embodiment. The terminal 900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 900 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, etc.
In general, terminal 900 includes: a processor 901 and a memory 902.
Processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in a wake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 902 is used to store at least one instruction for execution by processor 901 to implement the application testing method provided by the method embodiments herein.
In some embodiments, terminal 900 can also optionally include: a peripheral interface 903 and at least one peripheral. The processor 901, memory 902, and peripheral interface 903 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 904, display screen 905, camera 906, audio circuitry 907, positioning component 908, and power supply 909.
The peripheral interface 903 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, memory 902, and peripheral interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902 and the peripheral interface 903 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 904 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 904 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 904 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 904 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 905 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to capture touch signals on or over the surface of the display screen 905. The touch signal may be input to the processor 901 as a control signal for processing. At this point, the display 905 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 905 may be one, providing the front panel of the terminal 900; in other embodiments, the number of the display panels 905 may be at least two, and each of the display panels is disposed on a different surface of the terminal 900 or is in a foldable design; in still other embodiments, the display 905 may be a flexible display disposed on a curved surface or a folded surface of the terminal 900. Even more, the display 905 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display panel 905 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 906 is used to capture images or video. Optionally, camera assembly 906 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 906 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 907 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 901 for processing, or inputting the electric signals to the radio frequency circuit 904 for realizing voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of the terminal 900. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert the electrical signals from the processor 901 or the radio frequency circuit 904 into sound waves. The loudspeaker can be a traditional film loudspeaker and can also be a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuit 907 may also include a headphone jack.
The positioning component 908 is used to locate the current geographic Location of the terminal 900 for navigation or LBS (Location Based Service). The Positioning component 908 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 909 is used to provide power to the various components in terminal 900. The power source 909 may be alternating current, direct current, disposable or rechargeable. When power source 909 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 900 can also include one or more sensors 910. The one or more sensors 910 include, but are not limited to: acceleration sensor 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, optical sensor 915, and proximity sensor 916.
The acceleration sensor 911 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 900. For example, the acceleration sensor 911 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 911. The acceleration sensor 911 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 912 may detect a body direction and a rotation angle of the terminal 900, and the gyro sensor 912 may cooperate with the acceleration sensor 911 to acquire a 3D motion of the user on the terminal 900. The processor 901 can implement the following functions according to the data collected by the gyro sensor 912: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 913 may be disposed on a side frame of the terminal 900 and/or underneath the display 905. When the pressure sensor 913 is disposed on the side frame of the terminal 900, the holding signal of the user to the terminal 900 may be detected, and the processor 901 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 913. When the pressure sensor 913 is disposed at a lower layer of the display screen 905, the processor 901 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 905. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 914 is used for collecting a fingerprint of the user, and the processor 901 identifies the user according to the fingerprint collected by the fingerprint sensor 914, or the fingerprint sensor 914 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 901 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 914 may be disposed on the front, back, or side of the terminal 900. When a physical key or vendor Logo is provided on the terminal 900, the fingerprint sensor 914 may be integrated with the physical key or vendor Logo.
The optical sensor 915 is used to collect ambient light intensity. In one embodiment, the processor 901 may control the display brightness of the display screen 905 based on the ambient light intensity collected by the optical sensor 915. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is reduced. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera assembly 906 according to the ambient light intensity collected by the optical sensor 915.
Proximity sensor 916, also known as a distance sensor, is typically disposed on the front panel of terminal 900. The proximity sensor 916 is used to collect the distance between the user and the front face of the terminal 900. In one embodiment, when the proximity sensor 916 detects that the distance between the user and the front face of the terminal 900 gradually decreases, the processor 901 controls the display 905 to switch from the bright screen state to the dark screen state; when the proximity sensor 916 detects that the distance between the user and the front surface of the terminal 900 gradually becomes larger, the display 905 is controlled by the processor 901 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of terminal 900, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions therein that, when executed by a processor of a terminal, enable the terminal to perform the following application testing method:
running an application to be tested;
in the running process of the application, testing the application by using a testing tool;
and controlling the system language of the terminal to switch in the testing process of the application, and switching the language of the interface of the application to the same language according to the switched system language.
For example, the non-transitory computer readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application program product, instructions of which, when executed by a processor of a terminal, enable the terminal to perform the following application testing method:
running an application to be tested;
in the running process of the application, testing the application by using a testing tool;
and controlling the system language of the terminal to switch in the testing process of the application, and switching the language of the interface of the application to the same language according to the switched system language.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. An application testing method is applied to a terminal, and comprises the following steps:
under the condition that the applied file translation is updated, downloading a latest language package of the application to be tested by using a standard library in a target programming language, wherein the standard library has a web page crawling function, and the language package comprises multiple languages;
replacing the language pack in the code of the application by the downloaded language pack in a binary mode;
packaging the codes of the application to obtain an installation package of the application;
installing an installation package of the application onto the terminal;
running the application;
testing the application by using a testing tool in the running process of the application;
in the process of testing the application by using the testing tool, controlling the system language of the terminal to be switched, and switching the language of the interface of the application to the same language according to the switched system language to obtain a test result of the stability of the application when the language switching occurs, which is recorded by the testing tool;
wherein, the controlling the system language of the terminal to switch comprises: when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or when the interface of the application is switched to a target interface, controlling the system language of the terminal to be switched, or controlling the system language of the terminal to be switched for multiple times in the process of displaying the same interface of the application.
2. The application testing method of claim 1, wherein the controlling the system language of the terminal to switch comprises:
and controlling the system language of the terminal to be switched at preset time intervals.
3. The application testing method of claim 1, wherein the controlling the system language of the terminal to switch comprises:
randomly selecting a language different from the current system language from a plurality of languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
4. The application testing method of claim 1, further comprising:
storing the test result of the application by the test tool in a database;
reading the database at preset time intervals to obtain a test result in a target time period, wherein the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
and sending the test result in the target time period to a target user.
5. The application testing method of claim 4, wherein the test result comprises a defect type and a package name of the application;
the sending the test result in the target time period to the target user includes:
determining a defect priority according to a defect type contained in a test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the packet name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
6. The application testing method of claim 5, wherein after determining the corresponding target user, the method further comprises:
and submitting the equipment information of the terminal, the user information of the target user, the defect type contained in the test result in the target time period and the corresponding defect priority to a defect management platform.
7. An application test device, applied to a terminal, comprising:
the downloading module is configured to download a latest language package to be tested by using a standard library in a target programming language under the condition that the language translation of the application is updated, wherein the standard library has a webpage crawling function, and the language package comprises a plurality of languages;
a replacement module configured to perform replacement of a language pack in the code of the application with the downloaded language pack in a binary manner;
the packaging module is configured to perform packaging of the codes of the application to obtain an installation package of the application;
an installation module configured to perform installation of the installation package of the application onto the terminal;
an execution module configured to execute execution of the application;
the test module is configured to execute the test of the application by using a test tool in the running process of the application;
the switching module is configured to execute switching of a system language for controlling the terminal in a test process of the application by using the test tool, and switch the language of the interface of the application to the same language according to the switched system language to obtain a test result of the stability of the application when the language switching occurs, which is recorded by the test tool;
wherein the switching module is configured to perform: when the interface switching times of the application reach preset times, controlling the system language of the terminal to switch; or when the interface of the application is switched to a target interface, controlling the system language of the terminal to be switched, or controlling the system language of the terminal to be switched for multiple times in the process of displaying the same interface of the application.
8. The application testing device of claim 7, wherein the switching module is configured to:
and controlling the system language of the terminal to be switched at preset time intervals.
9. The application testing device of claim 7, wherein the switching module is configured to:
randomly selecting a language different from the current system language from a plurality of languages, and switching the system language of the terminal into the randomly selected language; or the like, or, alternatively,
and controlling the system language of the terminal to be switched according to the preset switching sequence of the multiple languages.
10. The application testing device of claim 7, wherein the device further comprises:
a storage module configured to perform storing a test result of the application by the test tool in a database;
the reading module is configured to read the database at preset time intervals to obtain a test result in a target time period, wherein the target time period is a time period between the time of reading the database last time and the time of reading the database this time;
and the sending module is configured to send the test result in the target time period to the target user.
11. The application testing apparatus of claim 10, wherein the test result comprises a defect type and a package name of the application;
the sending module is configured to perform:
determining a defect priority according to a defect type contained in a test result in the target time period, wherein the defect priority is used for indicating the priority of defect processing;
determining a corresponding target user according to the packet name contained in the test result in the target time period;
and sending the defect type and the corresponding defect priority contained in the test result in the target time period to the target user.
12. The application testing device of claim 11, wherein the device further comprises:
and the submitting module is configured to submit the equipment information of the terminal, the user information of the target user, the defect types contained in the test results in the target time period and the corresponding defect priorities to a defect management platform.
13. A terminal, comprising:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the application testing method of any of claims 1-6.
14. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the application testing method of any of claims 1-6.
CN201910138268.4A 2019-02-25 2019-02-25 Application testing method, device, terminal and storage medium Active CN109634872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138268.4A CN109634872B (en) 2019-02-25 2019-02-25 Application testing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138268.4A CN109634872B (en) 2019-02-25 2019-02-25 Application testing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109634872A CN109634872A (en) 2019-04-16
CN109634872B true CN109634872B (en) 2023-03-10

Family

ID=66065942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138268.4A Active CN109634872B (en) 2019-02-25 2019-02-25 Application testing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109634872B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11748239B1 (en) 2020-05-06 2023-09-05 Allstate Solutions Private Limited Data driven testing automation using machine learning
CN113029196B (en) * 2021-03-02 2022-10-18 北京白龙马云行科技有限公司 Navigation application test method and test platform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419727A (en) * 2011-09-30 2012-04-18 宇龙计算机通信科技(深圳)有限公司 Automatic test method and device
CN105094783A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Method and device for testing Android application stability
CN105824633A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Multi-language resource switching method and device of application program
CN105988931A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Test method and device
CN106294178A (en) * 2016-08-22 2017-01-04 北京奇虎科技有限公司 Automated testing method and device
CN104063324B (en) * 2014-07-10 2017-11-24 上海斐讯数据通信技术有限公司 A kind of Monkey method of testings and system
CN107896218A (en) * 2017-11-29 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of automatic detection identifying code passback logic leak
CN108829577A (en) * 2018-04-26 2018-11-16 四川斐讯信息技术有限公司 A kind of automated testing method of application program capacity

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7895576B2 (en) * 2006-11-10 2011-02-22 International Business Machines Corporation Method for automating internationalization software testing
PL401371A1 (en) * 2012-10-26 2014-04-28 Ivona Software Spółka Z Ograniczoną Odpowiedzialnością Voice development for an automated text to voice conversion system
CN103020529B (en) * 2012-10-31 2015-12-09 中国航天科工集团第二研究院七○六所 A kind of software vulnerability analytical approach based on model of place
CN103793322A (en) * 2012-11-05 2014-05-14 深圳中兴网信科技有限公司 Test method and test system for translation problems in software localization testing
WO2014117320A1 (en) * 2013-01-29 2014-08-07 Hewlett-Packard Development Company, L.P. Generating test code to test executable code
CN106708591B (en) * 2017-01-25 2020-06-02 东软集团股份有限公司 Character detection method and device for operating system
CN107516510B (en) * 2017-07-05 2020-12-18 百度在线网络技术(北京)有限公司 Automatic voice testing method and device for intelligent equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419727A (en) * 2011-09-30 2012-04-18 宇龙计算机通信科技(深圳)有限公司 Automatic test method and device
CN105094783A (en) * 2014-05-19 2015-11-25 腾讯科技(深圳)有限公司 Method and device for testing Android application stability
CN104063324B (en) * 2014-07-10 2017-11-24 上海斐讯数据通信技术有限公司 A kind of Monkey method of testings and system
CN105988931A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Test method and device
CN105824633A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Multi-language resource switching method and device of application program
CN106294178A (en) * 2016-08-22 2017-01-04 北京奇虎科技有限公司 Automated testing method and device
CN107896218A (en) * 2017-11-29 2018-04-10 郑州云海信息技术有限公司 A kind of method and system of automatic detection identifying code passback logic leak
CN108829577A (en) * 2018-04-26 2018-11-16 四川斐讯信息技术有限公司 A kind of automated testing method of application program capacity

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
多语言的测试注意事项;Holidaylovesam;《https://blog.csdn.net/alice_tl/article/details/78907732》;20171226;全文 *
多语言的测试经验分享;默然(silent);《https://www.cnblogs.com/mymelon/p/9025287.html》;20180511;第1-7页 *

Also Published As

Publication number Publication date
CN109634872A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN110308956B (en) Application interface display method and device and mobile terminal
CN107979851B (en) Abnormal data reporting method and device
CN108897659B (en) Method, device and storage medium for modifying log level
CN108132790B (en) Method, apparatus and computer storage medium for detecting a garbage code
CN111752666A (en) Window display method and device and terminal
CN110837473A (en) Application program debugging method, device, terminal and storage medium
CN114115647B (en) Menu item adjusting method, device and terminal
CN110058935B (en) Log level adjusting method, device and system and readable storage medium
CN111159604A (en) Picture resource loading method and device
CN112749362A (en) Control creating method, device, equipment and storage medium
CN111737100A (en) Data acquisition method, device, equipment and storage medium
CN109634872B (en) Application testing method, device, terminal and storage medium
CN109684123B (en) Problem resource positioning method, device, terminal and storage medium
CN109828915B (en) Method, device, equipment and storage medium for debugging application program
CN109117466B (en) Table format conversion method, device, equipment and storage medium
CN107943484B (en) Method and device for executing business function
CN113282355A (en) Instruction execution method and device based on state machine, terminal and storage medium
CN110399246B (en) Program repair method and device
CN109107163B (en) Analog key detection method and device, computer equipment and storage medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN111881423A (en) Method, device and system for limiting function use authorization
CN110569064A (en) interface identifier generation method, device, equipment and storage medium
CN112230910A (en) Page generation method, device, equipment and storage medium of embedded program
CN112783533A (en) Version information updating method, version information updating device, terminal and storage medium
CN109078331B (en) Analog key detection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant