Please help: NSReceiverEvaluationScriptError:4

I use Applescript to auto run a client server application. I have been successful in running the test suite I have for quite sometime.

But I have problem running the suite now. The error I get is “System Evens got an error: NSReceiverEvaluationScriptError: 4” when the script is doing get value of text field 7 of row 19 of table 1 of scroll area 1 of window “Win” of process “App”. This line of script is inside a repeat while loop and it breaks after several runs of the loop and indefinite number of times the loop has run.

The difference is that I am running on a slower server – will this cause problem, the bad thing is that since I run on this slower server, my script broke several times at different points.

Is there a way for me to solve the problem?

Thanks!

Xhuang