Starting a Functional Test script from within a script
You can use the CallScript method as follows:
....
' Added so script can find Test3.
Imports Myscripts
Public Class RegressionSuite
Inherits RegressionSuiteHelper
. . .
Public Function TestMain(ByVal args() As Object)
CallScript("Test1")
CallScript(New Test2())
CallScript("Myscripts.Test3")
End Function
End Class
Do not call the TestMain method from another Functional Test script (for example, Test1.TestMain(...)). HCL OneTest UI would then be unable to ensure that each Functional Test script is
invoked properly and has the expected event handling support.