CN103064782A - Method and device for obtaining control - Google Patents

Method and device for obtaining control Download PDF

Info

Publication number
CN103064782A
CN103064782A CN2011103226538A CN201110322653A CN103064782A CN 103064782 A CN103064782 A CN 103064782A CN 2011103226538 A CN2011103226538 A CN 2011103226538A CN 201110322653 A CN201110322653 A CN 201110322653A CN 103064782 A CN103064782 A CN 103064782A
Authority
CN
China
Prior art keywords
control
basic
basic control
encapsulation
current interface
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.)
Granted
Application number
CN2011103226538A
Other languages
Chinese (zh)
Other versions
CN103064782B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110322653.8A priority Critical patent/CN103064782B/en
Publication of CN103064782A publication Critical patent/CN103064782A/en
Application granted granted Critical
Publication of CN103064782B publication Critical patent/CN103064782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for obtaining a control and belongs to the technical field of computers. The method for obtaining the control includes the steps: according to a java reflex mechanism, obtaining a first basic control and a first sealing control which are on a current interface in a dynamic mode; traversing a second basic control in the first sealing control in a recursion mode, and enabling the first basic control and the second basic control to be used as a third basic control; according to the third basic control, obtaining a visual control of the current interface; and looking up and obtaining a basic control which satisfies predetermined attribute information in the visual control of the current interface. The method and the device for obtaining the control can fully achieve android automatic testing and enable automation coverage rate to be improved.

Description

