04-05-2014, 10:37 PM
Hello, I am new in QTP. Can anyone help me to solve a problem? I have Action1 and Action2. I called Action2 from Action1. In Action2 I have input, Input2 And Output1 as input and out parameter. In Action 1 I wrote Input1 = 10, Input2 = 30, Dim Output and then RunAction "Action2", Input1, Input2, Output1. then MsgBox Output1
In Action2 I have --- Parameter ("Output1") = Parameter ("Input1") + ("Input2)
But when I execute the test case it only shows 1030 not the addition of the two values. What is the error in the code, can anyone please explain me?
In Action2 I have --- Parameter ("Output1") = Parameter ("Input1") + ("Input2)
But when I execute the test case it only shows 1030 not the addition of the two values. What is the error in the code, can anyone please explain me?