Application Center Usage - Debugging ACT in Dev Studio

This is Interesting: Free IT Magazines  
Home > Archive > Application Center Usage > October 2004 > Debugging ACT in Dev Studio





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Debugging ACT in Dev Studio
haughki

2004-10-15, 9:09 pm

Hi all,

I've started working on ACT in Dev Studio. It's a much nicer
interface for me than the stand alone test runner. One thing that's
really nice is watching the test status in the Output Window. It
seems like it should be possible to trace out to this window as well,
but I haven't been able to figure out a way yet.

Anyone know how? I'd like to be able to see debug/trace statements in
the DevStudio output window instead of having to refer to my ACT log
after each test run to see the Test.Trace statements.

I've tried monkeying around with the following:

' File System Object.
Dim fScriptObj
Set fScriptObj = CreateObject ("Scripting.FileSystemObject")

' get the stdout stream
Dim stdout
Set stdout = fScriptObj.GetStandardStream(1)

stdout.WriteLine "Hello, VBScript."

This seems like it should work, but apparently the Output Window isn't
stdout or stderr.

1>ScriptError,The handle is invalid.(33,1)

Anyone know how to use VBScript to get a handle to the Output Window
stream?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com