Page 1 of 1

Writing Variables to a csv file

Posted: Wed Mar 06, 2019 4:36 am
by WesleyWest
Hello! I am working on a project where we add inventory based on a csv connector, validate what was entered is what was saved and then I need to pause the test, change the software and validate the inventory but with different item numbers. ie, the item numbers will change when the software is upgraded.

May of explained that very badly but basiclly I need to write my variables to a csv file so I can access them in a later test. Any thoughts on where I should begin to look?

thanks!

Re: Writing Variables to a csv file

Posted: Wed Mar 06, 2019 9:19 am
by Stub
Sounds like basic I/O operations via the .NET Framework APIs to create and fill a file?

Re: Writing Variables to a csv file

Posted: Wed Mar 06, 2019 9:32 am
by odklizec
Hi,

I'm personally using CSVDatConnector to save data to csv files. Check for example this post with sample code:
writing-information-from-an-xml-to-a-cs ... tml#p34657

BTW, I may miss something from the problem description, but I consider mixing an automates test with manual steps a very bad idea. But maybe I just misunderstood something? ;)