Hi,
I am writing a vb script to capture the test results(pass,fail, start time, end time, etc) and to add them into an email body. Basically I want to get Reporter.RunStatus which gives pass/fail infor. and Summary which gives the start/end time. But how do I get them in vbscript?
I tried CreateObject("QuickTest.Reporter), and it doesn't work. Also Summary is not a qtp object but en element of an action. I am new to QTP and vbs, can anyone help?
Thanks!
Rong
Plus note:
I am writing an external vbscript, which opens QTP and runs a test. At the end of test, Iwant to capture the qtp test resuls into the external vbscript and then send the results via email.
I am writing a vb script to capture the test results(pass,fail, start time, end time, etc) and to add them into an email body. Basically I want to get Reporter.RunStatus which gives pass/fail infor. and Summary which gives the start/end time. But how do I get them in vbscript?
I tried CreateObject("QuickTest.Reporter), and it doesn't work. Also Summary is not a qtp object but en element of an action. I am new to QTP and vbs, can anyone help?
Thanks!
Rong
Plus note:
I am writing an external vbscript, which opens QTP and runs a test. At the end of test, Iwant to capture the qtp test resuls into the external vbscript and then send the results via email.