I have a script that has 50 testcases but I would like to some how be able to look at the results before the script finishes all 50 test cases. Is there any way of importing Intermediate results to an external file before the complition of script.
there is a file with extension .jou (for journal I guess) with same name as the .T (or .S) that is being executed. this I think has what you are looking for, but partner.exe will have an exclusive lock on it, and it's probably binary.
What you could do, is write a TestCaseExit function that writes to a file, and then calls the DefaultTestCaseExit function
other than for help when silk can't write results files, I don't think you'll see any refs to it in help because this is normally a temp file for creating the RES. Again, better solution will be to write to a TXT file during TestCaseExit. Look up recovery system in manual for general guidelines, and for file handling see HANDLE / FileWriteLine / FileOpen / FileClose calls.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>It doesn't matter if I go to heaven or to hell, I have friends in both places.<HR></BLOCKQUOTE>
I have a test that posts status messages during runtime using the Windows NotePad.
It is very simple:
window MainWin Notepad
void DisplayText( STRING sIn )
Notepad.Start( "NotePad.exe" )
Notepad.DisplayText("*** Test Status and Progress Indicator ***")
I do not recommend using Notepad. It holds a limited amount of information. In
some tests I have run, I have had Notepad fill up, and cause the test to fail.
Using WordPad took care of the problem.
I use two different methods to monitor what is going on with my testcases.
First I alter the caption on the 'Runtime Status' window. Secondly, I write
test progress to a database and monitor it with a simple VB app.
Changing the Runtime Status caption:
The second part, writing to a database:
Hope this helps.
[This message has been edited by AJ (edited 05-15-2000).]