1.Recorded a windows application test(Flight Reservation)
2.run the test for the first time ----- worked fine
3.from next time on wards throwing a run time error
In the first run you have closed your window application at the last statement.
So you will have to launch your application again either manually or insert a statement to lauch it.