![]() |
|
How to Permanently Update 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: How to Permanently Update DataTable (/Thread-How-to-Permanently-Update-DataTable) |
How to Permanently Update DataTable - Suba - 04-02-2011 Hi, I am trying to incriment a value in the Globalsheet when ever the Test runs. The increemented value is available to the Runtime Datasheet. However, it's not saving in the Globalsheet so that it can be used next time. Below is the code I am using . Any suggestion will be helpful. Code: int_Iteration = Datatable("o_Iteration",dtGlobalSheet)Thanks, Subha RE: How to Permanently Update DataTable - PrabhatN - 04-04-2011 Hi Subha, A data table retains the runtime value (in your case the value you want to retain for further use) while the script is running. With the end of the script run, the data table releases the run time value and retains the original value those were given. If you want to save the updated value for further use, you can save it in an external excel sheet. To learn how to use excel sheet refer to this link |