Naveen..

"hi"&chr(32)&"hello"   gives output as: hi hello

Chr(32) denotes Space as per it's  ASCII Vbscript value...Hope it's clear :)



On Thu, Dec 17, 2009 at 7:02 PM, naveen naveen11
<[email protected]>wrote:

> Hi Bibek,
>
> In continuation with this question cant we use chr(32) or vbnewline.Please
> clear this point as i am having some doubt regarding this as chr(32) is same
> as vbcrlf its my guess.If any thing wrong than please discard this mail.
>
> Regards
> Naveen
>
>
> On 12/17/09, Bibek Khatiwara <[email protected]> wrote:
>>
>> Hi nimmi! Here is the solution:Have a look on an attached image file.
>>
>> Reporter.ReportEvent 1,"Following string failed"&vbcrlf&"Row number
>> is:"&intRow&vbcrlf&"Expected string: "&Msg&vbcrlf &"Actual Message: "
>> &sActual
>>
>>
>>
>>
>> On Thu, Dec 17, 2009 at 5:39 PM, naveen naveen11 <
>> [email protected]> wrote:
>>
>>> Hi Nimmi,
>>>
>>> Try this approach
>>>
>>> Reporter.ReportEvent 1, "Following string failed",&chr(34), "Row number
>>> is:"& intRow &vbcrlf& "; &Che(34), Expected string:
>>>
>>> Lets see whether if it works otherwise try vbnewline after every comma
>>> this is my guess if it dosent work please reject this mail.
>>>
>>> Regards
>>> Naveen
>>>
>>> =============================================================
>>>
>>> On 12/17/09, Nimmi <[email protected]> wrote:
>>>>
>>>> Hi,
>>>>   I would like to see the reported variables in a new line inside
>>>> results window.
>>>> I didn't find any answers in my search.can you help.
>>>>
>>>> My report:
>>>> Reporter.ReportEvent 1, "Following string failed", "Row number is:"&
>>>> intRow & ";    Expected string: "& Msg & "Actual Message: " &sActual
>>>> Above report displays a long string.
>>>>
>>>> Is it possible to view my report like this(with new line):
>>>> "Row number is:"& intRow
>>>> "Expected string: "& Msg
>>>> "Actual Message: " &sActual
>>>>
>>>> Thx
>>>> -Nim
>>>>
>>>> --
>>>> 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]<mercuryqtp%[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
>>> "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]<mercuryqtp%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>>
>>
>>
>> --
>> Regards,
>> Bibek
>>
>>
>> --
>> 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]<mercuryqtp%[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
> "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]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>



-- 
Regards,
Bibek

-- 
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

Reply via email to