HI thanks for the relpy. This time u have responed quickly. Thanks.
Actually the problem was something else and we have solved the problem it was due to some id problem as the test runs for the same id's everytime and in database it is changed. So we hardcoded the id's and then it was running successfully.
Thanks for the support.