![]() |
Read Next in Datatable - 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: Read Next in Datatable (/Thread-Read-Next-in-Datatable) |
Read Next in Datatable - cocojava - 10-09-2010 IE8 QTP10 Windows Data table contains Code: ColumnA-contains various zips-all rows filled Action1-sign-into test Code: Browser("Browser").Dialog("Connect to test.my.company").WinButton("OK").Click Action2-rate Code: Browser("Browser").Page("my company: U.S./Canada").Check CheckPoint("my company: U.S./Canada") The first trip through is fine. Data is filled in on all five fields, from the table. It then performs the 'Submit', and clicks 'rate another shipment' the screen clears to Rate another Shipment-and to perform the next row; but for some reason returns to the home page, rather remain on the Rate estimate page. Note: I originally had action1 at the top of Action2 and it was performing like this-that's why I split it up. The socond row that I want to now see does contain a NULL (blank) in the 'D' column; but I understand-that's OK, RE: Read Next in Datatable - supputuri - 10-09-2010 What is your exact issue here? RE: Read Next in Datatable - cocojava - 10-09-2010 sorry, that the program is returning to the home page rather than remaing at the 'rate estimate page. Because once it returns to the 'action1' it wants to 'connect to test' a second time-it never lost connection. make sense now? RE: Read Next in Datatable - supputuri - 10-09-2010 Try to do it manually if the issue is reproducing then, post a defect as the functionality is not working. Else if it is working fine then, make sure that you are in the right page while performing the operations, i.e. check for the submit button before entering the data else click on the "Rate Estimate" Link. If you need any more information let me know. RE: Read Next in Datatable - cdesserich - 10-09-2010 Sounds like the entire test is iterating. Is you DataTable data in the global sheet or the sheet for action2? RE: Read Next in Datatable - cocojava - 10-12-2010 It's in the globalsheet. I'm able to manually perform a walkthrough and NEVER return to Action1(home page). I spent a great deal of time trying to revent this from going back to Action1 yesterday-that I just deleted that step and started at Action2. Moved through script/datatable fine. Later, however I created an Action 3 with a Candian origin zip and the same flow/script as before. This now runs strangly-as one row of Action2 will run and then one row of Action3 and then row two. This isn't a problem; but I would like to put Action1 back in. That was the issue to begin with- Also now with my test results: I now have many link Name and URL failures-yet I can reach the link. I'm also not seeing much of the 'test result' web page images-They appear to be a missing image('X' on image) |