fix interacive mode, set CASEDIR in openqa