Examples with "relevant application program" and their translation in Chinees
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely
and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely, so that time spent in manually determining abnormal information of an application program in the test from a log including multiple application programs in the prior art is saved
In addition, after the abnormal information is extracted or the test is completed, acquired information can be displayed to the user via a display interface. According to the embodiment of the invention, by means of assembling the test demand information to generate the test command line to test an application, and extracting abnormal information in the test log based on keyword identification, an abnormal situation of the relevant application program is obtained more quickly, accurately and timely, so that time spent in manually determining abnormal information of an application program in the test from a log including multiple application programs in the prior art is saved, a problem about an omission of the abnormal information is avoided basically, and improvement on the application program is facilitated.
Meanwhile, Gome and Suning can embed relevant application programs and bind suitable service packages for particular users through customized mobile phones.
Application program files may be entered and maintained by the system programmer or designated full-time personnel in accordance with relevant regulations.
In a testing process of the application program, tested relevant log information can be recorded in a log like a Logcat log, a Monkey log or an ANR log.
In the prior art, if a failure or a mistake occurs in an application program during a pressure test process, a test user determines a log record corresponding to the failure of the application program by viewing a system log generally, and obtains relevant abnormal information for an analysis, so as to improve the application program.
In the prior art, if a failure or a mistake occurs in an application program during a pressure test process, a test user determines a log record corresponding to the failure of the application program by viewing a system log generally, and obtains relevant abnormal information for an analysis, so as to improve the application program. Since the system log includes a great deal of information, such as normal log information, the user will spend a lot of time in searching, and an omission is likely to occur in searching, which are not conducive to improvement on the application program.
S102: monitoring a test log, and performing keyword identification on the content of the test log. In a testing process of the application program, tested relevant log information can be recorded in a log like a Logcat log (which is log information applied to an Android platform), a Monkey log or an ANR (Application Not Responding) log. In the embodiment of the invention, abnormal information of the target application program during the test can be conveniently extracted out from all types of logs by identifying keywords in real time or at a short time interval, and the keywords are preset for representing abnormal information recorded in the logs when abnormity occurs during the testing process of a target application program.
As for the Logcat log, some abnormal keywords can be preset, and when a preset abnormal keyword included in a log including the process name of a currently tested target application program exists in the Logcat log, information of the keyword is taken as abnormal information of the target application program, and the abnormal information is extracted and saved in a database in a form of C-layer abnormal information; as for the Monkey log, a "CRASH" field is taken as a keyword, and when a "CRASH" field including the process name of the currently tested target application program exists, the "CRASH" field is taken as abnormal information of the target application program, and is saved in the database in a form of java-layer abnormal information; and as for the ANR log, an ANR field is taken as an abnormal keyword, and when an ANR field including the process name of the currently tested target application program exists, the ANR field is taken as abnormal information of the target application program, a relevant anr file in a terminal is exported and taken as abnormal information, and the abnormal information is saved in the database in a form of ANR.
As shown in Figure 7, as for an ANR log, the determining module 4 can include the following units for relevant processing: a third judging unit 45 configured to judge whether an ANR field for representing the abnormity of a response exists in the ANR log when a test log includes the ANR log; and to further judge whether the ANR field for representing the abnormity of the response is generated due to execution of a test of a condition indicated by demand information when the ANR field for representing the abnormity of the response exists; and a third determining unit 46 configured to determine that a test abnormal keyword exists in the test log when the judging result of the third judging unit 45 is yes. Wherein, the first judging module 41, the second judging module 43 and the third judging module 45 judge whether the corresponding abnormal information is generated due to execution of the test of the condition indicated by the demand information by judging whether the abnormal information includes the process name of a currently tested target application program specifically; if so, the abnormal information is determined to be generated due to execution of the test of the condition indicated by the demand information; and if not, the abnormal information may be abnormal information of other application programs in a terminal system, and is not required to be extracted.
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.