How to create a multiple orders during a single user session? - 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 create a multiple orders during a single user session? (/Thread-How-to-create-a-multiple-orders-during-a-single-user-session) |
How to create a multiple orders during a single user session? - Bala Preetha33 - 04-23-2010 Hi I gone through the mercury tour tutorial to check how the application handles multiple orders during a single user session. In that tutorial first iteration over then returns to the starting point of the test by clicking the Home link. But in my case i no need to go back to the starting point, because i would like to handle the multiple orders in another application not at the starting point... can you plz say me how to do this.. cheers, Preetha. RE: How to create a multiple orders during a single user session? - Saket - 04-23-2010 you can use browser().back. or re navigate to the same url again. RE: How to create a multiple orders during a single user session? - Bala Preetha - 04-26-2010 HI My test is working for one set of values... But cant accept the second set of values from the data table.. Let me explain my flow... In creating package application it wil take first set of value from data table and clicking the summary button, where i can see the package summary and clicking the add another package button to create another package. Browser will go to creating package application there it wil takes the second set of value from the data table and wil create a another package.. now while running its creating the first package and clicking add another package button, but not taking the second set of values from the data table to create another package... then how to create another package using data table during a single user session? regrads, Preetha. RE: How to create a multiple orders during a single user session? - rdemers25 - 04-28-2010 Is it not getting the information of the second row, or is in not using the information from the second row properly? Did you use the SetNewRow property of the datatable? RE: How to create a multiple orders during a single user session? - Bala Preetha33 - 04-29-2010 hi Can u say me how to use SetNewRow property in the data table? thanks, Preetha. RE: How to create a multiple orders during a single user session? - malleshjm - 04-29-2010 hi, you can also use setnextrow . datatable.import "excel path",global for i =1 to datatable.getrowcount // ur code datatable.setnextrow ' now it will be pointing to second row. end for RE: How to create a multiple orders during a single user session? - rdemers25 - 05-01-2010 Sorry, I misstyped, I really meant setnextrow. |