QTP Script running 2 iterations by default.! - 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: QTP Script running 2 iterations by default.! (/Thread-QTP-Script-running-2-iterations-by-default) |
QTP Script running 2 iterations by default.! - vasan_mnm - 06-09-2011 Hi All, Version used:- QTP - v11.0 QC/ALM - v11.0 I am working on QTP script with Terminal emulators add-ins on Mainframe environment..Scripts that were running fine till last week now creates new problem..I run the QTP scripts from QC/ALM. Recently all the scripts are running twice/2 iterations. I have not changed any settings..File>Settings>Run value is "Run one Iteration only"..I have attached the result of screenshot..Please confirm if any of you have experienced this issue.? Eg If i have a script to create an account with 2 rows of data..The entire scripts runs for 2 rows in 1st iteration and again executing the same 2 rows for 2nd iterations and stops after 2nd iteration.! RE: QTP Script running 2 iterations by default.! - sriraj - 06-23-2011 Hi, this is not with the run settings, probable with the functions you are calling in the respective actions. Please check with main action and its sub functions. Also make sure that loop will continue based on the no.of values present in the data sheet. thanks, Sree RE: QTP Script running 2 iterations by default.! - parminderdhiman84 - 06-23-2011 Hello, In the keyword view, right click on your action and go to Action Call Properties and select "Run one iteration only" Hope that solves your problem. Regards, Parminder |