“…Since the branch condition depends on the result set returned by the queries at line2 and line8, Pex or Concolic testing techniques can not generate test cases for such branch conditions. Recent other techniques[16,17,61] analyze the queries executed in the previous execution, exploit the relationship between branch condition and query result conditions (W HERE clauses) and generate synthetic data so that the previously generated test case can satisfy such branch condition. Our approach, on the other hand, exploits therelationship among program input, query conditions, and branch conditions and checks the current database state to find any new test case which can satisfy such condition with respect to the current database state.…”