how to automate combo box in a application using 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 automate combo box in a application using qtp (/Thread-how-to-automate-combo-box-in-a-application-using-qtp) |
how to automate combo box in a application using qtp - ricks_ngl - 07-20-2012 Dear Friends, Can you please let me know how to automate the below task with an iteration of 5 times. 1. Open to the below link i.e BOA login https://www4.bankofamerica.com/global/stateselection.action?returnUrl=https://www4.bankofamerica.com/hub/index.action&queryString=template=signin 2. Select the location where the customer is having the bank account and click go button. 3. Repeat the step 1 and 2 for five different customers. Do I need to store the five different location values in the data table. How to get the value from the data table to the combo box. I want to select one value at a time. Like that the application need to be opened for 5 times and different values need to be fetched. I tried with a code. It is not doing exactly what I am looking for, Code: Browser("Bank of America | Please").Page("Bank of America | Please").WebList("state").Select "Arizona" Could you please help with the code. |