GENERATING APPLICATION FLOW ENTITIES
Example implementations relate to generating application flow entities. Some implementations may include accessing a series of image frames from a test execution of an application and comparing, using an application test analysis device comprising a digital image processor, the image frames to each other to identify a subset of the image frames. The subset of image frames may be identified, for example, based on actions occurring during the test execution. Some implementations may also include automatically generating, using the application testing system, an application flow entity that represents the test. The application flow entity may be generated based on the subset of image frames.
1 . A method, comprising:
accessing a series of image frames from a test execution of an application;
comparing, using an application test analysis device comprising a digital image processor, the image frames to each other to identify a subset of the image frames, the subset of image frames being identified based on actions occurring during the test execution; and
automatically generating, using the application testing system, an application flow entity that represents the test execution, the application flow entity being generated based on the subset of image frames.
2 . The method of 1 , further comprising:
determining which frames in the subset of image frames correspond to a same application screen from the application; and
grouping together the image frames of the subset that correspond to a same application screen.
3 . The method of claim 2 , further comprising:
comparing frames of the subset to each other to determine a difference between each pair of frames; and
when the difference between a pair of frames is below a threshold, assigning that pair of frames as corresponding to a same application screen.
4 . The method of claim 3 , further comprising representing an application screen with a last significant frame in the series that corresponds to that application screen.
5 . The method of claim 1 , further comprising generating the series of image frames by making a video recording of output on a display of a computer on which the test execution was conducted.
6 . The method of claim 1 , further comprising generating the series of image frames by periodically taking screenshots from a screen receiving an output of the test execution of the application.
7 . The method of claim 6 , further comprising tuning an interval between taking of screenshots based on application type or user behavior.
8 . The method of claim 1 , further comprising comparing each frame in the series of image frames to a previous frame in the series.
9 . The method of claim 8 , wherein identifying the subset of image frames comprises:
determining a degree of change between compared images from the series of image frames; and
when the degree of change exceeds a threshold, adding a corresponding frame to the subset of image frames.
10 . The method of claim 1 , further comprising using the application flow entity by comparison with another application flow entity to evaluate different test executions of the application.
11 . An application test analysis device, comprising:
an interface for accessing a series of image frames from a test execution of an application;
a processor with associated memory; and
a digital image processor for comparing the image frames to each other to identify a subset of the image frames, the subset of image frames being identified based on actions occurring during the test execution;
the processor to operate the interface, memory and digital image processor to generate an application flow entity that represents the test execution, the application flow entity being generated based on the subset of image frames.
12 . The device of 11 , wherein the digital image processor is further to:
determine which frames in the subset of image frames correspond to a same application screen from the application being tested; and
group the image frames of the subset according to corresponding application screen.
13 . The device of claim 12 , wherein the application flow entity comprises one representative image frame from each group of image frames.
14 . A non-transitory computer-readable medium, the computer-readable medium comprising instructions that, when executed, cause a processor of an application test analysis device to:
operate an interface to access a series of image frames from a test execution of an application;
compare, using a digital image processor, each image frame to preceding image frame to identify a subset of the image frames, the subset of image frames being identified based on actions occurring during the test execution; and
automatically generate an application flow entity that represents the test execution comprising at least some of image frames from the subset of image frames.
15 . The computer program product of 14 , further comprising instructions that, when executed, cause the application test analysis device to:
determine which frames in the subset of image frames correspond to a same application screen from the application being tested; and
group the image frames of the subset according to corresponding application screen.