发明名称 Self-expanding test automation method
摘要 A method for automatically testing an apparatus controlled by software based on pilot test case file comprising user input sequence data recorded manually and the time stamp of the input. In the process of automated testing, these pre-recorded user inputs are replay with same input sequence but with either the same time interval between two subsequent inputs recorded prior; or with a random time interval autonomously generated in a range set by the test configuration. During the process of replaying user input, a separate plural numbers of background tasks are executed in parallel with random execution delays to generate varying system load and execution timing to simulate the apparatus' unpredictable real operation scenarios. The user input and new random time interval between each user input are recorded at replay as a new expanded test record file for later test result trace and failure analysis.
申请公布号 US9223669(B2) 申请公布日期 2015.12.29
申请号 US201213345692 申请日期 2012.01.07
申请人 发明人 Lin Robert
分类号 G06F11/36;G06F11/263 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for test automation method, comprising the steps of a. setting an apparatus into learning mode to generate a test pilot case where said apparatus is first set to a determined idle state; start a test case generation where a user performs a desired task using an input device; record user input and a time stamp of the input occurrence; repeat said recording until said desired task is complete; after said task completion, store complete user inputs and corresponding time stamp of occurrence into a storage media to generate a pilot test case for this desired task, b. setting said apparatus into a testing mode to replay said test pilot case where said apparatus is first set to said determined idle state; load and execute a test case file; replay each recorded user input; execute a delay between each user input according to a random delay from a given time range, and c. continuing to replay user input and time delay until a complete pilot test record is executed.
地址 Cupertino CA US