Just launching myself in QuickTest Pro, could anyone tell me if QTP uses VB or VBA or VBScript.Does it have a full version of VB?
When I define vairables like:
Dim test As Integer
and I run my test, I get the error "end statement required"
QTP uses VBscript.
Dim test As Integer gives error because VBscript doesn't support named variables as VB does.
Any variable in VBscript - variant,
unless you specifically convert or forse it to be integer or string and so on.
So you have to declare your variable as: