CN109614325B - Method and device for determining control attribute, electronic equipment and storage medium - Google Patents

Method and device for determining control attribute, electronic equipment and storage medium Download PDF

Info

Publication number
CN109614325B
CN109614325B CN201811481739.3A CN201811481739A CN109614325B CN 109614325 B CN109614325 B CN 109614325B CN 201811481739 A CN201811481739 A CN 201811481739A CN 109614325 B CN109614325 B CN 109614325B
Authority
CN
China
Prior art keywords
control
determining
attribute
file
identity file
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
CN201811481739.3A
Other languages
Chinese (zh)
Other versions
CN109614325A (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.)
Shanghai Keliang Information Technology Co ltd
Original Assignee
Shanghai Keliang 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 Shanghai Keliang Information Technology Co ltd filed Critical Shanghai Keliang Information Technology Co ltd
Priority to CN201811481739.3A priority Critical patent/CN109614325B/en
Publication of CN109614325A publication Critical patent/CN109614325A/en
Application granted granted Critical
Publication of CN109614325B publication Critical patent/CN109614325B/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/3604Software analysis for verifying properties of programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention relates to the field of computer software testing, and discloses a method and a device for determining control attributes, electronic equipment and a storage medium. The method for determining the control attribute comprises the following steps: determining the position of the control identity file in the specified path through the regular expression; the control identity file comprises control attributes corresponding to all control names of the target window; determining the line of the control attribute matched with the control name according to the control identity file; acquiring control attributes corresponding to control names in a control identity file; and outputting the control attribute as an analysis result of the control name. In the invention, the problem of difficulty in analyzing the control attribute increased due to the change of the image corresponding to the control is avoided in the process of determining the control attribute of the computer program.

Description

Method and device for determining control attribute, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of computer software testing, in particular to a method and a device for determining control attributes, electronic equipment and a storage medium.
Background
Qt is a development framework for developing a cross-platform graphical interface application, and can support various operating systems, such as Windows, Linux, Mac OS X, Android, iOS, Windows Phone, and embedded systems. Python is a computer programming language, which is a dynamic and object-oriented computer language, and is an application program with a User Interface, which is developed based on a Qt framework and written by using Python, and needs to confirm the properties of a control in an automation test, where the control is an object in a Graphical User Interface (GUI) and is an object with which a User can interact to input operation data, and the User can operate the object to perform a certain action, such as a button, a list box, an edit box, or static text in a dialog box. The confirmation of the control attribute is a precondition for the action of a subsequent automation script driving application program, and the Qt control which generally needs attribute confirmation comprises an input box, buttons and other controls which can be identified by an automation tool, and the controls can be identified by the automation tool and depend on the attribute of the controls.
However, the inventors found that at least the following problems exist in the prior art: in the process of testing the application program through the embedded software automation test platform, more interface operations are performed in a user interface in the application program developed based on the Qt framework. The existing confirmation of the control attributes in the application program is mainly based on printing all the control attributes into a text in a text format (TXT), a tester needs to search the corresponding attributes according to the corresponding graphic controls, and if the graphic interface changes, the tester cannot timely determine the attributes of the corresponding graphic controls, which causes inconvenience for the test and also increases the maintenance cost of the application program.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method and an apparatus for determining control attributes, an electronic device, and a storage medium, so that in a process of determining control attributes of a computer program, a problem of difficulty in analyzing the control attributes due to a change in an image corresponding to the control is avoided.
In order to solve the above technical problem, an embodiment of the present invention provides a method for determining a control attribute, including:
determining the position of the control identity file in the specified path through the regular expression; the control identity file comprises control attributes corresponding to all control names of the target window;
determining the line of the control attribute matched with the control name according to the control identity file;
acquiring control attributes corresponding to control names in a control identity file;
and outputting the control attribute as the analysis result of the control name.
The embodiment of the invention also provides a device for determining the control attribute, which comprises the following steps: the device comprises a first determining module, a second determining module, an obtaining module and an output module;
The first determining module is used for determining the position of the control identity file in the specified path through the regular expression; the control identity file comprises control attributes corresponding to all control names of the target window;
the second determining module is used for determining the line of the control attribute matched with the control name according to the control identity file;
the acquisition module is used for acquiring control attributes corresponding to control names in the control identity file;
and the output module is used for outputting the control attribute as an analysis result of the control name.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for determining the control attribute.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed implements the above-described method of determining a control attribute.
Compared with the prior art, the method and the device for determining the attribute of the control have the advantages that the name of the control is obtained when the attribute of the control is analyzed, and the attribute of the corresponding control is determined according to the obtained name of the control. Because the attribute of the control can be changed due to reasons such as system upgrading and the like, in order to ensure that the attribute of the control can be analyzed as soon as possible in the application program test, only the name of the control is obtained, and the attribute of the control is determined according to the name of the control. The control attribute matched with the control name is determined according to the position of the control identity file, the control attribute corresponding to the control name is determined in the control identity file, the implementation is simple, the control attribute can be analyzed quickly, and the testing efficiency is improved.
In addition, determining the line of the control attribute matched with the control name according to the control identity file specifically includes: acquiring control attributes corresponding to all control names in the control identity file according to the control identity file; and determining the affiliated row of the control attribute matched with the control name in the control file list through fuzzy matching.
In the embodiment, the line of the control attribute corresponding to the control name is determined in a fuzzy matching mode, so that the accuracy of the control analysis method is improved, and the test experience of testing the control is improved.
In addition, before the position of the control identity file is determined in the specified path through the regular expression, the method for determining the control attribute further comprises the following steps: and acquiring the specified path of the control identity file.
In addition, before the specified path of the control identity file is obtained, the method for determining the control attribute further includes: positioning a path of a control attribute output file through a regular expression; and modifying the path of the control attribute output file into an appointed path, and taking the control attribute output file as a control identity file.
In the embodiment, the path of the control attribute output file is determined to be the designated path, and the speed of searching the control attribute is further improved by taking the control attribute output file as the identity file through modifying the path, so that the analysis of the control attribute can be efficiently completed.
In addition, before the position of the control identity file is determined in the specified path through the regular expression, the method for determining the control attribute further comprises the following steps: and acquiring input control names, wherein the number of the control names is one or at least one.
In the embodiment, the input names of the controls are obtained, the number of the controls is at least one, the corresponding control attributes are determined according to the controls, and user experience is improved.
In addition, the control attribute output file includes attributes of all controls of the target window, and the line to which the control attribute matched with the control name belongs is determined according to the control attribute output file, which specifically includes: analyzing the attributes of all controls of a target window in the control attribute output file and generating a control identity file; and the control identity file comprises the attributes of all controls of the target window.
In addition, if the number of the control names is at least one, after the control attribute is output as the analysis result of the control name, the method for determining the control attribute further comprises the following steps: respectively and independently analyzing the control attribute of each control name; and outputting the analysis result of each control name according to the sequence of the control names.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flowchart of a method for determining control attributes in a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for determining control attributes in a second embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for determining control properties according to a third embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for determining control attributes in a fourth embodiment of the present invention;
fig. 5 is a block diagram of an electronic apparatus according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the invention relates to a method of determining properties of a control. The specific flow is shown in figure 1. The method comprises the following implementation steps:
it should be noted that, the method for determining the control attribute in this embodiment is based on, for example, the determination of the control attribute applied to the application program, and in practical application, the attribute determination may also be performed on the control in other specific applications, for example, the determination of the control attribute in the web page.
Step 101: and determining the position of the control identity file in the specified path through the regular expression.
And the control identity file comprises control attributes corresponding to all control names of the target window.
Specifically, the path of the control identity file is a designated path, the position of the control identity file can be accurately determined through the regular expression, the corresponding control attribute in the control identity file is conveniently searched, and the position of the control identity file can be actually positioned through other searching manners, which is only an example and is not limited specifically.
Specifically, taking the determination of the control attribute in the application as an example, before locating the position of the control name in the control identity file, a working environment for resolving the control attribute is first determined, for example, a Python environment is built, specifically, a Python-2.7 version is downloaded to build the Python environment.
The control name is a name of a control displayed in the graphical display interface, for example, a login button after an application is opened. In other words, in the process of analyzing the control attribute, only the control name displayed on the display interface needs to be input to obtain the control attribute, so that the complexity of using graph search in analyzing the graph control attribute is reduced.
Step 102: and determining the line of the control attribute matched with the control name according to the control identity file.
Specifically, after the position of the control identity file is determined, searching is performed in the content of the control identity file, and a control attribute matched with the name of the control is determined, wherein the control identity file comprises all control attributes in the current application program or the graphical interface. It should be noted that, in the process of matching the control name and the control attribute, if the control name cannot be matched with the control attribute, a prompt of failure matching is returned, and the method for determining the control attribute is exited.
The method for matching the control name and the name of the control attribute is not particularly limited, and in specific implementation, the line of the control attribute corresponding to the control name is determined through complete matching. This is by way of example only and is not intended to be limiting.
Step 103: and acquiring control attributes corresponding to the control names in the control identity file.
Specifically, the control identity file comprises all the attributes of the control, and the execution result of the control after the control is triggered can be determined through the control attributes, so that the control attributes corresponding to the name of the control are determined, a tester of the application program can test or perform other operations on the control conveniently, the control attributes can be rapidly and accurately obtained even if the display graph of the control changes, and the test efficiency of the application program is effectively improved.
Step 104: and outputting the control attribute as the analysis result of the control name.
In the specific implementation, the tester can input one or more control names to analyze the control attributes, if a plurality of control names are input, the control names are searched and searched for the control attributes, for example, the control names are separated by commas, and the control attributes are output one by one according to the input control sequence. Here, the example is only, and the rule may be specifically set by the user.
Specifically, the control attribute analysis of the multiple control names is realized by respectively and independently analyzing the control attribute of each control name; and outputting the analysis result of each control name according to the sequence of the control names.
It should be noted that, this embodiment mainly describes a method for determining control attributes, and describes a specific implementation manner: positioning the control name to the position of the control name in the control identity file in the specified path through the regular expression; determining the control attribute matched with the control name according to the position of the control identity file; acquiring a control attribute line corresponding to a control name in control attributes; and outputting the control attribute as the analysis result of the control name. Specific implementation details of the present embodiment will be described below, which are provided only for the convenience of understanding and are not necessary for the present embodiment.
Specifically, the control identity file is stored in the specified path, so that the specified path of the control identity file needs to be determined before the input control name is acquired. For example, after the python2.7 environment is built, the control identity file is generated according to the control output file, and the path of the control identity file is the specified path.
Specifically, in a specific implementation of determining a control attribute according to a control name, a control name needs to be obtained first, where the number of the control name is one or at least one, the control name is a name of the control displayed in an application, and is unrelated to a figure and a shape of the control, for example, a button with a name of login in some application software may be used, or a button corresponding to an option number or a letter in the application program may be used, and the specific implementation step may be implemented before step 101.
Specifically, the control identity file comprises control attribute files corresponding to all control names in the graphical interface, and the control attribute matched with the control name needs to be determined in a matching mode; and determining the control attribute matched with the control name in the control file list through complete matching.
The complete matching is a specific matching method, and an appropriate matching method may be selected according to the characteristics of the control name in practice, which is only an example and is not limited specifically here.
The above description is only for illustrative purposes and does not limit the technical aspects of the present invention.
Compared with the prior art, the name of the control can be obtained when the attribute of the control is analyzed, and the attribute of the corresponding control is determined according to the obtained name of the control. Because the attribute of the control can be changed due to reasons such as system upgrading and the like, in order to ensure that the attribute of the control can be analyzed as soon as possible in the application program test, only the name of the control is obtained, and the attribute of the control is determined according to the name of the control. The control attribute matched with the control name is determined according to the position of the control identity file, the control attribute corresponding to the control name is determined in the control identity file, the implementation is simple, the control attribute can be analyzed quickly, and the testing efficiency is improved.
The second embodiment of the present invention relates to a method for determining control attributes, and the second embodiment is substantially the same as the first embodiment, and the main difference is that a specific implementation step for generating a control identity file is specifically described in this embodiment, and a flow of the method is shown in fig. 2, and includes the following specific implementation steps:
it should be noted that steps 203 to 206 are the same as steps 101 to 104 in the first embodiment, and are not described again here.
Step 201: and positioning the path of the control attribute output file through the regular expression.
Step 202: and modifying the path of the control attribute output file into an appointed path, and taking the control attribute output file as a control identity file.
Specifically, the above embodiment is a specific process for generating a control identity file, which is performed after a working environment is built in a process of testing a control, taking a built python2.7 environment as an example, and a specific process of the above steps is as follows: the method comprises the steps of writing a Python file in a Python environment, creating a Python function, and specifically realizing the process of generating a control identity file, entering a file management disc such as a D disc in the Python environment, creating a Python file named find _ attr.py, calling the Python function to replace a path of a control output attribute file with a same-level directory in a directory of the path where find _ attr.py is located, and generating the control identity file according to another method in the Python function such as get _ Alllattr (a Python function) method.
After a Python environment is built, a plurality of Python functions are created, wherein the Python functions comprise a setenv function, a get _ Alllattr function and a get _ attrName function; in specific implementation, an output path of the control for outputting the attribute file is configured according to the setenv function; analyzing the attributes of all controls in the target window according to the get _ Alllattr function, and generating a control identity file; and searching corresponding control attributes in the control identity file according to the text name of the control input by matching the get _ attrName function.
Specifically, the control attribute output file includes attributes of all controls of the target window, and the control identity file is generated according to the control attribute output file, which specifically includes: analyzing the attributes of all controls of a target window in the control attribute output file and generating a control identity file; and the control identity file comprises the attributes of all controls of the target window.
The above description is only for illustrative purposes and does not limit the technical aspects of the present invention.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to an apparatus for determining control attributes, as shown in fig. 3, including: a first determining module 301, a second determining module 302, an obtaining module 303 and an output module 304.
The first determining module 301 is configured to determine a location of the control identity file in the specified path through the regular expression. And the control identity file comprises control attributes corresponding to all control names of the target window.
The second determining module 302 is configured to determine, according to the control identity file, a row to which the control attribute matched with the control name belongs.
The obtaining module 303 is configured to obtain a control attribute corresponding to a control name in the control identity file.
The output module 304 is configured to output the control attribute as an analysis result of the control name.
It should be understood that the present embodiment is a system example corresponding to the first embodiment, and the present embodiment may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that, in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may also be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, a unit which is less closely related to solving the technical problem proposed by the present invention is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
The fourth embodiment of the invention relates to a device for determining the control attribute. The fourth embodiment is substantially the same as the third embodiment, and mainly differs therefrom in that: in a fourth embodiment of the present invention, the apparatus for determining a control attribute further includes: a positioning module 401 and a modification module 402, the structure of which is shown in fig. 4.
The positioning module 401 is configured to position a path of the control attribute output file through the regular expression.
The modification module 402 is configured to modify a path of the control attribute output file into an assigned path, and use the control attribute output file as a control identity file.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
A fifth embodiment of the present invention relates to an electronic apparatus, as shown in fig. 5, including: at least one processor 501; and, a memory 502 communicatively coupled to the at least one processor 501; wherein the memory 502 stores instructions executable by the at least one processor 501, the instructions being executable by the at least one processor 501 to enable the at least one processor 501 to perform a method of determining properties of a control.
In the present embodiment, the processor 501 is a Central Processing Unit (CPU) as an example, and the Memory 502 is a Random Access Memory (RAM) as an example. The processor 501 and the memory 502 may be connected by a bus or other means, and fig. 5 illustrates the connection by the bus as an example. Memory 502 is provided as a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the programs that implement the methods of determining control properties of the embodiments of the present application, in memory 502. The processor 501 executes various functional applications and data processing of the device, i.e. implements the above-described method for determining control attributes, by running non-volatile software programs, instructions and modules stored in the memory 502.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected to an external device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more program modules are stored in the memory 502 and, when executed by the one or more processors 501, perform the method of determining control properties of the first or second method embodiments described above.
The product can execute the method for determining the control attribute provided by the embodiment of the application, has the corresponding functional modules and beneficial effects of the execution method, and can refer to the method for determining the control attribute provided by the embodiment of the application without detailed technical details described in the embodiment of the application.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of practicing the invention, and that various changes in form and detail may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A method for determining properties of a control, comprising:
determining the position of the control identity file in the specified path through the regular expression; the control identity file comprises control attributes corresponding to all control names of a target window;
determining the line of the control attribute matched with the control name according to the control identity file;
acquiring control attributes corresponding to the control names in the control identity file;
outputting the control attribute as an analysis result of the control name;
before determining the position of the control identity file in the specified path through the regular expression, the method for determining the control attribute further includes:
acquiring the specified path of the control identity file;
positioning a path of a control attribute output file through a regular expression;
and modifying the path of the control attribute output file into the specified path, and taking the control attribute output file as the control identity file.
2. The method according to claim 1, wherein the determining, according to the control identity file, the row to which the control attribute matched with the control name belongs specifically includes:
acquiring control attributes corresponding to all control names in the control identity file according to the control identity file;
and determining the row of the control attribute matched with the control name through fuzzy matching.
3. The method for determining the control attributes according to claim 1 or 2, wherein before determining the position of the control identity file in the specified path through the regular expression, the method for determining the control attributes further comprises:
and acquiring the input control names, wherein the number of the control names is one or at least one.
4. The method for determining the properties of the control according to claim 1, wherein the properties of all controls of the target window are included in the control property output file,
the determining, according to the control identity file, the line to which the control attribute matched with the control name belongs specifically includes:
analyzing the attributes of all controls of a target window in the control attribute output file and generating a control identity file;
And the control identity file comprises the attributes of all controls of the target window.
5. The method of claim 3, wherein if the number of control names is at least one,
after the control attribute is output as the resolution result of the control name, the method for determining the control attribute further includes:
respectively and independently analyzing the control attribute of each control name;
and outputting the analysis result of each control name according to the sequence of the control names.
6. An apparatus for determining properties of a control, comprising: the system comprises a first determining module, a second determining module, an obtaining module, an output module, a positioning module and a modifying module;
the first determining module is used for determining the position of the control identity file in the specified path through the regular expression; the control identity file comprises control attributes corresponding to all control names of a target window;
the second determining module is used for determining the line of the control attribute matched with the control name according to the control identity file;
the obtaining module is used for obtaining the control attribute corresponding to the control name in the control identity file;
The output module is used for outputting the control attribute as an analysis result of the control name;
the positioning module is used for positioning the path of the control attribute output file through the regular expression;
the modification module is used for modifying the path of the control attribute output file into the specified path and taking the control attribute output file as the control identity file;
and acquiring the specified path of the control identity file through the positioning module and the modification module.
7. An electronic device, comprising: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of determining properties of a control as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of determining properties of a control of any one of claims 1 to 5.
CN201811481739.3A 2018-12-05 2018-12-05 Method and device for determining control attribute, electronic equipment and storage medium Active CN109614325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811481739.3A CN109614325B (en) 2018-12-05 2018-12-05 Method and device for determining control attribute, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811481739.3A CN109614325B (en) 2018-12-05 2018-12-05 Method and device for determining control attribute, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109614325A CN109614325A (en) 2019-04-12
CN109614325B true CN109614325B (en) 2022-06-07

Family

ID=66006507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811481739.3A Active CN109614325B (en) 2018-12-05 2018-12-05 Method and device for determining control attribute, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109614325B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579747B (en) * 2019-09-29 2024-06-21 北京国双科技有限公司 Identity information extraction method and device
CN111124417B (en) * 2019-12-10 2023-03-03 西安智周深鉴信息科技集团有限公司 Industrial control program compiling method and device, computer equipment and storage medium
CN111538488B (en) * 2020-04-17 2023-05-02 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driver
CN113963580A (en) * 2021-10-19 2022-01-21 创盛视联数码科技(北京)有限公司 Courseware playing method and teaching system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
KR101418489B1 (en) * 2013-03-27 2014-07-14 한국항공우주산업 주식회사 Verifying Device for Auto Generated Code of Fly-By-Wire Helicopter Flight Control Law and Verifying Method for the same
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
CN106033393A (en) * 2015-03-13 2016-10-19 展讯通信(天津)有限公司 Method and system for testing application program, and mobile terminal
CN108427642A (en) * 2018-03-05 2018-08-21 深圳市买买提信息科技有限公司 The method and apparatus of components testing in a kind of interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
KR101418489B1 (en) * 2013-03-27 2014-07-14 한국항공우주산업 주식회사 Verifying Device for Auto Generated Code of Fly-By-Wire Helicopter Flight Control Law and Verifying Method for the same
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
CN106033393A (en) * 2015-03-13 2016-10-19 展讯通信(天津)有限公司 Method and system for testing application program, and mobile terminal
CN108427642A (en) * 2018-03-05 2018-08-21 深圳市买买提信息科技有限公司 The method and apparatus of components testing in a kind of interface

Also Published As

Publication number Publication date
CN109614325A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109614325B (en) Method and device for determining control attribute, electronic equipment and storage medium
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN107766130B (en) Method and device for migrating virtual machine to container
CN104182335A (en) Software testing method and device
CN103180834B (en) Automatic operation system test frame
CN103984626A (en) Method and device for generating test-case script
US11537367B1 (en) Source code conversion from application program interface to policy document
US20180025162A1 (en) Application program analysis apparatus and method
EP3413149B1 (en) Field device commissioning system and field device commissioning method
US11422917B2 (en) Deriving software application dependency trees for white-box testing
CN116166525A (en) Method and device for generating test script
CN113032257A (en) Automatic test method, device, computer system and readable storage medium
US20160292067A1 (en) System and method for keyword based testing of custom components
CN112988578A (en) Automatic testing method and device
CN116719735A (en) Test case generation method and device
US20180032510A1 (en) Automated translation of source code
US11099977B1 (en) Method, device and computer-readable storage medium for testing bios using menu map obtained by performing image identification on bios interface
CN114741294A (en) Page debugging method, device, equipment and storage medium
CN115080113A (en) Item code detection method and device, readable storage medium and electronic equipment
CN110327626B (en) Virtual server creation method and device
CN111273913B (en) Method and device for outputting application program interface data represented by specifications
CN113220586A (en) Automatic interface pressure test execution method, device and system
EP2782005A1 (en) Verifying state reachability in a statechart model having computer program code embedded therein
CN113836037B (en) Interface interaction testing method, device, equipment and storage medium
JP2018121245A (en) Communication apparatus, communication specification difference extraction method, and communication specification difference extraction program

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
CB02 Change of applicant information

Address after: Room 201, building 6, 829 Yishan Road, Xuhui District, Shanghai 200233

Applicant after: Shanghai Keliang Information Technology Co.,Ltd.

Address before: Room 201, building 6, 829 Yishan Road, Xuhui District, Shanghai 200233

Applicant before: SHANGHAI KELIANG INFORMATION ENGINEERING Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant