Micro Focus QTP (UFT) Forums
UFT Script running twice - 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: UFT Script running twice (/Thread-UFT-Script-running-twice)



UFT Script running twice - SacJoshi - 11-11-2016

Hi All,

I am using UFT 12.54. I have started using this software yesterday. Firstly, I wrote scripts of launching an application which worked fine. 

Next, I tried Parameterizing username and password using Datatable which also worked fine. 

Now, I am trying to read username and password from an Excel file. Excel file has only 3 rows. I am able to fetch values from the file but script runs 2 times, giving message in print log as:

User 1 Details

Username : jojo
Password : bean

User 1 Details

Username : jojo
Password : bean

I changed the Action Call Properties to "Run One iteration only", still script runs twice.

Then, I inserted a breakpoint, now it is running only once but this is not a permanent solution.

Can anyone suggest any other solution?

Regards,

Sachin