For Loop Execution - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: For Loop Execution (/Thread-For-Loop-Execution) |
For Loop Execution - Ravi_Chandra - 01-18-2011 Hi, I created external Data Table and placed 2 records in the Excel Sheet. I inserted a For Loop in my function and called those parameters. But while execution, QTP is running more than 2 times. My external data sheet is having only 2 records. Why QTP is running more than twice?? Below is my sample function: Quote:Public Function Sample() Please help?? Thanks, Ravi. RE: For Loop Execution - manishbhalshankar - 01-18-2011 Hi Ravi, Check your Test Settings. In the Run tab, select "Run one iteration only". |