CN103365779A - Software test method and system - Google Patents

Software test method and system Download PDF

Info

Publication number
CN103365779A
CN103365779A CN2013102877723A CN201310287772A CN103365779A CN 103365779 A CN103365779 A CN 103365779A CN 2013102877723 A CN2013102877723 A CN 2013102877723A CN 201310287772 A CN201310287772 A CN 201310287772A CN 103365779 A CN103365779 A CN 103365779A
Authority
CN
China
Prior art keywords
operation
event
playback
script file
test
Prior art date
Application number
CN2013102877723A
Other languages
Chinese (zh)
Other versions
CN103365779B (en
Inventor
康宗学
岳闯
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201310287772.3A priority Critical patent/CN103365779B/en
Publication of CN103365779A publication Critical patent/CN103365779A/en
Application granted granted Critical
Publication of CN103365779B publication Critical patent/CN103365779B/en

Links

Abstract

The invention provides a software test method and system. The software test method comprises the following steps: detecting the coordinate position of an operation action corresponding to an operation event during the process of recording the operation event; performing interface element recognition to obtain the corresponding relation between interface element identifications and interface element areas; determining the interface element identification corresponding to the operation event according to the coordinate position and the corresponding relation; after the operation event and the interface element identification corresponding to the operation event are bound, converting the bound operation event and interface element identification into a script and storing the script into a script file; playing back the script file to generate a test report. According to the invention, the script universality among different types of machines is achieved; the reusability of the script file is improved; the labor input is reduced; the test efficiency is also improved.

Description

软件测试方法和系统 Software Testing Methods and systems

技术领域 FIELD

[0001] 本发明涉及程序测试领域,特别是涉及一种软件测试方法和系统。 [0001] The present invention relates to testing procedures, and more particularly, to a method and system for testing software.

背景技术 Background technique

[0002] Android是一种开放源码操作系统,其以Linux为基础。 [0002] Android is an open source operating system Linux-based. 由于Android开源免费,且Android操作系统简单实用,其受到了广大厂商的偏爱,特别是在智能手机领域取得了长足发展,不仅如此,在平板电脑、智能电视等其他领域也有越来越多的厂商青睐于Android操作系统。 Since the free open-source Android, and Android operating system is simple and practical, which is favored by the majority of manufacturers, in particular, has made considerable progress in the field of smart phones, not only that, in other areas of the Tablet PC, smart TV, etc. There are also more and more companies favor Android operating system.

[0003] 智能设备之所以受到越来越多的用户喜爱,是因为其具有海量的应用软件,通过不同的应用软件实现不同的功能,丰富了用户的生活,提高了用户的使用体验。 [0003] The reason why more and more smart device users favorite, because it has a flood of applications software, to achieve different functions in different applications, enrich the user's life and improve the user experience. 对于Android手机等Android设备,由于其系统开源,广大的程序爱好者都可以加入到Android程序开发的环境中来。 Android Android for mobile phones and other devices, because of its open-source systems, the majority of fans of the program can be added to the Android application development environment in the past. 但是,一方面,由于作为正式的软件产品,在进入市场之前,需要测试人员进行精细的测试以保证软件质量,另一方面,Android操作系统更新也越来越快,在操作系统升级的同时也需要对先前开发的软件是否可用进行测试,也就意味着需要进行大量的重复的测试工作,即使是同一版本的Android操作系统,不同的设备也可能出现不同的软件运行结果,因此,在软件开发过程中需要进行大量的软件测试。 However, on the one hand, due to the software product as an official, before entering the market, the need to fine testers testing to ensure software quality, on the other hand, Android operating system updates faster and faster, while also operating system upgrade the need for software previously developed test is available, which means the need for a lot of duplication of testing, even if the same version of the Android operating system, different devices may also appear different software operating results, therefore, in software development process requires a lot of software testing.

[0004] 目前在进行Android程序测试时,一种方式是通过SDK里自带的现成测试工具monkey和monkeyrunner实现,但是需要通过测试人员一步步人工实现,在测试过程中需要不停的看着设备对象的显示屏,来判断测试用例是否通过,这样的人工测试需要浪费大量的人力物力,限制了Android软件的进一步发展。 [0004] Android is currently carrying out a program to test, one way is through the SDK comes with ready-made testing tools monkey and monkeyrunner achieve, but needs a step by step manual testers achieved during the test need to stop looking at the device display objects, to determine whether the test cases through such manual testing need to waste a lot of manpower and material resources, limiting the further development of Android software. 另一种方式较前一种方式具有明显的优势,其是通过录制操作事件生成脚本,并根据接收的回放命令,执行脚本,并在执行脚本完毕后自动获取的界面元素与录制脚本事件过程中获得的界面元素进行比对,得出测试例的测试结果,从而实现了基于Android平台的软件自动化测试,在整个测试过程中不需要测试人员一步步跟踪测试,可以直接读取自动化测试工具的测试结果,节约了人力成本。 Another way the previous one way has obvious advantages, which is produced by recording a script action events, and the playback command received, execute scripts, and script execution automatically obtained after the completion of recording interface elements and script event procedure get interface elements for comparison, obtained the test results of the test cases, in order to achieve the Android-based software automated testing, the tester does not need a step by step tracking test throughout the test, the test automation tool can be read directly test As a result, saving labor costs. 但是,后一种实现方式在录制操作事件生成脚本的过程中,往往记录的是操作动作的位置坐标,脚本回放时,由位置坐标定位界面元素,这样,在设备对象不同的分辨率下或者界面元素的布局位置不同时,都可能导致该坐标位置所定位的界面元素不同,因此,都可能导致录制的脚本根本不可以用或者只能适用于个别设备对象,影响到Android程序测试,或者每次在进行Android平台的软件自动化测试时,都需要重复录制脚本,导致人力物力成本高,测试效率低。 However, after one implementation, events are generated during the recording operation of the script, the record is often the position coordinates of the operation of the operation, a playback script, the position coordinate positioning interface element, so that, at different resolution or interface device object the layout position of the element is not the same, may lead to a different location coordinates of the positioning of the interface elements, therefore, they are likely to lead to a recorded script simply could not be used or can only be applicable to individual device objects, affecting the Android test procedures, or every time during the test automation software platform Android, you need to repeat recording a script, leading to high labor and material costs, low efficiency of the test.

发明内容 SUMMARY

[0005] 本发明的目的在于提供基于一种软件测试方法、一种软件测试系统,可以对不同界面具有通用性,提高了脚本的复用率,降低了人力、物力成本,提高了测试效率。 [0005] The object of the present invention to provide a testing method is based on a software a software testing system, may have different interfaces for versatility, improved script reuse rate, reduced labor and material costs, test efficiency is improved.

[0006] 一种软件测试方法,包括如下步骤: [0006] A software testing method, comprising the steps of:

[0007] 在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置;[0008] 进行界面元素识别获得界面元素标识与界面元素区域的对应关系; [0007] In operation, event recording, event detection operation corresponding to the operation of the operation of the coordinate position; [0008] for identifying a corresponding relationship interface element interface element identifier and interface element region;

[0009] 根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; [0009] determines that the operating interface element corresponding to the event identifier according to the coordinate position and the corresponding relation;

[0010] 将所述操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; [0010] After converting the operation corresponding to the event and the event operation interface element identifies the binding as the script stored in the script file;

[0011] 将所述脚本文件进行回放,生成测试报告。 [0011] The script file for playback, generate test reports.

[0012] 一种软件测试系统,包括录制模块和回放模块,所述录制模块包括检测单元、识别单元、确定单元、转换单元,所述回放模块包括测试单元,其中: [0012] A software testing system, comprising a recording module and the playback module, said recording module comprises a detecting means, the identifying unit, determining unit, the conversion unit, the playback module includes a test unit, wherein:

[0013] 所述检测单元用于在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置; [0013] The event detection unit for the recording operation, the coordinate position detecting operation of the operation corresponding to the operation of the event;

[0014] 所述识别单元用于进行界面元素识别获得界面元素标识与界面元素区域的对应关系; [0014] The identification unit for identifying a corresponding relationship interface element interface element identifier and interface element region;

[0015] 所述确定单元用于根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; [0015] The means for determining the operation of the interface element corresponding to the event identifier and said coordinate position is determined according to the correspondence;

[0016] 所述转换单元用于将所述操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; [0016] The conversion unit for converting the operation of the event and the event corresponding to the operation interface element identifies the binding as the script stored in the script file;

[0017] 所述测试单元用于将所述脚本文件进行回放,生成测试报告。 The [0017] test unit for the script file for playback, generate test reports.

[0018] 依据上述本发明的方案,其是在在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置,进行界面元素识别获得界面元素标识与界面元素区域的对应关系,根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识,将操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中,再将该脚本文件进行回放,自动执行测试生成测试报告,而对操作事件进行录制生成脚本文件的方案是,由于,在脚本文件中记录的是操作事件与界面元素标识的绑定关系,因此,在脚本回放时,可以将界面元素标识作为回放动作的依据,回放的动作与界面的布局以及分辨率没有关系,很好的解决了不同机型间脚本通用性的问题,提高了脚本文件的复用率,减少人工投入,也提高了测试效率。 [0018] The above-described embodiment according to the present invention, which is in operation in the event recording, event coordinate position detecting operation of the operation corresponding to the operation, for identifying a corresponding relationship interface elements interface element identifier and interface element in the region, the coordinate position and determining the corresponding relationship to the operation of interface elements corresponding to the event identifier, stores the script to convert the operation event corresponding to the operation and interface element identifies the binding event in a script file, the script file for playback and then automatic generation of test reports test is performed, and the operation of the event record generated script file program is due, recorded in the script file is operating events binding relationship with the interface elements identified, therefore, when the script playback, you can interface element is identified as the basis for action replay, action replay interface and layout as well as the resolution does not matter, a good solution to the script between different models of universal problems and improve the reuse rate script file to reduce manual input, also improve the efficiency of the test.

附图说明 BRIEF DESCRIPTION

[0019] 图1为本发明的软件测试方法实施例的流程示意图; The software testing process embodiment [0019] Figure 1 is a schematic embodiment of the invention;

[0020] 图2为本发明的软件测试系统实施例的结构示意图。 Schematic structural diagram of the system software testing [0020] FIG. 2 embodiment of the present invention.

具体实施方式 Detailed ways

[0021] 下面结合实施例及附图对本发明作进一步阐述,但是本发明的实现方式不限于此。 [0021] The following embodiments and the accompanying drawings in conjunction with embodiments of the present invention will be further illustrated, but the implementation of the present invention is not limited thereto.

[0022] 参见图1所示,为本发明的软件测试方法实施例的流程示意图。 As shown in the flow diagram of an embodiment of the present invention, software testing method [0022] Referring to FIG. 如图1所示,本实施例中的软件测试方法实施例的流程示意图包括如下步骤: 1, the present embodiment is software flow test method in the embodiment comprises a schematic diagram of the steps of:

[0023] 步骤SlOl:在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置; [0023] Step SlOl: event during recording operation, a coordinate position detecting operation event corresponding to the operation of the operation;

[0024] 在本发明的实施例中,所述的操作事件是指通过对设备对象进行操作动作产生的事件,包括点击设备对象上的实体按键或者虚拟按键或者界面窗口、以及点击所述设备对象的遥控器上的实体按键或者虚拟按键或者界面窗口等,这里所述的设备对象是Android操作系统的设备即可,包括但不限于智能手机、平板电脑和智能电视等; [0024] In an embodiment of the present invention, the operation event refers to an event is generated by the operation of the operation target apparatus, comprising physical keys or virtual keys on the pointing device interface object or window, click on the device object, and virtual key or physical key or the like on the interface window of the remote control, the device described herein is subject to the Android operating system devices, including but not limited to smart phones, tablet PCs and smart television;

[0025] 在录制时,检测当前操作事件对应的操作的坐标位置,坐标位置由预先设定的坐标原点(该坐标原点可以任意设定,如取设备屏幕任意一点为坐标原点)以及该操作的位置到坐标原点的距离决定,另外,还与建立坐标系的方式有关系,在此不予赘述; [0025] When recording, the event detecting a coordinate position corresponding to the current operation of the operation, a coordinate position indicated by the preset coordinate origin (the origin of coordinates can be set arbitrarily as to take any device one o'clock screen coordinate origin) and the operation positional distance to the origin of coordinates determined, further, the way to establish a relationship with the coordinate system, are not repeated herein;

[0026] 步骤S102:进行界面元素识别获得界面元素标识与界面元素区域的对应关系; [0026] the step S102: the interface element for identifying a corresponding relationship with the interface element interface element is identified region;

[0027] 在本发明的实施例中,所述的界面元素可以设备上的实体按键或者虚拟按键或者界面窗口、以及所述设备的遥控器上的实体按键或者虚拟按键或者界面窗口等,界面元素识别可以采用现有任意可以实现的方式,在此不予赘述,界面元素标识与界面元素区域的对应关系是指每个界面元素所对应的界面元素区域,界面元素区域可以是基于确定步骤SlOl中的坐标位置的坐标系确定的,但也不限于这种方式; [0027] In an embodiment of the present invention, the interface elements can be physical keys or virtual keys on the device or interface window, and a physical key on the remote control of the device interface window or virtual key or the like, interface elements recognition may be employed any conventional manner can be achieved, not repeated herein, and the corresponding relationship between the identified interface element interface element interface region refers to the region of each element corresponding interface element, the interface element area may be determined based on the step SlOl coordinate system determined coordinate position, but is not limited to this embodiment;

[0028] 在本发明的实施例中,界面元素标识可以是界面元素的名称,也可以是界面元素的唯一标识符,或者其他可以区分界面元素的标识; [0028] In an embodiment of the present invention, the interface element may be a name identifying interface elements, it may be a unique identifier for the interface element, or other interface may be distinguishable identification elements;

[0029] 步骤S103:根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; [0029] Step S103: determining the operational interface element corresponding to the event identifier according to the coordinate position and the corresponding relation;

[0030] 即确定每一操作事件对应的界面元素,由于有界面元素标识作为依据,即使对不属于同一进程的被测程序,也能实现跨进程测试; [0030] That is to determine each operation corresponding to the event interface elements, due to the interface element is identified as the basis for the test program does not even belong to the same process, but also to achieve inter-process testing;

[0031] 步骤S104:将操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; [0031] Step S104: the operation of the converter and the post-event corresponding to the event interface element identifies the binding operation as the script stored in the script file;

[0032] 对操作事件进行录制可以是对多次操作事件进行录制,每次操作事件的录制过程一般包括如上的步骤SlOl〜步骤S104,录制过程开始、结束都可以通过相应的控制按钮触发,需要说明的是,上述步骤S10·2也可以是只在首次操作事件的录制过程中执行,以后只调用该过程中确定的对应关系即可; [0032] The recording operation event may be a multiple recording operation events, each event during recording operation as described above generally includes the step of SlOl~ step S104, recording begins and ends can be triggered by a corresponding control buttons, need Note that the above step S10 · 2 may be performed only during the recording operation of the first event, after only the corresponding relationship to the process of determining the call;

[0033] 步骤S105:将所述脚本文件进行回放,自动执行测试生成测试报告; [0033] Step S105: the script file for playback, a test is performed to automatically generate test reports;

[0034] 在本实施例中,在录制好脚本文件后,为了达到软件测试的目的,需要执行录制好 [0034] In this embodiment, after recording a good script file, in order to achieve the purpose of software testing needs to be performed to record good

的脚本文件,即回放所述脚本文件,在回放的过程中,对录制的操作事件--执行,在回放 The script file that playback of the script file, during playback, the operation of the event record - the execution, in playback

结束时,生成测试报告;该过程具体可以是:首先调用脚本解析器把脚本语句从脚本文件中解析出来,分析脚本语句中记录的界面元素标识、操作事件等相关信息;根据界面元素标识查找界面元素的接口,并根据操作事件对界面元素发出相应的操作信息,在回放结束时,判断测试用例是否通过,生成测试报告,其中,回放过程开始可以通过相应的控制按钮触发。 At the end, generate test reports; this process may specifically be: first call script parser to parse the script statement from the script file, the script interface element analysis of relevant information recorded in the statement of identity, operating events; Find interfaces based on interface element identification interface elements, and issue an operation event corresponding to the operation information interface elements, at the end of playback, by determining whether the test case, the test report generation, which may trigger the playback process is started by a respective control buttons.

[0035] 据此,依据本实施例中的方案,其是在在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置,进行界面元素识别获得界面元素标识与界面元素区域的对应关系,根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识,将操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中,再将该脚本文件进行回放,自动执行测试生成测试报告,而对操作事件进行录制生成脚本文件的方案是,由于,在脚本文件中记录的是操作事件与界面元素标识的绑定关系,因此,在脚本回放时,可以将界面元素标识作为回放动作的依据,回放的动作与界面的布局以及分辨率没有关系,很好的解决了不同机型间脚本通用性的问题,提高了脚本文件的复用率,减少人工投入,也提高了测试效率,并可以实现跨进程测 [0035] Accordingly, according to this embodiment of the program, which is in operation in the event recording process, the operation of the operation coordinate position detection operation corresponding to the event, for obtaining identification interface elements interface element identify the correspondence between the interface element area the said coordinate position and determining the corresponding relationship to the operation of interface elements corresponding to the event identifier, stores the script to convert the operation event corresponding to the operation and interface element identifies the binding event in a script file, then the script files for playback, automatic test execution generation of test reports, while operating events generated by recording the script file program is due, recorded in the script file is operating events binding relationship with the interface elements identified, therefore, in the script playback , the interface elements may be identified as the basis for action replay, action replay interface and layout as well as the resolution does not matter, a good solution to the problem of universal script among different models and improve the reuse rate script file, reduce manual input, but also improve the efficiency of the test and measurement process can be implemented across 试。 test. [0036] 另一方面,需要说的是,上述检测操作事件对应的操作动作的坐标位置步骤以及进行界面元素识别获得界面元素标识与界面元素区域的对应关系步骤可以不按照上述先后顺序,也可以同时进行。 [0036] On the other hand, we need to say that the coordinate position of the detecting operation of steps corresponding to the operation of the event recognition interface elements as well as to obtain the corresponding relationship between the identification element interface step interface element region may not follow the above sequence, can be at the same time.

[0037] 由于考虑到在执行脚本文件进行回放,由于一般会是多次操作事件的回放,这时,就需要考虑回放时隙问题,回放时隙设置的太小,可能导致当前操作事件的脚本并未执行完毕就开始了下一操作事件的脚本执行,造成不必要的比对错误,回放时隙设置的太大,又会增加回放时间,降低测试效率,因而,回放时隙的设置最优的方式是按照录制的实际效果设定,为此,在其中一个实施例中,还可以包括步骤:记录所述操作事件距离该操作事件对应的上次操作事件结束的时间间隔,该时间间隔用于在将所述脚本文件进行回放时,确定回放时隙,该步骤一般是针对非首次操作事件的,由于该回放时隙是按照录制的实际效果设定的,既能避免了当前操作事件的脚本并未执行完毕就开始了下一操作事件的脚本执行的问题,又不会降低测试效率。 [0037] In consideration of the execution of the script file playback, due to the general operation will be repeatedly playback event, then you need to consider the issue playback time slot, the slot is too small playback settings, which may cause the script to the current operation of the event has not finished the script started executing the next operation event unnecessarily than to error, too playback time slot set, will increase the playback time, lower test efficiency, thus setting the optimal playback time slot the actual effect of the recording mode is set, therefore, in one embodiment, may further comprise the step of: recording the operation event from the operation event corresponding to the event ending the last operation time interval, the time interval with when in the script file for playback, to determine the playback time slot, the first step is usually for non-operational events, since the playback time slot is the actual effect of setting the record, both to avoid the current operating events the script did not finished the script begins the next issue of the implementation of operational events, and will not reduce the efficiency of the test.

[0038] 另外,为了对被测软件进行更加详细、全面的测试,在其中一个实施例中,上述步骤S102具体过程可以是:将所述脚本文件进行回放,对预设的检查点进行分析,在脚本文件回放完毕后,获取所述检查点的检验结果和脚本文件回放的执行结果,根据所述检验结果和所述执行结果生成测试报告,其中,检验结果包括检查点验证成功或者检查点验证失败等等,执行结果包括测试用例通过或者测试用例不通过等等,根据实际需要,可以是在操作事件录制过程中设定检查点,也可以是在操作事件录制过程结束后再设定检查点,其中,检查点的个数和类型都可以根据实际情况而定,对于检查点的类型,可以是文本检查点,用于获取检查点从单行或者多行编辑框或者其他对象中捕获并比较字母、文字和数字的值,也可以是对象属性检查点,设定对象属性检查 [0038] Further, in order to test software, more detailed, comprehensive testing, in one embodiment, the step S102 may be a specific process: the script file for playback, to a predetermined check point analysis, after completion of playback of the script file, obtain test results and the results of the examination script file playback point, generating a test report based on the inspection result and the execution result, wherein the test results including the checkpoint or checkpoints successful authentication verification failure, etc., including the results of the test case or test case does not pass through and so on, according to actual needs, can be set at a checkpoint operation event recording, can also be set after the end of the checkpoint operation event recording wherein the number and types of checkpoints can be determined according to the actual situation, for the type of checkpoint, the checkpoint may be text, check points for acquiring captured from single-line or multi-line edit box or other object and compare the letters , alphanumeric value, may be a checkpoint object properties, object properties set inspection 后,将显示出被捕获的对象及其相应的属性的列表,然后从对象的列表中选择想要检查的属性,还可以是对象数据检查点、位图检查点、窗口存在检查点、音频检查点等等,在此不一一进行赘述。 After the list shows its corresponding attribute of the object is captured, and then select from the list to check the properties desired object, the object data may also checkpoint, the checkpoint presence bitmap checkpoint window, check the audio point, etc., and will not repeat them one by one.

[0039] 在此实施例中,测试报告的生成,不但基于脚本文件回放的执行结果,而且基于设定的检查点的检验结果,可以根据实际需要灵活设定不同类型不同个数的检查点,以对被测软件进行更加详细、全面、有针对性的测试。 [0039] Examples, test reports generated in this embodiment, not only the execution result based on a script file playback, but also on the test results set checkpoint, the checkpoint can flexibly set the number of different types according to actual needs, of the tested software to a more detailed, comprehensive, targeted testing.

[0040] 在其中一个实施例中,在上一个实施例的基础上,还包括步骤:实时抓取录制操作事件过程中软件运行的状态信息后进行存储,实时抓取回放脚本文件过程中软件运行的状态信息后进行存储; [0040] In one embodiment, a basic embodiment of the upper, further comprising the step of: recording the real-time status information fetch operation event during the software running after storage, real-time playback of the script file to fetch the software running process storing the state information;

[0041] 同时,在获取检查点的检验结果时,将验证失败的检查点对应的录制操作事件过程中软件运行的状态信息和回放脚本文件过程中软件运行的状态信息进行对比获得的对比结果记录到该检查点的检验结果中。 [0041] Meanwhile, on getting checkpoint test results will verify the checkpoint corresponding failed to record operational events during the state of the software running and playback of script files during the state of the software running information to compare the results of comparison obtained records to examine the results of the inspection point.

[0042] 根据本实施例中的方案,检验结果中包括验证失败的检查点对应的录制操作事件过程中软件运行的状态信息和回放脚本文件过程中软件运行的状态信息的对比结果,方便用户查找检查点验证失败的原因。 [0042] According to the present embodiment program, test result comprises verification comparison result of the check point corresponding to the failed recording operation event process state of the software running and playback of the script file state during software running information, user-friendly search checkpoint verify the cause of failure.

[0043] 此外,由于考虑到上述脚本文件,可能并不一定适用于每次的软件测试,因此,在其中一个实施例中,在上述步骤S105前还可以包括步骤:接收用于整理所述脚本文件的操作指令,根据该操作指令对所述脚本文件进行增加、删除、或者修改脚本语句的操作,以使根据操作指令整理过的脚本文件更加满足实际测试需求,此步骤为一个优选步骤,其中,操作指令的类型可以是增加指令、删除指令、修改指令。 [0043] Further, since the view of the above the script file, may not necessarily apply to each of the software testing, and therefore, in one embodiment, prior to the above step S105 may further comprise the step of: receiving the script used to organize a file operation command, according to the operation instruction of the script file to add, delete, or modify the operation of script statements, so that finishing off according to the operation command script file is more practical to meet the test requirements, this step is preferably a step in which the type of operational instructions may increase command, delete command, modify instruction.

[0044] 在其中一个实施例中,在对操作事件进行录制之前还包括步骤:确认是否获取到设备对象,若是,则同步所述设备对象的画面,并确认是否同步成功,本步骤是进行操作事件录制前的一个优选步骤,可以确认是否获取到了设备对象,若未获取到设备对象可以给出“未获取到设备”的提示,这样可以防止在没有获得设备对象时进行错误录制,若获取到设备对象,同步所述设备对象的画面,并确认是否同步成功,若不能同步所述设备对象的画面,则可以给出“不能同步画面”的提示,这样可以进一步防止在没有同步所述设备对象的画面时进行错误录制,若已同步了设备对象的画面,则可以进行对操作事件进行录制生成脚本文件。 [0044] In one embodiment, prior to an operation event record further comprising the step of: confirms whether the acquired device object, and if yes, the picture synchronizing the device object, and confirm whether the synchronization is successful, the operation of this step is a preferred step prior to the event recording, you can get to confirm whether the device object, if not get to the device object can be given "not to get the device" prompt, which prevents error in the recording equipment did not get the object acquires a device object, the device object picture synchronization, and confirm whether the synchronization is successful, if the device can not be synchronized target picture, may prompt "can not synchronize the picture", which can be further prevented without synchronizing the device object error when recording the screen, Ruoyi sync the device object of the picture, you can make the operation of the event record generated script file. 另一方面,确认是否获取到设备对象,若是,则同步所述设备对象的画面,并确认是否同步成功步骤也可以是进行脚本文件回放前的一个优选步骤,在此不予赘述。 On the other hand, it was confirmed whether the acquired device object, and if yes, the picture synchronizing device object, and confirm successful synchronization step may be performed prior to the step of a preferred script file playback, not described herein.

[0045] 根据上述本发明的软件测试方法,本发明还提供一种软件测试系统,以下就本发明的软件测试系统的实施例进行详细说明。 [0045] The software testing method of the present invention, the present invention further provides a test system software, described in detail below on embodiments of the test system software of the present invention. 图2中示出了本发明的软件测试系统的一个较佳实施例的结构示意图。 FIG 2 illustrates a software testing system of the present invention is a structural schematic view of the preferred embodiment. 为了便于说明,在图2中只示出了与本发明相关的部分。 For convenience of explanation, in FIG. 2 shows only parts related to the present invention. 依据不同的考虑因素,在具体实现本发明的软件测试系统时,可以包含图2中所示的全部,也可以只包含图2中所示的其中一部分,以下就针对其中的几个软件测试系统的具体实施例进行详细说明。 Based on different considerations, when embodied in software testing system of the present invention, may comprise all shown in FIG. 2, may be included only in the part shown in FIG. 2, on the software for the test system in which several the embodiments described in detail.

[0046] 一种软件测试系统,包括录制模块201和回放模块203,所述录制模块包括检测单元2011、识别单元2012、确定单元2013、转换单元2014,回放模块203包括测试单元2031,其中: [0046] A software testing system 201 includes a recording module and playback module 203, the recording module includes a detecting unit 2011, the recognition unit 2012, a determining unit 2013, the conversion unit 2014, a playback unit 2031 includes a test module 203, wherein:

[0047] 检测单元2011用于在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置; [0047] means 2011 for detecting a coordinate position in a recording operation of the event, the event detecting operation of the operation corresponding to the operation;

[0048] 识别单元2012用于进行界面元素识别获得界面元素标识与界面元素区域的对应关系; [0048] The identification unit 2012 for identifying a corresponding relationship interface element interface element identifier and interface element region;

[0049] 确定单元2013用于根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; [0049] The determination unit 2013 for the operation of the interface element corresponding to the event identifier and said coordinate position is determined according to the correspondence;

[0050] 转换单元2014用于将所述操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; [0050] conversion unit 2014 for converting the operation of the event and the event corresponding to the operation interface element identifies the binding as the script stored in the script file;

[0051] 测试单元2031用于将所述脚本文件进行回放,生成测试报告。 [0051] The test unit 2031 for the script file for playback, generate test reports.

[0052] 在其中一个实施例中,录制模块201还可以包括: [0052] In one embodiment, the recording module 201 may further comprise:

[0053] 时间记录单元2015,用于记录所述操作事件距离该操作事件对应的上次操作事件结束的时间间隔,该时间间隔用于在将所述脚本文件进行回放时,确定回放时隙。 [0053] time recording unit 2015 for recording the operation event from the operation event corresponding to the event ending the last operation time interval, the time interval for when the script file for playback, a playback time slot is determined.

[0054] 在其中一个实施例中,录制模块201还可以包括第一抓取单元2016和第一存储单元2017,第一抓取单元2016用于实时抓取录制操作事件过程中软件运行的状态信息后存储在第一存储单元2017 ; [0054] In one embodiment, the recording module 201 may further include a first gripping unit 2016 and a first storage unit 2017, a first gripping means 2016 for gripping the recording operation in real time during the event the state information of the software running after stored in the first storage unit 2017;

[0055] 回放模块203还可以包括第二抓取单元2032和第二存储单元2033,第二抓取单元2032用于实时抓取回放脚本文件过程中软件运行的状态信息后存储在第二存储单元2033 ; [0055] The playback module 203 may further comprise a second gripping unit 2032 and a second storage unit 2033, the second catcher unit 2032 for gripping status in real time during playback of the script file in the information storing software running in the second storage unit 2033;

[0056] 测试单元2031在回放所述脚本文件时,对预设的检查点进行分析,将验证失败的检查点对应的录制操作事件过程中软件运行的状态信息和回放脚本文件过程中软件运行的状态信息进行对比获得的对比结果记录到该检查点的检验结果中,在脚本文件回放完毕后,获取预设的检查点的检验结果和脚本文件回放的执行结果,根据所述检验结果和所述执行结果生成测试报告。 [0056] The test unit 2031 in the playback of the script file, for a preset inspection point analysis, the verification fails checkpoint recording operation corresponding to the event during the software running state information and the script file during playback software running comparing the results obtained comparing the status information is recorded in the inspection result of the inspection point, after the script file playback is completed, the execution result acquired checkpoint preset test results and the script file playback, based on the test results and the the results generate test reports.

[0057] 在其中一个实施例中,本发明的软件测试系统,还可以包括整理模块202,该整理模块202用于接收用于整理所述脚本文件的操作指令,根据该操作指令对所述脚本文件进行增加、删除、或者修改脚本语句的操作。 [0057] In one embodiment, the test system software of the present invention, may further include a sorting module 202, module 202 for receiving the finish for finishing the script file operation instruction, the operation instruction in accordance with the script files add, delete, or modify the action script statement.

[0058] 在其中一个实施例中,本发明的软件测试系统,还可以包括初始化模块204,该初始化模块204用于确认是否获取到设备对象,若是,则同步所述设备对象的画面,并确认是否同步成功,该初始化模块204可以分别和录制模块201和回放模块203连接。 [0058] In one embodiment, the test system software of the present invention may further include an initialization module 204, the initialization module 204 for confirming whether the obtained device object, and if yes, the picture synchronizing the device object, and confirm if the synchronization is successful, the initialization module 204 may each recording module and playback module 201 and 203 are connected.

[0059] 本发明系统中的各模块、各单元等的具体实现方式,可以与上述本发明方法中的相同,在此不予详加赘述。 [0059] The system of the present invention, each module, each unit such as the specific implementation, the above-described method of the present invention may be the same, this will not be repeated in detail.

[0060] 以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。 [0060] Expression of the above-described embodiments are only several embodiments of the present invention, and detailed description thereof is more specific, but can not therefore be understood as limiting the scope of the present invention. 应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。 It should be noted that those of ordinary skill in the art, without departing from the spirit of the present invention, can make various changes and modifications, which fall within the protection scope of the present invention. 因此,本发明专利的保护范围应以所附权利要求为准。 Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (10)

1.一种软件测试方法,其特征在于,包括如下步骤: 在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置; 进行界面元素识别获得界面元素标识与界面元素区域的对应关系; 根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; 将所述操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; 将所述脚本文件进行回放,生成测试报告。 A software testing method, characterized by comprising the steps of: in the event the operation during recording, a coordinate position detecting operation corresponding to an operation event actions; interfacial element identifier identifying a corresponding relationship with the interface element interface element region; said coordinate position and determining the corresponding relationship of the operation corresponding to the event identifier according to the interface element; script stores will be converted to the event and the operation corresponding to the operation interface element identifies the binding event in a script file; the said script files for playback, generate test reports.
2.根据权利要求1所述的软件测试方法,其特征在于,还包括步骤:记录所述操作事件距离该操作事件对应的上次操作事件结束的时间间隔,该时间间隔用于在将所述脚本文件进行回放时,确定回放时隙。 The software testing method according to claim 1, characterized in that, further comprising the step of: recording the operation event corresponding to the event from the event end of the last operation of said operation time interval, the time interval for the when the script file playback, playback is determined slot.
3.根据权利要求1或2所述的软件测试方法,其特征在于: 所述将所述脚本文件进行回放,自动执行测试生成测试报告包括步骤:在回放所述脚本文件时,对预设的检查点进行分析,在脚本文件回放完毕后,获取所述检查点的检验结果和脚本文件回放的执行结果,根据所述检验结果和所述执行结果生成测试报告。 The software testing method of claim 1 or claim 2, wherein: said the script file for playback, a test is performed to automatically generate a test report comprising the step of: when the playback of the script file, for a preset checkpoints were analyzed after the script file playback is completed, access to test results and the results of the script file playback checkpoint, test report is generated based on the test results and the results of the implementation.
4.根据权利要求3所述的软件测试方法,其特征在于,还包括步骤: 实时抓取录制操作事件过程中软件运行的状态信息后进行存储。 4. The software testing method of claim 3, wherein further comprising the step of: recording the real-time status information fetch operation event during the software running after storage. 实时抓取回放脚本文件过程中软件运行的状态信息后进行存储; 在获取检查点的检验结果时,将验证失败的检查点对应的录制操作事件过程中软件运行的状态信息和回放脚本文件过程中软件运行的状态信息进行对比获得的对比结果记录到该检查点的检验结果中。 Real-time playback crawl script file during the state of running software that stores information; in obtaining test results checkpoint, the checkpoint will verify the corresponding failure of the state during the recording operation event information and playback software running the script file process software running state information comparison results obtained were compared to the test results recorded in the checkpoint.
5.根据权利要求1或2所述的软件测试方法,其特征在于,还包括步骤:接收用于整理所述脚本文件的操作指令,根据该操作指令对所述脚本文件进行增加、删除、或者修改脚本语句的操作。 The software testing method of claim 1 or claim 2, characterized in that, further comprising the step of: receiving an operation command for finishing the script file, the script file to be increased according to the operation instruction, deleted, or modify the action script statement.
6.根据权利要求1或2所述的软件测试方法,其特征在于,还包括步骤:确认是否获取到设备对象,若是,则同步所述设备对象的画面,并确认是否同步成功。 The software testing method of claim 1 or claim 2, characterized in that, further comprising the step of: confirms whether the acquired device object, and if yes, the picture synchronizing device object, and confirm successful synchronization.
7.一种软件测试系统,其特征在于,包括录制模块和回放模块,所述录制模块包括检测单元、识别单元、确定单元、转换单元,所述回放模块包括测试单元,其中: 所述检测单元用于在操作事件录制过程中,检测操作事件对应的操作动作的坐标位置; 所述识别单元用于进行界面元素识别获得界面元素标识与界面元素区域的对应关系; 所述确定单元用于根据所述坐标位置以及所述对应关系确定所述操作事件对应的界面元素标识; 所述转换单元用于将所述操作事件和与该操作事件对应的界面元素标识绑定后转换为脚本存储在脚本文件中; 所述测试单元用于将所述脚本文件进行回放,生成测试报告。 A software testing system, characterized in that the recording module and the playback module comprising a recording module comprising a detection unit, a recognition unit, a determination unit, a conversion unit, the playback module includes a test unit, wherein: said detecting means recording operation for the event, the event corresponding to the operation of the operation coordinate position detection operation; means for identifying the interface element interface element identify a corresponding relationship with the identifier of the interface element region; a means for determining in accordance with the said coordinate position and determining the corresponding relationship to the operation of the interface element corresponding to the event identifier; converting unit for converting the script stores the event and the operation corresponding to the operation interface element identifies the binding event in a script file ; said test unit for the script file for playback, generate test reports.
8.根据权利要求7所述的软件测试系统,其特征在于,所述录制模块还包括: 时间记录单元,用于记录所述操作事件距离该操作事件对应的上次操作事件结束的时间间隔,该时间间隔用于在所述测试单元将所述脚本文件进行回放时,确定回放时隙。 8. The test system software according to claim 7, wherein said recording module further comprises: time recording unit for recording the operation from the operation event corresponding to the event last operation event end time interval, the time interval for the test unit when the script file for playback, a playback time slot is determined.
9.根据权利要求7或8所述的软件测试系统,其特征在于: 所述录制模块还包括第一抓取单元和第一存储单元,所述第一抓取单元用于实时抓取录制操作事件过程中软件运行的状态信息后存储在所述第一存储单元; 所述回放模块还包括第二抓取单元和第二存储单元,所述第二抓取单元用于实时抓取回放脚本文件过程中软件运行的状态信息后存储在所述第二存储单元; 所述测试单元在回放所述脚本文件时,对预设的检查点进行分析,将验证失败的检查点对应的录制操作事件过程中软件运行的状态信息和回放脚本文件过程中软件运行的状态信息进行对比获得的对比结果记录到该检查点的检验结果中,在脚本文件回放完毕后,获取预设的检查点的检验结果和脚本文件回放的执行结果,根据所述检验结果和所述执行结果生成测试报告。 Software testing system according to claim 7 or claim 8, wherein: said recording module further comprises a first gripping element and the first storage unit, the first gripping means for gripping a recording operation in real time status event during the software running the information stored in the first storage unit; the playback module further comprises a second gripping unit and a second storage unit, the second gripping means for gripping real-time playback of the script file software running state during the information stored in the second storage unit; the test unit during playback of the script file, for a preset inspection point analysis, the verification fails checkpoint event process corresponding to the recording operation comparison of the results of state information and playback software running the script file during the software running state information obtained by comparing the test results recorded in the checkpoint, after the script file playback is completed, access to test results and pre-checkpoint the results of the script file playback, test report is generated based on the test results and the results of the implementation.
10.根据权利要求7或8所述的软件测试系统,其特征在于,还包括: 整理模块,用于接收用于整理所述脚本文件的操作指令,根据该操作指令对所述脚本文件进行增加、删除、或者修改脚本语句的操作; 和/或者初始化模块,用于确认是否获取到设备对象,若是,则同步所述设备对象的画面,并确认是否同步成功。 10. The software testing system of claim 7 or claim 8, characterized in that, further comprising: a sorting module configured to receive an operation instruction for finishing the script file, the script file to be increased according to the operation instruction , delete, or modify the operation of the script statements; and / or initialization module, for confirming whether the obtained device object, and if yes, the picture synchronizing the device object, and confirm successful synchronization. ` `
CN201310287772.3A 2013-07-09 2013-07-09 Method for testing software and system CN103365779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310287772.3A CN103365779B (en) 2013-07-09 2013-07-09 Method for testing software and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310287772.3A CN103365779B (en) 2013-07-09 2013-07-09 Method for testing software and system

Publications (2)

Publication Number Publication Date
CN103365779A true CN103365779A (en) 2013-10-23
CN103365779B CN103365779B (en) 2016-11-09

Family

ID=49367184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310287772.3A CN103365779B (en) 2013-07-09 2013-07-09 Method for testing software and system

Country Status (1)

Country Link
CN (1) CN103365779B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995778A (en) * 2014-05-29 2014-08-20 上海科梁信息工程有限公司 Script file generation method and device based on event and action
CN104572123A (en) * 2015-01-27 2015-04-29 广东欧珀移动通信有限公司 Script generation method and device
CN104636247A (en) * 2013-11-12 2015-05-20 财团法人资讯工业策进会 Testing apparatus and testing method
CN104679627A (en) * 2013-12-02 2015-06-03 腾讯科技(深圳)有限公司 Testing method and device
CN104699610A (en) * 2015-03-12 2015-06-10 安一恒通(北京)科技有限公司 Test method and device
CN104778121A (en) * 2015-03-25 2015-07-15 网易(杭州)网络有限公司 Game program test method, device and system
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method And System For Quick Testing And Detecting Mobile Devices
CN104866414A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Method, device and system for testing application program
CN104899132A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Application software test method, apparatus and system
CN104951393A (en) * 2014-03-25 2015-09-30 中国电信股份有限公司 Testing method and device
CN105095093A (en) * 2015-09-30 2015-11-25 上海斐讯数据通信技术有限公司 Intelligent terminal performance test method and system
CN105138463A (en) * 2015-09-25 2015-12-09 成都中科创达软件有限公司 Testing method and system for mobile terminal software
CN105224456A (en) * 2015-09-29 2016-01-06 北京奇虎科技有限公司 Method, device, and system for generating testing script
CN105302700A (en) * 2014-06-13 2016-02-03 阿里巴巴集团控股有限公司 Method and equipment for recording user operation on touch terminal
CN105635758A (en) * 2015-12-30 2016-06-01 深圳创维数字技术有限公司 Background management method for smart television desktop and server
CN105786709A (en) * 2016-03-22 2016-07-20 东软集团股份有限公司 Test problem submitting method and system
CN105808416A (en) * 2014-12-27 2016-07-27 南车株洲电力机车研究所有限公司 An automatic test method and system for man-machine graphic interaction interfaces
CN105871660A (en) * 2016-06-06 2016-08-17 北京京东尚科信息技术有限公司 Quality detection method and equipment
CN105955881A (en) * 2016-04-22 2016-09-21 百度在线网络技术(北京)有限公司 Automated test step recording and playback method and apparatus
CN106021099A (en) * 2016-05-12 2016-10-12 上海联彤网络通讯技术有限公司 System and method for achieving UI automatic test of intelligent terminal
CN106020994A (en) * 2016-05-06 2016-10-12 福建创意嘉和软件有限公司 A script and interface interworking method and device
CN106326101A (en) * 2015-07-06 2017-01-11 北京华大九天软件有限公司 Automatic testing method of QT-based application program
CN106502893A (en) * 2016-10-20 2017-03-15 郑州云海信息技术有限公司 A kind of method and device tested by software function
CN106547676A (en) * 2016-10-08 2017-03-29 深圳市金立通信设备有限公司 A kind of user operation method for recording and terminal
CN106681899A (en) * 2015-11-06 2017-05-17 北京京东尚科信息技术有限公司 Android-UI automatic testing method and system based on Jmeter
WO2019056333A1 (en) * 2017-09-25 2019-03-28 深圳传音制造有限公司 Screen recording method for mobile terminal testing and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030548A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Method for displaying software applications in a secondary language while interacting and viewing the default language version
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030548A1 (en) * 2008-07-31 2010-02-04 International Business Machines Corporation Method for displaying software applications in a secondary language while interacting and viewing the default language version
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
米卡赤子: "智能手机自动化测试方案", 《HTTP://WWW.360DOC.CN/ARTICLE/2776353_234234739.HTML》 *

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636247A (en) * 2013-11-12 2015-05-20 财团法人资讯工业策进会 Testing apparatus and testing method
CN104679627A (en) * 2013-12-02 2015-06-03 腾讯科技(深圳)有限公司 Testing method and device
CN104679627B (en) * 2013-12-02 2019-02-12 腾讯科技(深圳)有限公司 Test method and device
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method And System For Quick Testing And Detecting Mobile Devices
CN104866414B (en) * 2014-02-24 2018-07-06 腾讯科技(深圳)有限公司 The test method of application program, apparatus and system
CN104866414A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Method, device and system for testing application program
CN104899132B (en) * 2014-03-05 2018-09-25 腾讯科技(深圳)有限公司 Application software testing method, apparatus and system
CN104899132A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Application software test method, apparatus and system
CN104951393B (en) * 2014-03-25 2018-03-30 中国电信股份有限公司 Method of testing and test device
CN104951393A (en) * 2014-03-25 2015-09-30 中国电信股份有限公司 Testing method and device
CN103995778B (en) * 2014-05-29 2018-02-09 上海科梁信息工程股份有限公司 A kind of script file generation method and its device based on event and action
CN103995778A (en) * 2014-05-29 2014-08-20 上海科梁信息工程有限公司 Script file generation method and device based on event and action
CN105302700A (en) * 2014-06-13 2016-02-03 阿里巴巴集团控股有限公司 Method and equipment for recording user operation on touch terminal
CN105302700B (en) * 2014-06-13 2018-11-13 阿里巴巴集团控股有限公司 A kind of method and apparatus for the user's operation being recorded on touch terminal
CN105808416B (en) * 2014-12-27 2018-04-13 南车株洲电力机车研究所有限公司 A kind of automated testing method and system of man-machine figure interactive interface
CN105808416A (en) * 2014-12-27 2016-07-27 南车株洲电力机车研究所有限公司 An automatic test method and system for man-machine graphic interaction interfaces
CN104572123A (en) * 2015-01-27 2015-04-29 广东欧珀移动通信有限公司 Script generation method and device
CN104572123B (en) * 2015-01-27 2019-05-14 Oppo广东移动通信有限公司 A kind of scenario generation method and device
CN104699610A (en) * 2015-03-12 2015-06-10 安一恒通(北京)科技有限公司 Test method and device
CN104778121B (en) * 2015-03-25 2018-09-18 网易(杭州)网络有限公司 The test method of games, apparatus and system
CN104778121A (en) * 2015-03-25 2015-07-15 网易(杭州)网络有限公司 Game program test method, device and system
CN106326101A (en) * 2015-07-06 2017-01-11 北京华大九天软件有限公司 Automatic testing method of QT-based application program
CN105138463A (en) * 2015-09-25 2015-12-09 成都中科创达软件有限公司 Testing method and system for mobile terminal software
CN105224456B (en) * 2015-09-29 2019-05-31 北京奇虎科技有限公司 A kind of test script generation method, device and system
CN105224456A (en) * 2015-09-29 2016-01-06 北京奇虎科技有限公司 Method, device, and system for generating testing script
CN105095093A (en) * 2015-09-30 2015-11-25 上海斐讯数据通信技术有限公司 Intelligent terminal performance test method and system
CN106681899A (en) * 2015-11-06 2017-05-17 北京京东尚科信息技术有限公司 Android-UI automatic testing method and system based on Jmeter
CN105635758A (en) * 2015-12-30 2016-06-01 深圳创维数字技术有限公司 Background management method for smart television desktop and server
CN105635758B (en) * 2015-12-30 2019-02-12 深圳创维数字技术有限公司 A kind of smart television desktop back-stage management method and server
CN105786709A (en) * 2016-03-22 2016-07-20 东软集团股份有限公司 Test problem submitting method and system
CN105955881A (en) * 2016-04-22 2016-09-21 百度在线网络技术(北京)有限公司 Automated test step recording and playback method and apparatus
CN105955881B (en) * 2016-04-22 2019-02-12 百度在线网络技术(北京)有限公司 A kind of automatic test step is recorded and back method and device
CN106020994A (en) * 2016-05-06 2016-10-12 福建创意嘉和软件有限公司 A script and interface interworking method and device
CN106021099A (en) * 2016-05-12 2016-10-12 上海联彤网络通讯技术有限公司 System and method for achieving UI automatic test of intelligent terminal
CN105871660B (en) * 2016-06-06 2019-07-30 北京京东尚科信息技术有限公司 A kind of quality determining method and equipment
CN105871660A (en) * 2016-06-06 2016-08-17 北京京东尚科信息技术有限公司 Quality detection method and equipment
CN106547676A (en) * 2016-10-08 2017-03-29 深圳市金立通信设备有限公司 A kind of user operation method for recording and terminal
CN106502893A (en) * 2016-10-20 2017-03-15 郑州云海信息技术有限公司 A kind of method and device tested by software function
CN106502893B (en) * 2016-10-20 2019-06-04 郑州云海信息技术有限公司 The method and device that a kind of pair of software function is tested
WO2019056333A1 (en) * 2017-09-25 2019-03-28 深圳传音制造有限公司 Screen recording method for mobile terminal testing and mobile terminal

Also Published As

Publication number Publication date
CN103365779B (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN103186740B (en) Automated detection method Android malware
US20130019170A1 (en) Automating execution of arbitrary graphical interface applications
US8819642B2 (en) Method and system for generating and processing black box test cases
US9846638B2 (en) Exposing method related data calls during testing in an event driven, multichannel architecture
US20080141221A1 (en) Using recorder technology to find defects in software applications
CN102053906A (en) System and method for collecting program runtime information
US20140181793A1 (en) Method of automatically testing different software applications for defects
KR20160044484A (en) Cloud deployment infrastructure validation engine
CN102736978B (en) Method and apparatus for detecting a mounted state of the application
US8694967B2 (en) User interface inventory
JP5295269B2 (en) Method for generating component model-based virtual software platform, method for verifying software platform architecture using the same, and apparatus therefor
CN101377759B (en) Automatic interface test system
CN101175285A (en) Automatic testing method and system for mobile phone software
US8839201B2 (en) Capturing test data associated with error conditions in software item testing
CN101060372A (en) A method and system for rapid creating the automation test script
CN102419732B (en) Android-platform-based automated testing method and testing tool
CN103365770A (en) Mobile terminal software testing system and software testing method
CN102323499A (en) Method for automatically testing relay protection equipment
CN101916225B (en) Graphical user interface software function coverage testing method
CN101882107A (en) Method and device for automatically testing WEB (World Wide Web) application
US20140075371A1 (en) System and method for model based session management
CN103365779B (en) Method for testing software and system
CN102841845B (en) Automatic testing method of Android device software
US9229738B2 (en) Software development tool for providing user context information to improve message quality at development time
CN102479084A (en) Method and device for acquiring log by Android terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model