I usually control loops when cycling through global and local data sheets. I don't have a copy of UFT handy to try this since I am not on a contract at the moment.
Here is the condition set up:
The global sheet has no rows of data. The local sheet has 3 rows of data.
I don't know what the settings are on the global or local sheets for the number of iterations. I guess the interviewer is looking for the default state.
The script is run.
Question: How many iterations of the Global and Local data are run.
My guess is none. I am not sure.
When in Florida, Don't Tampa with the code. I made this up.
It depends on what the code is. If it is dtLocalSheet, the data in the local datasheet is used.
My ASQ Certified Software Quality Engineer (CSQE) Certification training batch is starting on July 11 2016. Details and 6 VERIFIABLE RECOMMENDATIONS for my training at www.facebook.com/PickTechnologies