TestComplete's interface with Stream Test is a successful integration. The powerful features of Stream enables dynamic monitoring for TestComplete Runs, collating results and generating report on the fly is a big win.
The architecture of TestComplete 5 allows for an easy-intergration to available DLL provided by Testpoint Stream.
Sample Code in TestComplete
Sub Main()
'Project.Variables.AddVariable "testpoint", "Object"
'Project.Variables.AddVariable "Result", "Integer"
'Project.Variables.AddVariable "lnextid", "Integer"
'Project.Variables.AddVariable "Result", "Double"
Set testpoint = CreateObject("TestPointStreamTestDLL.StreamTest")
Result = testpoint.Stream_dbconnect("TRM", "TRMFD", "TestPoint786")
lnextid = testpoint.GetNextREGID
Result = testpoint.SendToStream(0, "PASS", "TestComplete-TEST", "TESTING TestComplete DLL INTERFACE", "1.6.6b8", "TESTPOINT", "TEST-SUITE", "aaspire", "TC", "-")
Set testpoint = Nothing
End Sub
No comments:
Post a Comment