Try
a=inputbox("enter a value")
b=inputbox("enter b value")
c=cint(a)+cint(b)
msgbox c
On Thu, Dec 1, 2011 at 11:19 PM, Raju Prasad <[email protected]> wrote:
> Hi
> testers
> below is the script is ok
> a=100
> b=200
> c=a+b
> msgbox c
>
> but if i use *inputbox* method
> a=inputbox("enter a value")
> b=inputbox("enter b value")
> c=a+b
> msgbox c
>
> output is *100200 *
>
>
>
> --
> yours
> reddy prasad
>
--
Regards,
Ganesh Muralidharan
'God Never Forgets'
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en