Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing values to DataTable
#1
Not Solved
I'm new to the site - so please forgive me if this has been answered somewhere else. Smile

I'm using the following code to set a value on the Global datasheet - I see the value written during run-time, but after the execution is completed, the values are removed from the DataTable. Any chance someone can help me figure out what I'm missing? Ideally, I want this value to be retained after execution.

With the code below, I expect to write the contents of the variable DOC_NUM to the column labeled "DOC_NUM" on the Global datasheet:
Code:
Dim DOC_NUM

DOC_NUM = "12345"

DataTable.Value("DOC_NUM",dtGlobalSheet) = DOC_NUM
Reply


Messages In This Thread
Writing values to DataTable - by chewbecca - 03-12-2015, 01:49 AM
RE: Writing values to DataTable - by babu123 - 03-17-2015, 09:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Writing to Run time data table Neetha 5 11,699 08-27-2015, 10:18 AM
Last Post: supputuri
  Reading and writing is the same text file poulomi21b 2 5,868 07-08-2014, 12:39 PM
Last Post: poulomi21b
Question User-Defined Environment Variables vs. Global Variables vs. DataTable Values imzeeshan 0 2,859 11-16-2012, 01:51 AM
Last Post: imzeeshan
  Writing checkpoint to output file - need help dublinsox 0 1,908 08-15-2012, 05:07 PM
Last Post: dublinsox
  Writing Test setup in QTP qtpbegin 0 2,069 07-20-2012, 02:25 PM
Last Post: qtpbegin

Forum Jump:


Users browsing this thread: 1 Guest(s)