shilpa,
Try as specified in Below.
On Friday, 16 August 2013 16:29:48 UTC+5:30, shilpa gupta wrote:
>
> Hi, Thanks for the update, yhis issue is resolved but i am facing another
> one
>
> I need to validate value in a cell of a datatable and the value included
> double quotes
>
> for e.g. value in the first cell is "ABC" (including double quotes). but
> thw code below is not working:
>
> If WinWindow("title").WinTable("title").GetCellData(0,0) =
> *chr(34)&"ABC"&chr(34)
> * Then
> msgbox="True"
> Else
> msgbox="False"
> End If
> Pls suggest how to handle double quotes in this case
>
> Regards
>
> On Wednesday, August 14, 2013 5:36:47 PM UTC+5:30, Gautham wrote:
>
>> 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.