A kind of method and device that obtains control
Technical field
The present invention relates to field of computer technology, particularly obtain method and the device of control in a kind of Android automatic test.
Background technology
Along with the Android system being widely used of field of mobile phones, also become more and more important for the Android automatic test of mobile phone.In the Android automatic test, great majority are based on the automatic test of control at present, by obtaining the particular control of current interface, then control are triggered the operation that associative operation is simulated the people, reach the robotization effect.
Control in the Android system all is to inherit in base class View, and described control comprises basic control and encapsulation control; The encapsulation control comprises a plurality of child controls, and the encapsulation control is the control that a plurality of child controls are packaged together, and as shown in Figure 1, wherein each described child control can be the encapsulation control, also can be basic control, but the child control that encapsulates the bottom of control is basic control.In the existing Android automatic test, the Android system obtains the particular control of current interface by calling FindViewById () function, but FindViewById () function is only for the non-encapsulation control (being basic control) of Android system; For the encapsulation control, call the child control in the encapsulation control that FindViewById () function can't get access to current interface, realize automatic test so just can not trigger associative operation to child control, can only stop the Android automatic test.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: in the existing Android automatic test, the FindViewById () function of Android system call can only obtain the non-encapsulation control (being basic control) of current interface, can't obtain the child control in the encapsulation control of current interface, so that some function in the Android automatic test or scene can't robotizations, the robotization coverage rate lowers.
Summary of the invention
In order to improve the robotization coverage rate in the Android automatic test, the embodiment of the invention provides a kind of method and device that obtains control.Described technical scheme is as follows:
A kind of method of obtaining control comprises:
According to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control;
Recurrence travels through out the second basic control of described the first encapsulation in the control, with the described first basic control and the described second basic control as the 3rd basic control;
Obtain the visible control of current interface according to the described the 3rd basic control;
In the visible control of described current interface, search and obtain the basic control that meets predetermined attribute information.
A kind of device that obtains control comprises:
The Dynamic Acquisition module is used for according to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control;
The 3rd basic control acquisition module is used for the second basic control that recurrence travels through out described the first encapsulation control, with the described first basic control and the described second basic control as the 3rd basic control;
As seen control acquisition module is used for obtaining according to the described the 3rd basic control the visible control of current interface;
Acquisition module: be used for searching and obtain the basic control that meets predetermined attribute information at the visible control of described current interface.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: the present embodiment travels through all basic controls that the second basic control in the envelope first dress control obtains current interface by recurrence in the Android automatic test; Then after described all basic controls being carried out relevant treatment, to the basic control that meets predetermined attribute information, the prior art of comparing can complete realization Android automatic test, so that the raising of robotization coverage rate according to the predetermined attribute acquisition of information.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the encapsulation control that provides of prior art;
Fig. 2 is a kind of process flow diagram that obtains the embodiment of the method for control that the embodiment of the invention 1 provides;
Fig. 3 is a kind of process flow diagram that obtains the embodiment of the method for control that the embodiment of the invention 2 provides;
Fig. 4 is control structural representation on the Activity assembly that provides of the embodiment of the invention 2;
Fig. 5 is a kind of structural representation that obtains the device embodiment of control that the embodiment of the invention 3 provides;
Fig. 6 is a kind of structural representation that obtains the device embodiment of control that the embodiment of the invention 4 provides.
Embodiment
The embodiment of the invention provides a kind of method and device that obtains control.
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
With reference to figure 2, Fig. 2 is a kind of process flow diagram that obtains the embodiment of the method for control that the embodiment of the invention 1 provides; The present embodiment is applied in the Android automatic test, and the described method of obtaining control comprises:
S101: according to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control.
S102: recurrence travels through out the second basic control of described the first encapsulation in the control, with the described first basic control and the described second basic control as the 3rd basic control.
S103: the visible control that obtains current interface according to the described the 3rd basic control.
S104: search and obtain the basic control that meets predetermined attribute information in the visible control of described current interface.
The present embodiment travels through all basic controls that the second basic control of the first encapsulation in the control obtains current interface by recurrence in the Android automatic test; Then after described all basic controls being carried out relevant treatment, to the basic control that meets predetermined attribute information, the prior art of comparing can complete realization Android automatic test, so that the raising of robotization coverage rate according to the predetermined attribute acquisition of information.
Embodiment 2
With reference to figure 3, Fig. 3 is a kind of process flow diagram that obtains the embodiment of the method for control that the embodiment of the invention 2 provides; The present embodiment is applied in the Android automatic test, and the described method of obtaining control comprises:
S201: according to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control.
The method of Dynamic Acquisition information and dynamic call object is called the java reflex mechanism; The Java reflex mechanism mainly provides following functions: the class under judging any one object in when operation; When operation, construct the object of any one class; When operation, judge member variable and the method that any one class has; Method at any one object of run time call; Generate dynamic proxy.
In the Android system, when application program is moved, application program all is to be processed by Window Manager (window management person) to user's response, by special object (for example: the WindowManagerImpl class, but be not limited to this) described response is passed through all controls on the Activity assembly of Android, described control comprises basic control and encapsulation control, as shown in Figure 4, Fig. 4 is control structural representation on the Activity assembly that provides of the embodiment of the invention 2.
As shown in Figure 4, View (demonstration) 0, View2, View3, View4 and View5 are the basic controls in the Android system; ViewGroup (demonstration group) the 1st, the encapsulation control comprises basic control View3, View4 and View5 among the described encapsulation control ViewGroup1.
Basic control in the wherein said Android system comprises: TextView (text display control), Button (button control), ImageButton (picture buttons control), ImageView (Image Display control), CheckBox (check box control), RadioButton (radio box control) and AnalogClock (clock and watch (with dial plate the sort of) control); DigitalClock (electronic watch control).
Wherein, the superiors' window that described Window Manager is application program can be called main window with WindowManager with reference to the concept of Window, and its major function is input method management, newly-increased deletion window and active window management etc.
Described WindowManagerImpl class is the agency of Window Manager service, connects the bridge between Window Manager and the Activity, is responsible for communication between the two; Described WindowManagerImpl class comprises all controls on the Activity, and described all controls comprise basic control and encapsulation control, and described all controls can be stored in the private variable of WindowManagerImpl class, but are not limited to this.
Described Activity assembly is assembly the most frequently used among the Android, it is the presentation layer of application program, Activity generally realizes the user interface of application program by View, be equivalent to a screen, the realizing by the Activity assembly alternately of user and application program.
According to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control comprise:
According to the Java reflex mechanism, the association attributes of Dynamic Acquisition WindowManagerImpl class; Wherein said association attributes can be the private variable of WindowManagerImpl class, is storing the first basic control of current interface and the control collection that the first encapsulation control forms in the described private variable;
Travel through the control collection in the described private variable, obtain the first basic control and the first encapsulation control of current interface.
S202: recurrence travels through out the second basic control in described the first encapsulation control.
In the present embodiment, the second basic control that recurrence travels through out in described the first encapsulation control comprises:
1) child control in described the first encapsulation control of traversal;
2) judge whether described child control comprises the second encapsulation control, if so, recurrence travels through the child control in described the second encapsulation control, until all child controls in described the second encapsulation control are till the basic control;
Particularly, if described child control comprises the second encapsulation control, then continue recurrence and travel through the child control of described the second encapsulation in the control, so circulation is until all child controls in described the second encapsulation control stop circulation when being basic control.
3) obtain the described first the second basic control that encapsulates in the control, the wherein said second basic control is described all child controls.
S203: with the described first basic control and the described second basic control as the 3rd basic control.
Travel through out described first all child controls that encapsulate in the control in recurrence, namely after the second basic control, the described second basic control is merged the described first basic control that gets access among the S201 consist of the 3rd basic control of current interface, thereby get access to the 3rd basic control of current interface.
The 3rd basic control of described current interface can be stored with the form of list of controls.
S204: the visible control that obtains current interface according to the described the 3rd basic control.
In the practical application, whether control all has visible attribute information, and described attribute information can be used for representing in current interface whether as seen described control;
Particularly, when described attribute information when being visible, described control is visible control; When described attribute information when being invisible, described control is invisible control.
For the Android automatic test, generally be that the visible control to current interface carries out corresponding operating, realize automatic test, therefore need to obtain the visible control of current interface.
In the practical application, the described visible control that obtains current interface according to the described the 3rd basic control comprises:
Delete the invisible control in the described the 3rd basic control, obtain the visible control of described current interface.
When not having invisible control in the described the 3rd basic control, then keep the described the 3rd basic control.
S205: in the visible control of described current interface, search and obtain the basic control that meets predetermined attribute information.
For different controls, can obtain particular control according to the attribute information of control; Described attribute information comprises: the pictorial information of the id information of control, the Word message of control or control.
For example: for ImageView, described predetermined attribute information can be the pictorial informations such as picture size, picture format or literal of ImageView; So can obtain basic control ImageView by in the visible control of described current interface, searching the control that meets described pictorial information.
For Button, described predetermined attribute information can be the Word message of Button; So can obtain basic control Button by in the visible control of described current interface, searching the control that meets described Word message.
Certainly, also can obtain by the id information of control basic control, not repeat them here.
S206: trigger the described basic control that meets predetermined attribute information, carry out the Android automatic test.
After getting access to the basic control that meets predetermined attribute information according to predetermined attribute information, trigger the described associative operation that meets the basic control of predetermined attribute information, realize complete Android automatic test.
The present embodiment travels through all basic controls that the second basic control of the first encapsulation in the control obtains current interface by recurrence in the Android automatic test; Then after described all basic controls being carried out relevant treatment, the basic control that meets predetermined attribute information according to the predetermined attribute acquisition of information, and then trigger described basic control and realize automatic test, the prior art of comparing, the present embodiment can complete realization Android automatic test, so that the robotization coverage rate improves.
Embodiment 3
With reference to figure 5, Fig. 5 is a kind of structural representation that obtains the device embodiment of control that the embodiment of the invention 3 provides; The described device that obtains control comprises:
Dynamic Acquisition module 301 is used for according to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control.
The 3rd basic control acquisition module 302 is used for the second basic control that recurrence travels through out described the first encapsulation control, with the described first basic control and the described second basic control as the 3rd basic control.
As seen the control acquisition module 303, are used for obtaining according to the described the 3rd basic control the visible control of current interface.
Acquisition module 304: be used for searching and obtain the basic control that meets predetermined attribute information at the visible control of described current interface.
The present embodiment travels through all basic controls that the second basic control of the first encapsulation in the control obtains current interface by recurrence in the Android automatic test; Then after described all basic controls being carried out relevant treatment, the basic control that meets predetermined attribute information according to the predetermined attribute acquisition of information, and then trigger described basic control and realize automatic test, the prior art of comparing, the present embodiment can complete realization Android automatic test, so that the robotization coverage rate improves.
Embodiment 4
With reference to figure 6, Fig. 6 is a kind of structural representation that obtains the device embodiment of control that the embodiment of the invention 4 provides; The described device that obtains control comprises: Dynamic Acquisition module 301, the 3rd basic control acquisition module 302, visible control acquisition module 303, acquisition module 304 and trigger module 305.
The functional similarity of Dynamic Acquisition module 301 and acquisition module 304 does not repeat them here described in described Dynamic Acquisition module 301 and acquisition module 304 and the embodiment 3, specifically can be with reference to the associated description of embodiment 3.
The described the 3rd basic control acquisition module 302 comprises: recurrence traversal submodule 3021 and the 3rd basic control obtain submodule 3022;
Described recurrence traversal submodule 3021 is used for the second basic control that recurrence travels through out described the first encapsulation control;
Wherein, described recurrence traversal submodule 3021 comprises the traversal unit, judges processing unit and the second basic control acquiring unit;
Described traversal unit is for the child control that travels through described the first encapsulation control.
Described judgement processing unit is used for judging whether described child control comprises the second encapsulation control, and if so, recurrence travels through the child control in described the second encapsulation control, until all child controls in described the second encapsulation control are till the basic control.
The described second basic control acquiring unit, for the second basic control that obtains described the first encapsulation control, the wherein said second basic control is described all child controls.
The described the 3rd basic control obtains submodule 3022, is used for the described first basic control and the described second basic control as the 3rd basic control.
Described visible control acquisition module 303 comprises: visible control obtains submodule 3031;
Described visible control obtains submodule 3031, is used for deleting the invisible control of the described the 3rd basic control, obtains the visible control of current interface.
Described trigger module 305 is used for triggering the described basic control that meets predetermined attribute information, carries out the Android automatic test.
The present embodiment travels through all basic controls that all child controls in the encapsulation control obtain current interface by recurrence in the Android automatic test; Then after described all basic controls being carried out relevant treatment, according to predetermined attribute acquisition of information particular control, and then trigger described control and realize automatic test, the prior art of comparing, the present embodiment can complete realization Android automatic test, so that the robotization coverage rate improves.
Need to prove, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device class embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Need to prove, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method of obtaining control is characterized in that, comprising:
According to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control;
Recurrence travels through out the second basic control of described the first encapsulation in the control, with the described first basic control and the described second basic control as the 3rd basic control;
Obtain the visible control of current interface according to the described the 3rd basic control;
In the visible control of described current interface, search and obtain the basic control that meets predetermined attribute information.
2. method according to claim 1 is characterized in that, the second basic control that described recurrence travels through out in described the first encapsulation control comprises:
Travel through the child control in described the first encapsulation control;
Judge whether described child control comprises the second encapsulation control, if so, recurrence travels through the child control in described the second encapsulation control, until all child controls in described the second encapsulation control are till the basic control;
Obtain the second basic control in described the first encapsulation control, the wherein said second basic control is described all child controls.
3. method according to claim 1 is characterized in that, the described visible control that obtains current interface according to the described the 3rd basic control comprises:
Delete the invisible control in the described the 3rd basic control, obtain the visible control of described current interface.
4. method according to claim 1 is characterized in that, described predetermined attribute information comprises: the pictorial information of the id information of control, the Word message of control or control.
5. method according to claim 1 is characterized in that, described in the visible control of described current interface, search and obtain meet predetermined attribute information basic control after further comprise:
Trigger the described basic control that meets predetermined attribute information, carry out the Android automatic test.
6. a device that obtains control is characterized in that, comprising:
The Dynamic Acquisition module is used for according to the Java reflex mechanism, the first basic control of Dynamic Acquisition current interface and the first encapsulation control;
The 3rd basic control acquisition module is used for the second basic control that recurrence travels through out described the first encapsulation control, with the described first basic control and the described second basic control as the 3rd basic control;
As seen control acquisition module is used for obtaining according to the described the 3rd basic control the visible control of current interface;
Acquisition module: be used for searching and obtain the basic control that meets predetermined attribute information at the visible control of described current interface.
7. device according to claim 6 is characterized in that, the described the 3rd basic control acquisition module comprises:
Recurrence traversal submodule is used for the second basic control that recurrence travels through out described the first encapsulation control;
The 3rd basic control obtains submodule, is used for the described first basic control and the described second basic control as the 3rd basic control.
8. device according to claim 7 is characterized in that, described recurrence traversal submodule comprises:
The traversal unit is for the child control that travels through described the first encapsulation control;
Judge processing unit, be used for judging whether described child control comprises the second encapsulation control, if so, recurrence travels through the child control in described the second encapsulation control, until all child controls in described the second encapsulation control are till the basic control;
The second basic control acquiring unit, for the second basic control that obtains described the first encapsulation control, the wherein said second basic control is described all child controls.
9. device according to claim 6 is characterized in that, described visible control acquisition module comprises:
As seen control obtains submodule, is used for deleting the invisible control of the described the 3rd basic control, obtains the visible control of current interface.
10. device according to claim 6 is characterized in that, further comprises:
Trigger module is used for triggering the described basic control that meets predetermined attribute information, carries out the Android automatic test.
CN201110322653.8A 2011-10-21 2011-10-21 A kind of method and device for obtaining control Active CN103064782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110322653.8A CN103064782B (en) 2011-10-21 2011-10-21 A kind of method and device for obtaining control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110322653.8A CN103064782B (en) 2011-10-21 2011-10-21 A kind of method and device for obtaining control

