Patent ID: 8819633

Claim:
A method for testing a software application comprising: providing one or more test scenarios required to test the software application, wherein each test scenario is adapted to verify a feature of the software application; assigning a weight to each test scenario, comprising: assigning a relevance indicator to the test scenario, the relevance indicator representing a relevance of a feature being verified by the test scenario; assigning a complexity indicator to the test scenario, the complexity indicator representing a complexity of the feature being verified by the test scenario; and calculating the weight according to a combination of the relevance indicator and the complexity indicator; determining a theoretical sequence of execution of the test scenarios according to the assigned weights; and executing the test scenarios according to the theoretical sequence, comprising: estimating the test scenarios expected to fail; generating an expected sequence of execution of the test scenarios by adding a re-execution of each failing test scenario to the theoretical sequence; calculating an expected trend of a cumulative weight of the test scenarios in the expected sequence; measuring an actual trend of the cumulative weight of the executed test scenarios; and tracking a progress of the testing according to a comparison between the actual trend and the expected trend.