Micro Focus QTP (UFT) Forums
How to save Runtime data value in an Excel sheet(specific column) - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to save Runtime data value in an Excel sheet(specific column) (/Thread-How-to-save-Runtime-data-value-in-an-Excel-sheet-specific-column)



How to save Runtime data value in an Excel sheet(specific column) - SweetyChowdhury - 05-10-2010

I am retrieving a runtime data which is visible in the runtime datasheet but I need to save that value in the same datasheet referred by the QTP script for future use.Please suggest how to continue on this.


RE: How to save Runtime data value in an Excel sheet(specific column) - manishbhalshankar - 05-11-2010

Hi Sweety,

Use:
Code:
DataTable.GlobalSheet.AddParameter("colName", "runTimeValue")



RE: How to save Runtime data value in an Excel sheet(specific column) - Anu123 - 11-12-2010

If you have any sheet in DataTable,
Use: DataTable("colName", "SheetName") = runTimeValue