Forum Discussion

Vec84's avatar
Vec84
Contributor
8 years ago

Store data in an object in script (Jscript)

Hello,   I have a function that writes in to excel with certain results i obtain from the test i am running. After every loop of the data driven test this excel function is called and writes to the...
  • tristaanogre's avatar
    8 years ago

    What I would do is create a global variable of some sort as an array... then, during the course of your testing, add rows to that array containing the desired information.  Then, at the end of the test case, you loop through that array and write your values out to your Excel file.