Abstract:A PIEF (program interactive execution flow chart) is proposed, which shows intuitively the interactive execution process of a program, that is, all the input points in the program with possible transitions among them. Furthermore, in terms of the PIEF, the author puts forward a set of coverage criteria for the functional tests, strategies for the test case generation and related automation methods.