I am a newbie to Test , I just couldn’t find the answer directly from the help documents!
Question: I would like to extract a particular value from the I am testing and write it to a text file.
I tried
And in coded test:
public void MyFirstCodeTest_CodedStep()
{
string myData = GetExtractedValue(seconds);
System.IO.StreamWriter file = new System.IO.StreamWriter("c:\\source.txt");
file.WriteLine("Expected Result: "+ myData);
file.Close();
}
But it doesn’t help!
Can you suggest a please?
Please email the answer to minu@hot.co.nz
Thanks!