design steps for the automatoin - 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: design steps for the automatoin (/Thread-design-steps-for-the-automatoin) |
design steps for the automatoin - ricks_ngl - 07-19-2012 Dear Friends, I am new to QTP and trying to do an automation for a particular task. Could you please help me with the design for this. Requirement: 1. Have a web link of an application. Need to login to the application with username/password. 2. There are multiple combo box and text box in the link. 3. As of now, we are manually entering the value for the combo box and the text box. 4. Need to automatically enter the values for the combo box and text boxes 5. Click the save and close button. My design: Login to the application with the username and password using the record and play option. Store the values for the combo box and text boxes in the Data Table While running, fetch the values from the data table. Here, instead of storing all the values of combo box, is there any other way we can handle it eg. using object spy. Where to insert checkpoints/synchornization points. If you have the detailed steps, could you please tell me. I will proceed with the code and ask you for any more help RE: design steps for the automatoin - Ankesh - 07-19-2012 As you are a beginner, datatable would be best option for you. Pass the username,password, combobox value, text box value as a parameter in datatable. Do let me know if you need more help. Regards, Ankesh RE: design steps for the automatoin - ricks_ngl - 07-19-2012 Hi Ankesh, Thanks a lot for the suggestion. Some of the combo box is having around 15 values. So is there any other method to handle this scenario please. RE: design steps for the automatoin - Ankesh - 07-20-2012 Comboboxes will have multiple values. do you want to select multiple values at a time? Plz let me knw what you are trying to achieve? |