Links

Abstract

Translated from Chinese

本发明公开了一种通话记录的自动填充测试方法，其步骤如下：1、进入android系统的自动填充通话记录的主界面；2、输入对应填充通话记录的号码数量，不输入则为系统默认值；3、选择往第几个号码内填充更多的通话记录，不输入则表示每个号码都填充；4、输入往选定的号码内填充多少条通讯记录，不输入则为系统默认值；5、判断是否开始填充，是则执行步骤5，否则执行步骤2；6、开启后台运行程序；7、后台接收选中选项，并判断需要填充的数据量；8、填充选中的选项对应的数据库；9、程序结束。 The present invention discloses a method of automatically filling test call records, the steps are as follows: 1, the call log into the autofill system main interface android; 2, the number of the input number corresponding to the call log filled, do not enter a default value for the system ; 3, choose to go within the first few numbers to fill more call records, it means do not enter each number are filling; 4, how many communication records to fill in the input to the selected number, do not enter a default value for the system; 5, it is determined whether to start the filling, is step 5 is performed, otherwise step 2; 6, open the background program; 7, background reception option selected, and is determined to be filled amount of data; 8, filling the selected option corresponding to the database; 9, the program ends.本发明一键及时生成通话记录信息来填充，节省了人力和时间，提高了效率，且易于实现。 The present invention is a key to generate a call record information in a timely manner to fill, saving manpower and time, improve efficiency, and easy to implement.

Description

Translated from Chinese

一种通话记录的自动填充测试方法 Test method for filling an automatic call records

技术领域 FIELD

[0001] 本发明涉及一种基于android的手机测试方法，特别是涉及一种通话记录的自动化测试方法。 [0001] The present invention relates to a method for testing a mobile phone based on android, particularly to a method of automated testing of call records.

背景技术 Background technique

[0002] 现在并没有自动添加大量通话记录到数据库中的技术，如果需要进行添加大量通话记录的测试，需要手动一个一个的进行拨打，接听等操作来产生，非常的耗时耗力。 [0002] Now the call is not automatically adding a large amount of database records to the art, if the call is required to add a large amount of test recording, a need to dial one hand, answering and other operations to produce, very time-consuming.而进行通话记录的其他测试，如标记删除，检测存储丢失，极限容量测试等等都经常需要大量的通话记录数据为基础，如果采用原始的手工测试方式则会进行大量的重复劳动，非常耗时耗力。 The call records of other tests, such as marked for deletion, memory loss detection limit capacity testing, etc., often require a lot of phone records based on the data, if the original manual testing methods will be a lot of duplication of effort, time-consuming labor-intensive.

发明内容 SUMMARY

[0003] 本发明的目的在于克服现有技术的不足，提供一种通话记录的自动填充测试方法，一键及时生成通话记录信息来填充，节省了人力和时间，提高了效率，且易于实现。 [0003] The object of the present invention is to overcome the disadvantages of the prior art, there is provided a recording autocomplete Call test method to generate a call record key information promptly filled, saving manpower and time, improve efficiency, and easy to implement.

[0004] 为了达到上述目的，本发明采用的技术方案是，一种通话记录的自动填充测试方法，其步骤如下: [0004] To achieve the above object, the technical solution adopted by the invention is a method for testing the automatic filling of call records, the following steps:

[0010] 步骤6、开启后台运行程序，后台程序为:接收选中的选项；取得选项的相应代码；根据代码判断输入的数据参数；确定输入的数据参数是否合法；合法则取得输入数据参数并按照数据参数采用随机数的方式随机生成相对应的值然后插入到Android内置的通话记录数据库中，否则提示输入错误，再次输入数据参数，随机数指通话记录的号码、拨打时间、持续时间及拨打类型为随机生成的相应信息；后台运行程序结束。 [0010] Step 6, open the background program, the background program to: receive a selected option; obtain corresponding code option; the data parameter code determines whether the input; data parameters to determine whether the input valid; valid the acquired input data parameters and in accordance with data parameters using random numbers random manner generating a corresponding value is then inserted into the Android built-in call log database, or prompts an error, the input data parameters again, the random number means the number of call records, call time, duration, and call type randomly generated information corresponding; end of program running in the background.

[0011] 与现有技术相比，本发明的有益效果是:方便快捷的填充通话记录信息，一键进行通话记录的添加测试；操作界面友好，选项定位准确，填充目的精确；填充大量通话记录后，能方便的进行大量的通话记录删除，更新等其他测试，是通话记录测试的数据基础；节省了测试员手工生成通话记录数据的大量工作，使之更有效率的用所生成的大量通话记录数据对电话模块功能进行有效测试，避免疲劳和烦累；填充的数据随机但是符合规定格式，更容易发现各种输入问题以及更便于测试使用。 [0011] Compared with the prior art, the beneficial effects of the present invention are: convenient filling talk log information, a key to add a call test recording; user friendly, accurate positioning options, accurate filling purposes; filling a large number of call records after, to facilitate the conduct of a large number of call records to delete, update, and other test, is the basis of call records test data; save a lot of manual work testers generate call records data, so that a large number of calls generated by more efficient recording data on the telephone function modules effective testing, to avoid annoying tired and fatigue; randomly packed data but the prescribed format, easier to find various inputs and issues easier testing.

附图说明 BRIEF DESCRIPTION

[0012] 图1为本发明的程序流程图。 [0012] FIG. 1 is a flowchart of the program of the present invention.具体实施方式 Detailed ways

