Try this:
x ="IF (""ABC""<= 10, 20, 10)"
Call function_verify(x, "OK")
'Call function_verify(10,20)
Public Function function_verify(a,b)
msgbox a
msgbox b
End Function
On Wed, Aug 14, 2013 at 8:00 PM, shilpa gupta <[email protected]>wrote:
> Hello friends
>
> I want to pass arguments in vb script function. The argument contain
> double quotes
>
> for e.g.
> function_verify("IF ("ABC"<= 10, 20, 10)", "OK")
>
> here two arguments for the function 'function_Verify' are :
>
> first argument - IF ("ABC"<= 10,20,10)
> Second argument - OK
>
> I have issue for the first argument as it contains space and double quotes
>
> pls suggest some workaround
>
>
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.