krestenbagerOccasional Contributor15 years agoVB: possible to define an optional parameter in a sub?Hi all, In VB it should be possible to declare a sub procedure with an optional parameter, e.g.: Sub notify(ByVal company As String, Optional ByVal office As String = "QJZ") I know th...Show More
YMinaevStaff15 years agoHi Kresten,TC uses the standard Microsoft VBScript engine which doesn't support optional parameters.
Related ContentClickItem select another OptionUnable to set header parameter to optionalOAS3 - Error on Parameter.required - Optional ParameterRest - Parameter that is optional and empty valueTest Fails When Running with Tag: Double Parameter Default Issue
Recent DiscussionsBest way to handle Azure login using TestCompleteUnable to access Navigation menu component sub menusUnbinding a project suite from source controlSolvedIs it possible to test editing a pdf form in a browser?how to use Random Data every time you run a TC