Micro Focus QTP (UFT) Forums
How to get input from the user in QTP? - 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: How to get input from the user in QTP? (/Thread-How-to-get-input-from-the-user-in-QTP)

Pages: 1 2


RE: How to get input from the user in QTP? - zunebuggy - 08-07-2017

Here is what I could use this functionality for. I have a website where there are codes that Customer Service people can memorize and enter for shortcuts. For every code entered, there are various fields displayed. I would like to list ALL the codes in the Global data and have it loop through each, but have it stop so I can use the Object Spy and add each of the unique fields to the Repository. Then I can have a Select Case statement for each code that will automatically fill in the unique fields. To type each code on into Row 1 of the Global Data table and run it over and over seems unnecessary to me. Letting me loop through each and stopping to let me add them to the repository sounds much better to me.