On Fri, Dec 2, 2011 at 9:49 AM, 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
>
> --
> 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
this will work
a=inputbox("enter a value")
b=inputbox("enter b value")
c=cint(a)+cint(b)
msgbox c
--
With Regards
Shivu
--
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