I was running a script(caller script) which called another script(called script) associated with private data pools(having 2 records) .
After all called scripts datapool iterations were done ,the playback stopped and on the log file for caller script(which is the only log created) displayed <calledscriptname>.testMain had an unhandled exception.
exception_message = Attempt to iterate past the end of the datapool iterator, on iteration 2 of 2.
Why and how to resolve this issue?
Another question is can I have separate logs generated for caller script and called script(s).if so please show an example with code how it can be done?
Pinned topic Log file for caller script (calls other scripts)shows EXCEPTION !
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-28T08:12:09Z at 2012-05-28T08:12:09Z by SystemAdmin
SystemAdmin 110000D4XK16727 Posts
Re: Log file for caller script (calls other scripts)shows EXCEPTION !2012-05-28T08:12:09ZThis is the accepted answer. This is the accepted answer.Hi,
it looks like you have wrong count of the items in your script. Try add some records in your datapool and check, if described problem remains.
Another way - debug your script(s) and test what happens by reading datapool records.
I think - error message raises error by iteration with datapool.