I need to call a Test script from a visual test. There are few variables which I need to pass to the test script and few as output from the test script into the visual test. I didn't find any method to pass variables.
Re: Talk between TestScript and VisualTest in TP6.0
I found the TP help a little light in describing this, so I hope this helps...
The Visual Test variables are set on the properties of the <<Start>> line (right click <<Start>> to get properties). The variables in the Test Script are set by right clicking anywhere in the VB code and choosing Define Test Script Variables. Here you define the input and output variables. These variables aren't DIMed in the VB code, defining them here does that for you.
One thing to note, Visual Tests can only call Test Scripts they can't call Modules or Shared Modules.
I hope this helps.
Using TestPartner 6.0 Build 462
Test Scripts & Visual Tests