[0013] 下面结合实施例参照附图进行详细说明，以便对本发明的技术特征及优点进行更深入的诠释。 [0013] Example embodiments in conjunction with the following detailed description with reference to the accompanying drawings, for more in-depth interpretation of the technical features and advantages of the present invention.

[0014] 本发明的程序流程图如图1所示，一种通话记录的自动填充测试方法，其步骤如下: [0014] The program of the present invention, a flow diagram, a method for automatically filling test call records shown in Figure 1, comprises the following steps:

[0024] 步骤6.3、根据代码判断输入的数据参数； [0024] Step 6.3, determined according to the data input of the parameter code;

[0025] 步骤6.4、确定输入的数据参数是否合法； [0025] Step 6.4, the input data is determined if they are valid;

[0026] 步骤6.5、合法则取得输入数据参数并按照数据参数采用随机数的方式随机生成相对应的值然后插入到Android内置的通话记录数据库中，否则提示输入错误，再次输入数据参数； [0026] Step 6.5, legally acquired the input data in accordance with parameters and data parameters using a random number generated in a random manner corresponding to the value is then inserted into the built-in Android call log database, otherwise an error prompts, input data parameters again;

[0027] 步骤6.6、后台运行程序结束。 [0027] Step 6.6, the end of the program running in the background.

[0028] 上述步骤6.5所述的随机数指通话记录的号码、拨打时间、持续时间及拨打类型为随机生成的相应信息。 [0028] The random number according to step 6.5 refers to the number of call records, call time, call duration, and type of information corresponding to randomly generated.例如号码为随机11位数字，拨打类型随机为拨出状态，未接、已接、拨打时间及持续时间都随机生成。 For example, a random number is 11 digits, random type for outgoing call state, missed, received, call duration and time are randomly generated.

[0029] 本发明通过android系统的自动填充通话记录的主界面，对通话记录进行填充，其中填充的选项包括填充的号码数量、每个号码填充的通话记录数量、第几个号码填充更多的通话记录数量，能方便快捷的填充通话记录信息，一键进行通话记录的添加测试。 [0029] The present invention, by filling of the call record call record autofill android main interface system, wherein the filling comprises a number of options for filling number, the number of call records each number of filling, filling more of several numbers the number of call records can be easily and quickly fill the call record information, a key to add tests call records.操作界面友好，选项定位准确，填充目的精确；填充大量通话记录后，能方便的进行大量的通话记录删除，更新等其他测试，是通话记录测试的数据基础；节省了测试员手工生成通话记录数据的大量工作，使之更有效率的用所生成的大量通话记录数据对电话模块功能进行有效测试，避免疲劳和烦累；填充的数据随机但是符合规定格式，更容易发现各种输入问题以及更便于测试使用。 Friendly interface option accurate positioning, filling purposes accurate; after filling a large number of call records can facilitate the conduct of a large number of call records to delete, update, and other tests, data base call records of tests; saves testers manually generated call record data a lot of work, so as to be more efficient function of the phone module with a large number of call records test data generated effectively avoid the trouble and accumulated fatigue; randomly packed data in the prescribed format, but is easier to find a variety of problems as well as more input ease of testing.

[0030] 以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明，不能认定本发明的具体实施只局限于这些说明。 [0030] The above contents with the specific preferred embodiments of the present invention is further made to the detailed description, specific embodiments of the present invention should not be considered limited to these descriptions.对于本发明所属领域技术人员来说，在不脱离本发明构思的前提下，做出简单的更改或优化，都应当视为本发明的保护范围。 For those of skill in this invention, without departing from the inventive concept premise, to make simple changes or optimization, it should be deemed scope of the present invention.

Claims (1)

Translated from Chinese

1.一种通话记录的自动填充测试方法，其步骤如下: 步骤1、进入android系统的自动填充通话记录的主界面； 步骤2、输入对应填充通话记录的号码数量，不输入则为系统默认值； 步骤3、选择往第几个号码内填充更多的通话记录，不输入则表示每个号码都填充； 步骤4、输入往选定的号码内填充多少条通讯记录，不输入则为系统默认值； 步骤5、判断是否开始填充，是则执行步骤6，否则执行步骤2 ； 步骤6、开启后台运行程序，后台程序为:接收选中的选项；取得选项的相应代码；根据代码判断输入的数据参数；确定输入的数据参数是否合法；合法则取得输入数据参数并按照数据参数采用随机数的方式随机生成相对应的值然后插入到Android内置的通话记录数据库中，否则提示输入错误，再次输入数据参数，随机数指通话记录的号码、拨打时间、持续时间及 Test method for automatically filling a call record, the following steps: Step 1, the call log into the automatic filling of the main interface android system; step 2, the filling amount corresponding to the input number of call records, do not enter a default value for the system ; step 3, to select the number of filled within the first few more call records, it indicates that no input is filled every number; step 4, the input to the selected number of communication records how many filled, the default for the system does not enter value; step 5, it is determined whether to start the filling, a step 6 is performed, otherwise step 2; step 6, open the background program, the background program to: receive a selected option; obtain corresponding code option; data based on the code judgment entered. parameter; data parameters to determine whether the input valid; valid the acquired input data parameter and a random number according to the data parameters of a random manner generating a corresponding value is then inserted into the Android built-in call log database, or prompts an error, the input data again parameters, the random number refers to the number of call records, call time, duration and打类型为随机生成的相应信息；后台运行程序结束。 Play type corresponding information is randomly generated; end of the program running in the background.