3

I just started to learn QTP 11.00 In one program I am getting one compilation error on this line on QTP tool

Dim plus = 10

Here I am unable to understand this what is wrong with this line please help here.

3

This was surprisingly difficult to track down.

VBScript does not allow a variable to be declared and assigned in the same statement.

You need to change your code to

Dim plus
plus = 10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.