A control script program multi-language analysis system and multi-language analysis method
A technology of script program and analysis method, which is applied in uncommon multi-language analysis and display fields, can solve problems such as decoding failure, and achieve the effects of strong versatility, high reliability, and high analysis and recognition rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0057] Such as figure 1 It is shown in the schematic flow chart of the first embodiment of the present invention:
[0058] A multi-language parsing method in a control script program, said method comprising the following steps:
[0059] S200: Execute the running script program of the controls one by one;
[0060] S300: Grab the program lines of the script program one by one, and record them into the TXT file;
[0061] S400: Save the content of the TXT file to the first-level cache;
[0062] S500: converting the content of the TXT file in the first-level cache into the script program in byte form line by line;
[0063] S600: Convert the bytes according to UTF-8 format;
[0064] S700: Convert the format-converted bytes into the script program in character form.
[0065] Preferably, the multi-language parsing method includes before step S200: S100: after the control is activated, it is invoked and executed by the operating system.
[0066] Preferably, the multi-language par...
no. 2 example
[0080] On the basis of Embodiment 1, this embodiment provides a method for analyzing multi-language characters in a control script program:
[0081] Preferably, the method for analyzing multi-language characters includes, after the step S700: S710: saving the characters into a new TXT file. For the subsequent operating system to query and modify.
[0082] This embodiment also provides a multi-language analysis system:
[0083] Preferably, in the multi-language analysis system, the script package production module is JAVA, VB, VC, VFP, ASP or PHP programming language tools.
[0084] Preferably, in the multi-language parsing system, the grabbing module is a control grabber.
[0085] Preferably, the multi-language parsing system further includes a memory, and the memory is used to save the TXT file in character form for query and modification by the operating system.
no. 3 example
[0087] The technical problem to be solved by this technical solution is that in the automated test system, the system can only recognize English and Chinese, and it cannot be used for other foreign languages and characters that appear, especially those that are not commonly used, such as Arabic and Korean. Text parsing and extraction. Failure to extract means that the control of the language carrier cannot be controlled, so this technical solution is to solve this problem.
[0088] The existing android automation tool technology can only recognize commonly used English and Chinese, and other exotic characters that appear in android cannot be parsed and extracted, which will cause decoding failure problems, which has certain limitations for android automated testing tools. In response to this problem, in this case, other foreign language problems can be analyzed, and extracted and recorded in TXT, so as to solve the problem of decoding failure.
[0089] The patent of the pre...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com