发明名称 Capturing and displaying state of automated user-level testing of a graphical user interface application
摘要 In one embodiment, an automated user-level testing tool is enhanced to capture additional information about the state of the automated testing, beyond just a screenshot of the application-under-test. In another embodiment, an automated user-level testing tool is enhanced to capture testing state information for multiple points in time (referred to as “snapshots”), beyond just when the application-under-test crashes. This captured information from one execution of an automated test (one “test run”) is stored in one test log, which can then be viewed using a test log viewer. In one embodiment, the graphical user interface (GUI) for the test log viewer includes four areas: a screenshot area, a test script area, a stack trace area, and a timing area. The content shown in the screenshot area, the test script area, and the stack trace area is specific to a particular point in time during a test (e.g., a particular snapshot).
申请公布号 US8966447(B2) 申请公布日期 2015.02.24
申请号 US201113164694 申请日期 2011.06.20
申请人 Apple Inc. 发明人 Hoke Evan M.;Holley Patrick R.;Deutsch Jonathan M.
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Novak Druce Connolly Bove + Quigg LLP 代理人 Novak Druce Connolly Bove + Quigg LLP
主权项 1. A computer-implemented method comprising: based on a user input, determining, by a computing device, a snapshot of an automated test executed for a graphical user interface application, wherein the snapshot of the automated test is captured in response to a triggering event comprising a failure of the graphical user interface application; determining, by the computing device, testing state information associated with the snapshot, wherein the testing state information corresponds to a point in time within an execution time of the automated test, wherein the testing state information comprises a reference to an associated screenshot, an indication of the point in time, a stack trace associated with the automated test, and an indication of a command in a test script executed at the point in time that caused the failure of the graphical user interface application, wherein the test script simulates user input to the graphical user interface application; and presenting, on a graphical user interface of the computing device, a view of a test log associated with the automated test, wherein the view comprises a screenshot area displaying the associated screenshot, a stack trace area displaying the stack trace associated with the automated test at a time when the snapshot was captured, a timing area indicating the point in time, and a test script area displaying the test script and highlighting the test script command executed at the point in time that caused the failure of the graphical user interface application, wherein the test script command simulates a particular user input to the graphical user interface application.
地址 Cupertino CA US