I am working a long time with QF-Test, which is a automatic-test software for Java-Applications. Now I wanted to connect QC with it so it saves the results of a test directly in the QC database. I did that with VAPI-XP which works very good. The problem is now, that I want to test the software every night, so I need to schedule it. I can do that with QC inbuilt functions but therefore I have to stay logged in while I am away from the computer AND I have to reset the timer everyday.

So I started thinking about another scheduler and I tried it with VBS.. I could connect to QC via vbs already but now I don't know what to do next.
Is there any way to call a VAPI-XP-Testcase through VBS that actually saves the result in the database?!

Here is my connection approach..

Dim tdc ,Dmn
Set tdc = CreateObject("TDApiOle80.TDConnection")

tdc.InitConnectionEx "http://lp2p215c:85/qcbin"
tdc.Login "name", "password"
tdc.Connect "domain","catalog"
If tdc.LoggedIn = "True" Then
MsgBox "Connection Successfull", 64, "Quality Center"
End If


It would be really nice if anyone could help me out with this. I was searching the forum already but I couldn't find anything that would do it.

Thx in advance