Publications (2)

Publication Number Publication Date
CN103064782A true CN103064782A (en) 2013-04-24
CN103064782B CN103064782B (en) 2017-03-15

Family

ID=48107415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110322653.8A Active CN103064782B (en) 2011-10-21 2011-10-21 A kind of method and device for obtaining control

Country Status (1)

Country Link
CN (1) CN103064782B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309667A (en) * 2013-06-14 2013-09-18 珠海全志科技股份有限公司 Method for positioning UI (user interface) control and picture modifying position in Android system
CN104156305A (en) * 2013-05-15 2014-11-19 腾讯科技(深圳)有限公司 Application program testing method and device
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
CN104866413A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Multi-process testing method and device
WO2016131316A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Method and device for identifying java window control
CN106126425A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Function traversal method based on Android automated test frame and system
CN106569945A (en) * 2016-10-19 2017-04-19 上海斐讯数据通信技术有限公司 Automatic color discrimination system and automatic color discrimination method for user interface testing
WO2018188380A1 (en) * 2017-04-11 2018-10-18 武汉斗鱼网络科技有限公司 Method and device for adding control identification
CN109597755A (en) * 2018-10-25 2019-04-09 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment that text is shown
WO2019104478A1 (en) * 2017-11-28 2019-06-06 华为技术有限公司 Method and terminal for recognizing screenshot text

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630286A (en) * 2009-08-07 2010-01-20 金蝶软件(中国)有限公司 Automatic testing method and automatic testing device
CN101894018A (en) * 2010-05-31 2010-11-24 浪潮(北京)电子信息产业有限公司 Method and device for maintaining control state information
US20110214108A1 (en) * 2010-02-26 2011-09-01 Roland Grunberg Architecture, system and method for generating visualizations from running executable code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630286A (en) * 2009-08-07 2010-01-20 金蝶软件(中国)有限公司 Automatic testing method and automatic testing device
US20110214108A1 (en) * 2010-02-26 2011-09-01 Roland Grunberg Architecture, system and method for generating visualizations from running executable code
CN101894018A (en) * 2010-05-31 2010-11-24 浪潮(北京)电子信息产业有限公司 Method and device for maintaining control state information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
代伟: "跨平台GUI自动测试工具的研究与实现", 《中国优秀硕士学位论文全文数据库》, 15 April 2009 (2009-04-15), pages 58 *
郝义鹏: "基于关键字驱动自动化测试平台的设计与实现", 《中国优秀硕士学位论文全文数据库》, 15 March 2009 (2009-03-15) *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156305A (en) * 2013-05-15 2014-11-19 腾讯科技(深圳)有限公司 Application program testing method and device
CN104156305B (en) * 2013-05-15 2018-01-09 腾讯科技(深圳)有限公司 A kind of applied program testing method and device
CN103309667B (en) * 2013-06-14 2016-03-30 珠海全志科技股份有限公司 The method of UI control and picture location revision is located in Android system
CN103309667A (en) * 2013-06-14 2013-09-18 珠海全志科技股份有限公司 Method for positioning UI (user interface) control and picture modifying position in Android system
CN104866413A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Multi-process testing method and device
CN104866413B (en) * 2014-02-24 2018-09-28 腾讯科技(深圳)有限公司 The method and device of multi-process test
CN104598282B (en) * 2015-02-05 2017-10-27 广州华多网络科技有限公司 A kind of control method for catching and equipment
CN104598282A (en) * 2015-02-05 2015-05-06 广州华多网络科技有限公司 Control capture method and equipment
WO2016131316A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Method and device for identifying java window control
EP3312719B1 (en) * 2015-07-21 2020-10-28 ZTE Corporation Method and device for identifying java window control
CN106126425A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Function traversal method based on Android automated test frame and system
CN106126425B (en) * 2016-06-30 2018-11-30 北京视觉世界科技有限公司 Function traversal method and system based on Android automated test frame
CN106569945A (en) * 2016-10-19 2017-04-19 上海斐讯数据通信技术有限公司 Automatic color discrimination system and automatic color discrimination method for user interface testing
CN106569945B (en) * 2016-10-19 2019-10-25 上海斐讯数据通信技术有限公司 Color system and method are distinguished in a kind of automation for ui testing
WO2018188380A1 (en) * 2017-04-11 2018-10-18 武汉斗鱼网络科技有限公司 Method and device for adding control identification
WO2019104478A1 (en) * 2017-11-28 2019-06-06 华为技术有限公司 Method and terminal for recognizing screenshot text
CN110168566A (en) * 2017-11-28 2019-08-23 华为技术有限公司 A kind of method and terminal identifying screenshot text
CN110168566B (en) * 2017-11-28 2021-12-14 华为技术有限公司 Method and terminal for recognizing screenshot characters
CN109597755A (en) * 2018-10-25 2019-04-09 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment that text is shown
CN109597755B (en) * 2018-10-25 2022-04-12 东软集团股份有限公司 Text display detection method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN103064782B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN103064782A (en) Method and device for obtaining control
US20190188012A1 (en) Method, device, terminal and storage medium for processing application
CN106453053B (en) Group message display methods and device
CN115174733A (en) Interface display method, device and equipment
CN107077292A (en) Clip and paste information providing method and device
CN107016038A (en) Perform the method for application and support the electronic equipment of this method
CN108027706A (en) A kind of application interface display methods and terminal device
CN105389325A (en) Content search method and electronic device implementing same
CN103516780A (en) Mobile terminal, server, system and method for controlling the same
KR20150025613A (en) Apparatas and method for displaying relevant information of application in an electronic device
CN108242837A (en) The method of the charging of electronic equipment and control electronics
CN108205408B (en) Message display method and device
CN109375863A (en) Triggering method, device, terminal and the storage medium of objective function
CN109587328B (en) Message management method and device, storage medium and electronic equipment
CN104346024A (en) Method and device for selecting shortcuts
CN107038074A (en) Internal memory optimization device and method based on associating policy
CN105556534B (en) For suggesting the electronic equipment and method of response guide when refusing
CN105426069A (en) Method And Apparatus For Generating Preview Data
CN109271208A (en) Parameter setting method, device, terminal and storage medium
CN106371326A (en) Storage method and apparatus of equipment work scenes
CN109416615A (en) Handle the method for touch event and the electronic device suitable for this method
US10540415B2 (en) Apparatus and method for managing history information in an electronic device
CN107003910A (en) The sorting technique and device of mobile subscriber's dummy activity
CN105915615A (en) Method for displaying application information in mobile equipment and device thereof
EP3416070A1 (en) Page display method and device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant