Replaying Function Test for testing Windows / Java Applications