Cannot explicitly declare variables (VBScript)
In TestComplete, we cannot declare variables as such:
Dim strDescription As String
Why is that?
Re: Cannot explicitly declare variables (VBScript)
All variables in scripts are of the Variant type, and VBScript's engine doesn't allow you to specify types explicitly. You need to remove the type from your declaration:
<font class="small">Code:</font><hr /><pre>Dim strDescription</pre><hr />