CN105204991A - Internet of things test method and device - Google Patents
Internet of things test method and device Download PDFInfo
- Publication number
- CN105204991A CN105204991A CN201510542041.8A CN201510542041A CN105204991A CN 105204991 A CN105204991 A CN 105204991A CN 201510542041 A CN201510542041 A CN 201510542041A CN 105204991 A CN105204991 A CN 105204991A
- Authority
- CN
- China
- Prior art keywords
- test
- key word
- connection equipment
- thing connection
- script
- 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.)
- Pending
Links
Landscapes
- Storage Device Security (AREA)
Abstract
本发明公开一种物联设备测试方法及装置,涉及智能家电技术领域,用以解决现有技术中物联设备测试效率低的问题。所述方法包括:获取测试关键字,所述测试关键字与设备操作命令一一对应;根据用户的指令将所述测试关键字封装成测试用例;其中,每个所述测试用例包括至少一个所述测试关键字;根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备。
The invention discloses a method and device for testing IoT equipment, relates to the technical field of smart home appliances, and is used to solve the problem of low testing efficiency of IoT equipment in the prior art. The method includes: obtaining test keywords, the test keywords are in one-to-one correspondence with equipment operation commands; packaging the test keywords into test cases according to user instructions; wherein, each test case includes at least one of the the test keyword; generate a test script according to the test case, and use the test script to test the IoT device.
Description
技术领域technical field
本发明涉及智能家电技术领域,特别是涉及一种物联设备测试方法及装置。The invention relates to the technical field of smart home appliances, in particular to a testing method and device for IoT equipment.
背景技术Background technique
随着物联网技术迅猛发展,大量智能家电设备不断涌现,产品软硬件的开发周期不断缩短,但功能却越来越复杂,因此设备的测试就尤为重要。传统的测试是以手工测试为主,但是随着软件开发周期的日益缩短以及软硬件系统的日趋复杂,手工测试很难在规定的期限内完成测试任务及保障测试质量,并且会耗费大量的人力及物力。With the rapid development of the Internet of Things technology, a large number of smart home appliances continue to emerge, and the development cycle of product software and hardware continues to shorten, but the functions are becoming more and more complex, so the testing of equipment is particularly important. Traditional testing is mainly manual testing, but with the shortening of the software development cycle and the increasing complexity of hardware and software systems, manual testing is difficult to complete the testing tasks and ensure the quality of testing within the specified time limit, and will consume a lot of manpower transitivity.
发明内容Contents of the invention
本发明要解决的技术问题是提供一种物联设备测试方法及装置,用以解决现有技术中物联设备测试效率低的问题。The technical problem to be solved by the present invention is to provide a method and device for testing IoT equipment to solve the problem of low testing efficiency of IoT equipment in the prior art.
一方面,本发明提供一种物联设备测试方法,包括:获取测试关键字,所述测试关键字与设备操作命令一一对应;根据用户的指令将所述测试关键字封装成测试用例;其中,每个所述测试用例包括至少一个所述测试关键字;根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备。On the one hand, the present invention provides a method for testing IoT devices, including: obtaining test keywords, which are in one-to-one correspondence with device operation commands; packaging the test keywords into test cases according to user instructions; wherein , each of the test cases includes at least one test keyword; generating a test script according to the test case, and using the test script to test the IoT device.
可选的,所述获取测试关键字包括根据物联设备的配置文件获取测试关键字,或者获取预先存储的测试关键字。Optionally, the obtaining the test keyword includes obtaining the test keyword according to the configuration file of the IoT device, or obtaining a pre-stored test keyword.
可选的,所述根据物联设备的配置文件获取测试关键字包括:根据所述物联设备的设备类型获取所述物联设备的配置文件;解析所述配置文件以获取所述测试关键字。Optionally, the obtaining the test keyword according to the configuration file of the IoT device includes: obtaining the configuration file of the IoT device according to the device type of the IoT device; parsing the configuration file to obtain the test keyword .
可选的,所述根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备包括:根据所述物联设备的配置文件,解析所述测试用例;根据解析后的所述测试用例生成测试脚本;将所述测试脚本向所述物联设备发送,以对所述物联设备进行测试。Optionally, generating a test script according to the test case, and using the test script to test the IoT device includes: parsing the test case according to the configuration file of the IoT device; The test case generates a test script; and sends the test script to the IoT device to test the IoT device.
进一步的,所述根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备之后,所述方法还包括:接收并保存所述物联设备的测试结果。Further, after generating a test script according to the test case and using the test script to test the IoT device, the method further includes: receiving and saving the test result of the IoT device.
进一步的,在获取测试关键字之前,所述方法还包括:检测用户身份,所述用户身份包括管理员用户和普通用户,所述管理员用户与所述普通用户具有不同的操作权限。Further, before obtaining the test keyword, the method further includes: detecting user identities, the user identities include administrator users and ordinary users, and the administrator users have different operation rights from the ordinary users.
另一方面,本发明提供一种物联设备测试装置,包括:获取单元,用于获取测试关键字,所述测试关键字与设备操作命令一一对应;封装单元,用于根据用户的指令将所述测试关键字封装成测试用例;其中,每个所述测试用例包括至少一个所述测试关键字;测试单元,用于根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备。On the other hand, the present invention provides a device for testing IoT devices, including: an acquisition unit, configured to acquire test keywords that correspond to device operation commands one-to-one; an encapsulation unit, configured to The test keyword is packaged into a test case; wherein, each of the test cases includes at least one test keyword; a test unit is configured to generate a test script according to the test case, and use the test script to test the IoT devices.
可选的,所述获取单元包括:第一获取模块,用于根据物联设备的配置文件获取测试关键字;或者第二获取模块,用于获取预先存储的测试关键字。Optionally, the acquiring unit includes: a first acquiring module, configured to acquire the test keyword according to a configuration file of the IoT device; or a second acquiring module, configured to acquire a pre-stored test keyword.
可选的,所述第一获取模块,具体用于:根据所述物联设备的设备类型获取所述物联设备的配置文件;解析所述配置文件以获取所述测试关键字。Optionally, the first obtaining module is specifically configured to: obtain the configuration file of the IoT device according to the device type of the IoT device; parse the configuration file to obtain the test keyword.
可选的,所述测试单元包括:解析模块,用于根据所述物联设备的配置文件,解析所述测试用例;生成模块,用于根据所述解析模块解析后的测试用例生成测试脚本;发送模块,用于将所述生成模块生成的测试脚本向所述物联设备发送,以对所述物联设备进行测试。Optionally, the test unit includes: a parsing module for parsing the test case according to the configuration file of the IoT device; a generating module for generating a test script according to the test case parsed by the parsing module; A sending module, configured to send the test script generated by the generating module to the IoT device, so as to test the IoT device.
进一步的,所述装置还包括接收保存单元,用于在所述根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备之后,接收并保存所述物联设备的测试结果。Further, the device further includes a receiving and saving unit, configured to receive and save the test script of the IoT device after generating the test script according to the test case and using the test script to test the IoT device. result.
进一步的,所述装置还包括用户检测模块,用于检测用户身份,所述用户身份包括管理员用户和普通用户,所述管理员用户与所述普通用户具有不同的操作权限。Further, the device further includes a user detection module, configured to detect user identities, the user identities include administrator users and ordinary users, and the administrator users and the ordinary users have different operation rights.
本发明实施例提供的物联设备测试方法及装置,能够获取与设备操作命令一一对应的测试关键字,并根据用户的指令将所述测试关键字封装成测试用例,然后根据所述测试用例生成测试脚本,并使用该测试脚本测试所述物联设备。这样,就能够实现对各种物联设备的各项功能的自动化测试,大大提高了测试效率。The IoT device testing method and device provided by the embodiments of the present invention can obtain test keywords corresponding to device operation commands one-to-one, and package the test keywords into test cases according to user instructions, and then according to the test cases A test script is generated, and the test script is used to test the IoT device. In this way, automated testing of various functions of various IoT devices can be realized, greatly improving testing efficiency.
附图说明Description of drawings
图1是本发明实施例提供的物联设备测试方法的流程图;Fig. 1 is a flowchart of a testing method for an IoT device provided by an embodiment of the present invention;
图2是本发明实施例编写测试用例的界面示意图;Fig. 2 is a schematic interface diagram of writing a test case in an embodiment of the present invention;
图3是本发明实施例中测试管理员对测试文件的编写和测试过程的流程图;Fig. 3 is the flow chart of test administrator's writing and testing process to test file in the embodiment of the present invention;
图4是本发明实施例中测试用例的数据共享过程的流程图;Fig. 4 is the flowchart of the data sharing process of test case in the embodiment of the present invention;
图5是本发明实施例中测试用例的测试报告共享过程的流程图;Fig. 5 is the flowchart of the test report sharing process of test case in the embodiment of the present invention;
图6是本发明实施例中测试报告的示意图;Fig. 6 is the schematic diagram of test report in the embodiment of the present invention;
图7是本发明实施例中用户操作日志的示意图;Fig. 7 is a schematic diagram of a user operation log in an embodiment of the present invention;
图8是本发明实施例提供的物联设备测试装置的结构示意图。Fig. 8 is a schematic structural diagram of an IoT device testing device provided by an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1所示,本发明的实施例提供一种物联设备测试方法,包括:As shown in Figure 1, an embodiment of the present invention provides a method for testing an IoT device, including:
S11,获取测试关键字,所述测试关键字与设备操作命令一一对应;S11. Obtain a test keyword, and the test keyword is in one-to-one correspondence with the device operation command;
S12,根据用户的指令将所述测试关键字封装成测试用例;其中,每个所述测试用例包括至少一个所述测试关键字;S12, packaging the test keyword into a test case according to the user's instruction; wherein, each of the test cases includes at least one test keyword;
S13,根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备。S13. Generate a test script according to the test case, and use the test script to test the IoT device.
本发明实施例提供的物联设备测试方法,能够获取与设备操作命令一一对应的测试关键字,并根据用户的指令将所述测试关键字封装成测试用例,然后根据所述测试用例生成测试脚本,并使用该测试脚本测试所述物联设备。这样,就能够实现对各种物联设备的各项功能的自动化测试,大大提高了测试效率。The IoT device testing method provided by the embodiment of the present invention can obtain test keywords corresponding to device operation commands one-to-one, and package the test keywords into test cases according to user instructions, and then generate test cases according to the test cases. script, and use the test script to test the IoT device. In this way, automated testing of various functions of various IoT devices can be realized, greatly improving testing efficiency.
可选的,在步骤S11中,可以根据物联设备的配置文件获取测试关键字。具体而言,可以根据所述物联设备的设备类型获取所述物联设备的配置文件;解析所述配置文件以获取所述测试关键字。其中,不同型号的设备属于不同的设备类型,不同的设备类型具有不同的配置文件,可以根据设备类型的不同,如设备型号的不同,到数据库中下载相应的配置文件,然后解析该配置文件并从该配置文件中获取相应的测试关键字。例如,在本发明的一个实施例中,待测试的物联设备为智能洗衣机,假设其设备型号为XYJ150824,则可以根据该型号在数据库中检索到对应的配置文件。在配置文件中记录着与设备操作命令对应的测试关键字,如:开机、关机、启动、暂停、童锁、解锁、完风、完料、洗程等。通过对配置文件进行解析即可提取出这些测试关键字。Optionally, in step S11, the test keyword may be acquired according to the configuration file of the IoT device. Specifically, the configuration file of the IoT device may be acquired according to the device type of the IoT device; the configuration file may be parsed to obtain the test keyword. Among them, different types of devices belong to different device types, and different device types have different configuration files. According to different device types, such as different device models, the corresponding configuration files can be downloaded from the database, and then the configuration files can be parsed and Get the corresponding test keyword from this configuration file. For example, in one embodiment of the present invention, the IoT device to be tested is an intelligent washing machine, assuming that its device model is XYJ150824, the corresponding configuration file can be retrieved in the database according to the model. The test keywords corresponding to the equipment operation commands are recorded in the configuration file, such as: power on, power off, start, pause, child lock, unlock, end air, material end, washing process, etc. These test keywords can be extracted by parsing the configuration file.
可选的,在本发明的另一个实施例中,配置文件和相应的测试关键字也可以是预先下载完毕后存储起来的,这样在步骤S11中获取测试关键字时只需要从存储区域将配置文件或者测试关键字读取出来即可,从而有利于测试效率的提高和测试资源的共享。Optionally, in another embodiment of the present invention, the configuration file and the corresponding test keyword can also be stored after downloading in advance, so that when obtaining the test keyword in step S11, only the configuration file needs to be downloaded from the storage area. The files or test keywords can be read out, which is conducive to the improvement of test efficiency and the sharing of test resources.
具体的,在步骤S12中,可以根据用户的指令将所述测试关键字封装成测试用例。可选的,一个测试用例可以用于测试物联设备的一项功能或者多项功能,相应的,一个测试用例所包括的测试关键字也可以为一个或多个。可以根据不同的测试目的,将不同的测试关键字按照不同的顺序和执行方式进行组合,以形成不同的测试用例,使测试更为全面。Specifically, in step S12, the test keyword may be packaged into a test case according to the user's instruction. Optionally, a test case may be used to test one function or multiple functions of the IoT device, and correspondingly, a test case may include one or more test keywords. According to different test purposes, different test keywords can be combined in different orders and execution methods to form different test cases and make the test more comprehensive.
举例说明,如图2所示,在本发明的一个实施例中,对智能热水器的测试用例的编写可以通过用户对图2所示的表项进行选择和填写来实现。如图2所示,本实施例中,测试的项目依次为:查询、开关、设温和时间。在本发明的其他实施例中,用户可以根据需要编写其他的测试项目和测试策略,本发明的实施例对此不限。For example, as shown in FIG. 2 , in one embodiment of the present invention, the writing of the test case for the smart water heater can be realized by the user selecting and filling in the table items shown in FIG. 2 . As shown in FIG. 2 , in this embodiment, the test items are: inquiry, switch, setting temperature and time. In other embodiments of the present invention, the user may write other test items and test strategies as required, which is not limited in the embodiments of the present invention.
编写好测试用例后,需要将测试用例转化成测试脚本才能被计算机自动执行,因此,在步骤S13中,需要根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备,具体可包括如下步骤:After the test case is written, the test case needs to be converted into a test script to be automatically executed by the computer. Therefore, in step S13, it is necessary to generate a test script according to the test case, and use the test script to test the IoT device, Specifically, the following steps may be included:
根据所述物联设备的配置文件,解析所述测试用例;Analyzing the test case according to the configuration file of the IoT device;
根据解析后的所述测试用例生成测试脚本;Generate a test script according to the analyzed test case;
将所述测试脚本向所述物联设备发送,以对所述物联设备进行测试。Send the test script to the IoT device to test the IoT device.
进一步的,使用所述测试脚本测试所述物联设备之后,还可以接收并保存所述物联设备的测试结果,以使测试结果方便被分析和分享。Further, after using the test script to test the IoT device, the test result of the IoT device can also be received and saved, so that the test result can be analyzed and shared conveniently.
进一步的,在获取测试关键字之前,所述方法还可包括:检测用户身份,所述用户身份包括管理员用户和普通用户,所述管理员用户与所述普通用户具有不同的操作权限。Further, before obtaining the test keyword, the method may further include: detecting user identities, the user identities include administrator users and ordinary users, and the administrator users and the ordinary users have different operation rights.
下面通过具体实施例对本发明提供的物联设备测试方法进行详细说明。The method for testing an IoT device provided by the present invention will be described in detail below through specific embodiments.
如图3所示,在本发明的一个实施例中,测试管理员对测试文件的编写和测试过程可包括如下步骤:As shown in Figure 3, in one embodiment of the present invention, test manager can comprise the following steps to the writing of test file and test process:
101、系统管理员用户登陆系统。101. The system administrator user logs in to the system.
102、根据设备类型号获取设备配置文件,并根据物联设备配置文件自动生成用例关键字。102. Obtain a device configuration file according to the device type number, and automatically generate a use case keyword according to the IoT device configuration file.
103、多个关键字组合成一个测试用例,每个关键字对应设备的一条操作命令。103. Multiple keywords are combined into a test case, and each keyword corresponds to an operation command of the device.
104、接收用户的测试命令。104. Receive a test command from the user.
105、根据测试命令和物联设备的配置文件,解析测试用例。105. Analyze the test case according to the test command and the configuration file of the IoT device.
106、根据解析后的测试用例生成ROBOT测试脚本。106. Generate a ROBOT test script according to the analyzed test case.
107、ROBOT收到测试脚本,逐条发送测试命令到物联设备,记录测试结果,生成测试报告。107. After receiving the test script, ROBOT sends test commands to the IoT device one by one, records the test results, and generates a test report.
108、备份测试报告到指定目录统一管理,并返回当前测试结果给用户。108. Backup the test report to the specified directory for unified management, and return the current test result to the user.
在本发明的另一个实施例中,管理员用户和非管理员用户可以共享测试资源。In another embodiment of the present invention, administrator users and non-administrator users can share testing resources.
如图4所示,首先,测试用例的数据共享可包括如下步骤:As shown in Figure 4, first, the data sharing of test cases may include the following steps:
201、测试用户通过管理员注册申请为测试操作员,登陆测试操作系统。201. The test user registers as a test operator through the administrator registration, and logs into the test operating system.
202、上传设备配置文件或使用已生成的关键字,其中,所有用户都可使用上传配置文件生成的关键字,系统管理员上传设备配置。202. Upload the device configuration file or use the generated keywords, wherein all users can use the keywords generated by uploading the configuration file, and the system administrator uploads the device configuration.
203、使用已生成的关键字组装测试用例。203. Use the generated keywords to assemble test cases.
由于测试用例可供多用户使用,重复测试不用多次创建测试用例,因此大大提高了资源利用率和测试效率。Since test cases can be used by multiple users, repeated tests do not need to create test cases multiple times, thus greatly improving resource utilization and test efficiency.
其次,如图5所示,测试报告的共享可以包括如下步骤:Secondly, as shown in Figure 5, the sharing of test reports may include the following steps:
301、通过创建的测试用例测试生成测试报告。301. Generate a test report by using the created test case test.
302、将生成的测试报告存储到服务器供所有用户查看,参见图6。302. Store the generated test report on the server for all users to view, see FIG. 6 .
303、用户下载测试报告或测试测试脚本。303. The user downloads a test report or a test script.
此外,还可以对用户进行用户权限管理,系统管理员新增测试用户,可设置用户类型,指定用户项目权限。所有用户可登陆系统进行物联设备测试。新创建的用户类型包括:系统管理员(即管理员用户)和测试操作员(即普通用户)。测试操作员只具有执行测试用例和查看测试报告的权限。系统管理员具有上传设备配置文件,组装测试用例,执行测试,查看测试报告的功能。In addition, user rights management can also be performed on users. The system administrator can add test users, set user types, and specify user project permissions. All users can log in to the system to test IoT devices. Newly created user types include: system administrator (ie administrator user) and test operator (ie common user). Test operators only have the authority to execute test cases and view test reports. The system administrator has the functions of uploading device configuration files, assembling test cases, executing tests, and viewing test reports.
这样,可以让有经验的测试人员添加用例,没有经验的测试人员仅可执行用例和查看报告,从而有效保障了系统的完整性,避免不熟悉测试流程的用户修改测试用例。In this way, experienced testers can add test cases, and inexperienced testers can only execute test cases and view reports, thereby effectively ensuring the integrity of the system and preventing users who are not familiar with the test process from modifying test cases.
进一步的,如图7所示,还可以记录用户操作日志,如测试用例的增加、删除或修改,用户的登陆信息等,从而可针对测试数据定位用户,进行执行结果分析,并分析用户修改测试用例的原因等。Further, as shown in Figure 7, user operation logs can also be recorded, such as the addition, deletion or modification of test cases, user login information, etc., so that the user can be located for the test data, the execution result analysis, and the user modification test can be analyzed. The reason for the use case etc.
另外,本实施例中,从上传设备配置文件到组织测试用例皆以界面的形式提供给用户。用户从界面看到的是命令:“开机”、“关机”等,而非操作设备的命令行。针对这些可读性好的命令组装测试用例,节省了测试人员的学习成本,加强测试人员测试设备的简易性。测试报告管理也以界面形式展现,将历史测试报告都存储到服务器,以列表形式展现。当用户需要查看测试脚本时,可通过测试报告列表下载对应测试报告和测试脚本。测试脚本可单独到ROBOT框架测试。In addition, in this embodiment, everything from uploading device configuration files to organizing test cases is provided to users in the form of an interface. What the user sees from the interface are commands: "start", "shut down", etc., rather than the command line for operating the device. Assembling test cases for these readable commands saves the learning cost of testers and enhances the simplicity of testers' testing equipment. The test report management is also displayed in the form of an interface, and the historical test reports are stored in the server and displayed in the form of a list. When the user needs to view the test script, he can download the corresponding test report and test script through the test report list. The test script can be tested independently to the ROBOT framework.
相应的,如图8所示,本发明的实施例还提供一种物联设备测试装置,包括:Correspondingly, as shown in FIG. 8 , an embodiment of the present invention also provides a device for testing IoT devices, including:
获取单元81,用于获取测试关键字,所述测试关键字与设备操作命令一一对应;An acquisition unit 81, configured to acquire a test keyword, and the test keyword is in one-to-one correspondence with the device operation command;
封装单元82,用于根据用户的指令将所述测试关键字封装成测试用例;其中,每个所述测试用例包括至少一个所述测试关键字;An encapsulation unit 82, configured to encapsulate the test keywords into test cases according to user instructions; wherein each of the test cases includes at least one test keyword;
测试单元83,用于根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备。The testing unit 83 is configured to generate a test script according to the test case, and use the test script to test the IoT device.
本发明实施例提供的物联设备测试装置,获取单元81能够获取与设备操作命令一一对应的测试关键字,封装单元82能够根据用户的指令将所述测试关键字封装成测试用例,然后测试单元83能够根据所述测试用例生成测试脚本,并使用该测试脚本测试所述物联设备。这样,就能够实现对各种物联设备的各项功能的自动化测试,大大提高了测试效率。In the IoT equipment testing device provided by the embodiment of the present invention, the acquisition unit 81 can acquire the test keywords corresponding to the equipment operation commands one by one, and the encapsulation unit 82 can encapsulate the test keywords into test cases according to the user's instructions, and then test Unit 83 can generate a test script according to the test case, and use the test script to test the IoT device. In this way, automated testing of various functions of various IoT devices can be realized, greatly improving testing efficiency.
可选的,获取单元81可包括:Optionally, the acquiring unit 81 may include:
第一获取模块,用于根据物联设备的配置文件获取测试关键字;或者The first obtaining module is used to obtain the test keyword according to the configuration file of the IoT device; or
第二获取模块,用于获取预先存储的测试关键字。The second obtaining module is used to obtain pre-stored test keywords.
可选的,所述第一获取模块,具体用于:Optionally, the first acquisition module is specifically used for:
根据所述物联设备的设备类型获取所述物联设备的配置文件;Obtain the configuration file of the IoT device according to the device type of the IoT device;
解析所述配置文件以获取所述测试关键字。The configuration file is parsed for the test keyword.
可选的,测试单元83具体可包括:Optionally, the testing unit 83 may specifically include:
解析模块,用于根据所述物联设备的配置文件,解析所述测试用例;An analysis module, configured to analyze the test case according to the configuration file of the IoT device;
生成模块,用于根据所述解析模块解析后的测试用例生成测试脚本;A generating module, configured to generate a test script according to a test case parsed by the parsing module;
发送模块,用于将所述生成模块生成的测试脚本向所述物联设备发送,以对所述物联设备进行测试。A sending module, configured to send the test script generated by the generating module to the IoT device, so as to test the IoT device.
进一步的,所述物联设备测试装置还可包括接收保存单元,用于在所述根据所述测试用例生成测试脚本,并使用所述测试脚本测试所述物联设备之后,接收并保存所述物联设备的测试结果。Further, the apparatus for testing IoT devices may further include a receiving and saving unit, configured to receive and save the Test results for IoT devices.
进一步的,所述物联设备测试装置还可包括用户检测模块,用于检测用户身份,所述用户身份包括管理员用户和普通用户,所述管理员用户与所述普通用户具有不同的操作权限。Further, the IoT device testing device may also include a user detection module for detecting user identities, the user identities include administrator users and ordinary users, and the administrator users and the ordinary users have different operation rights .
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。Although preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and therefore, the scope of the present invention should not be limited to the above-described embodiments.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542041.8A CN105204991A (en) | 2015-08-28 | 2015-08-28 | Internet of things test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542041.8A CN105204991A (en) | 2015-08-28 | 2015-08-28 | Internet of things test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105204991A true CN105204991A (en) | 2015-12-30 |
Family
ID=54952685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510542041.8A Pending CN105204991A (en) | 2015-08-28 | 2015-08-28 | Internet of things test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105204991A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294145A (en) * | 2016-08-05 | 2017-01-04 | 珠海市魅族科技有限公司 | A kind of method of software test and software testing device |
CN106528410A (en) * | 2016-10-21 | 2017-03-22 | 上海庆科信息技术有限公司 | Internet-of-things automation test tool |
CN108132879A (en) * | 2017-12-21 | 2018-06-08 | 周舟 | Automated software testing method, platform, terminal and medium |
CN110784379A (en) * | 2019-11-01 | 2020-02-11 | 北京云迹科技有限公司 | Internet of things module testing method, intermediate equipment, terminal equipment and testing system |
CN111338951A (en) * | 2020-02-25 | 2020-06-26 | 珠海荣邦智能科技有限公司 | Wireless intelligent household appliance detection method and system |
CN111352828A (en) * | 2018-12-20 | 2020-06-30 | 顺丰科技有限公司 | Automatic testing method and system for black box test |
CN112286813A (en) * | 2020-10-30 | 2021-01-29 | 上海纳恩汽车技术有限公司 | Automatic generation system and method for case keywords |
CN113360364A (en) * | 2020-03-04 | 2021-09-07 | 腾讯科技(深圳)有限公司 | Target object testing method and device |
US11133955B2 (en) | 2019-08-29 | 2021-09-28 | International Business Machines Corporation | Testing automated smart device functions within smart environments |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866221A (en) * | 2006-02-27 | 2006-11-22 | 华为技术有限公司 | Software interface testing method and apparatus |
CN102779091A (en) * | 2012-06-18 | 2012-11-14 | 中兴通讯股份有限公司 | Test transformation method and test transformation device |
CN103019928A (en) * | 2011-09-27 | 2013-04-03 | 北京新媒传信科技有限公司 | Automatic testing method and system |
US20140123112A1 (en) * | 2012-10-26 | 2014-05-01 | Samsung Electronics Co., Ltd. | Automatic testing apparatus for embedded software, automatic testing method thereof and test scenario composing method |
CN104426709A (en) * | 2013-08-23 | 2015-03-18 | 深圳市共进电子股份有限公司 | TR 069 testing method and system |
-
2015
- 2015-08-28 CN CN201510542041.8A patent/CN105204991A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866221A (en) * | 2006-02-27 | 2006-11-22 | 华为技术有限公司 | Software interface testing method and apparatus |
CN103019928A (en) * | 2011-09-27 | 2013-04-03 | 北京新媒传信科技有限公司 | Automatic testing method and system |
CN102779091A (en) * | 2012-06-18 | 2012-11-14 | 中兴通讯股份有限公司 | Test transformation method and test transformation device |
US20140123112A1 (en) * | 2012-10-26 | 2014-05-01 | Samsung Electronics Co., Ltd. | Automatic testing apparatus for embedded software, automatic testing method thereof and test scenario composing method |
CN104426709A (en) * | 2013-08-23 | 2015-03-18 | 深圳市共进电子股份有限公司 | TR 069 testing method and system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294145A (en) * | 2016-08-05 | 2017-01-04 | 珠海市魅族科技有限公司 | A kind of method of software test and software testing device |
CN106528410A (en) * | 2016-10-21 | 2017-03-22 | 上海庆科信息技术有限公司 | Internet-of-things automation test tool |
CN108132879A (en) * | 2017-12-21 | 2018-06-08 | 周舟 | Automated software testing method, platform, terminal and medium |
CN111352828A (en) * | 2018-12-20 | 2020-06-30 | 顺丰科技有限公司 | Automatic testing method and system for black box test |
CN111352828B (en) * | 2018-12-20 | 2024-06-14 | 顺丰科技有限公司 | Automatic testing method and system for black box test |
US11133955B2 (en) | 2019-08-29 | 2021-09-28 | International Business Machines Corporation | Testing automated smart device functions within smart environments |
CN110784379A (en) * | 2019-11-01 | 2020-02-11 | 北京云迹科技有限公司 | Internet of things module testing method, intermediate equipment, terminal equipment and testing system |
CN111338951A (en) * | 2020-02-25 | 2020-06-26 | 珠海荣邦智能科技有限公司 | Wireless intelligent household appliance detection method and system |
CN113360364A (en) * | 2020-03-04 | 2021-09-07 | 腾讯科技(深圳)有限公司 | Target object testing method and device |
CN113360364B (en) * | 2020-03-04 | 2024-04-19 | 腾讯科技(深圳)有限公司 | Target object testing method and device |
CN112286813A (en) * | 2020-10-30 | 2021-01-29 | 上海纳恩汽车技术有限公司 | Automatic generation system and method for case keywords |
CN112286813B (en) * | 2020-10-30 | 2023-12-12 | 上海纳恩汽车技术股份有限公司 | Automatic generation system and method for use case keywords |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105204991A (en) | Internet of things test method and device | |
CN107704395B (en) | Cloud platform automation test implementation method and system based on Openstack | |
CN107908541B (en) | Interface testing method and device, computer equipment and storage medium | |
CN102693183B (en) | Method and system for realizing automatic software testing | |
CN103186444A (en) | Performance testing method, platform and machine | |
CN107302475A (en) | The method of testing and device of a kind of Based on Distributed storage cluster | |
CN106961362A (en) | Automated testing method and mobile cloud test system | |
CN106484611B (en) | Fuzzy test method and device based on automatic protocol adaptation | |
CN105446799A (en) | Method and system for performing rule management in computer system | |
CN109902017A (en) | A kind of method and terminal based on RobotFramework test Dubbo interface | |
CN110928783A (en) | RobotFramework-based automatic test datamation reconstruction platform | |
US20120143588A1 (en) | Concurrent workload simulation for application performance testing | |
CN114281680B (en) | A web automated testing method and system | |
CN108923997B (en) | Cloud service node automatic testing method and device based on python | |
CN106649073A (en) | Test method and device based on dynamic script template | |
US20180357143A1 (en) | Testing computing devices | |
CN112463631A (en) | Chip driver testing method, device and equipment and readable storage medium | |
CN103279416A (en) | Storage software automated testing system and method | |
CN110297771A (en) | Distributed test method and device for the warehouse receipt page | |
CN105183605A (en) | Server performance test method and device | |
CN110134612A (en) | UI test data generation method, device, equipment and readable storage medium | |
CN105243017A (en) | Test method and system capable of carrying out login authentication on the basis of SSH (Secure Shell) protocol | |
CN110908903B (en) | A Test Method Based on Editable YAML File | |
CN114416451A (en) | Server testing method and device, computer equipment and storage medium | |
CN113610242A (en) | Data processing method and device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151230 |
|
RJ01 | Rejection of invention patent application after publication |