I placed OnError'Resume next' just after start,I thought if any error causes it leaves that line and it goes to next line.
I gave an Index to a textbox which is not there,but tp is identifying that textbox also,I am confused
Kreshna, visual tests can be very tricky until you have gotten used to them.
From your post, this is what I am getting:
<font color="blue">You are trying to test the error handling by pointing TP to a non-existant textbox but TP is seeing a textbox where one does not exist.</font>
1) Check if TP is attaching to the actual name of the object or if it is attaching based on the index number of the text box.
2) Check your attach method and see if you selected to suppress error handling.