Need to run Project(i.e mds) file from VBS script from outside Testcomplete. Please suggest the sol?
Hi, My Task is to create a driver scrip where we can execute test cases from a Vbs script file from outside of TC. Right now I am using code mentioned below. Through this I am able to open Project suite but cant run Project under it. Please suggest what can be done. This Code gives error when I call "IntegrationObject.RunProject" . Line of code highlighted
***************************************************************************
MsgBox "Start"
' Creates the application object
Set TestCompleteApp = CreateObject("TestComplete.TestCompleteApplication")
TestCompleteApp.Visible = True
' Obtains the integration object
Set IntegrationObject = TestCompleteApp.Integration
' Opens the project
IntegrationObject.OpenProjectSuite "C:\Users\saxmani\Documents\TestComplete 10 Projects\EnComa\MyAPP_RegressionSuite.pjs"
' Checks whether the project was opened
If Not IntegrationObject.IsProjectSuiteOpened Then
MsgBox "The project suite was not opened."
Else
MsgBox "Project opened"
IntegrationObject.RunProject "C:\Users\saxmani\Documents\TestComplete 10 Projects\EnComa\EnCoMa_VBSuite\Poject_VBSuite.mds"
End If
MsgBox "End"
p>