I am encountering an unique problem in saving a web page. There are few tabs in which there are few text boxes for each tabs and there are two ways, I can save the data.

One, by clicking the next tab and the second, by clicking saving button. My problem is, few text boxes were not saved in few tabs. All the text boxes are enclosed in a webtable and when I perform this action manually, I can save it without any problem, but when tried to automate it, it gives me problem in saving the data.

I tried to use wait statement before saving, still when the page refreshes, the data is gone. How can I overcome this problem? Please help!!!