SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Mar 2000
    Location
    Waltham, MA, USA
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting Intermediate results

    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.

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Seattle, WA
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    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
    <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]

  3. #3
    Junior Member
    Join Date
    Mar 2000
    Location
    Waltham, MA, USA
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    Is there anymore info on .jou file available in Silk help. I only found one of these files and it only had the path to my .t file in it.

  4. #4
    Member
    Join Date
    Dec 1999
    Location
    Seattle, WA
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    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>
    <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]

  5. #5
    Junior Member
    Join Date
    Sep 1999
    Location
    Chicago, IL USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    I have a test that posts status messages during runtime using the Windows NotePad.

    It is very simple:

    window MainWin Notepad
    tag "*Notepad*"
    TextField Text
    tag "$15"
    void DisplayText( STRING sIn )
    if !Notepad.Exists()
    Notepad.Start( "NotePad.exe" )
    Notepad.SetActive()
    Notepad.Text.TypeKeys("{sIn}<enter>")

    main()
    Notepad.DisplayText("*** Test Status and Progress Indicator ***")

    ------------------

  6. #6
    Junior Member
    Join Date
    Sep 1999
    Location
    Chicago, IL USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    Looks like the indentation of my code disappeared, but you can figure it out.

  7. #7
    Senior Member
    Join Date
    Dec 1999
    Location
    Sarasota FL USA
    Posts
    109
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting Intermediate results

    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).]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:11 PM.

Copyright BetaSoft Inc.