Pls try with & vbcrlf &

e.g.
Reporter.ReportEvent 1, "Following string failed", "Row number is:"& intRow
&vbcrlf& ";    Expected string: "& Msg&vbcrlf & "Actual Message: " &sActual

On Wed, Dec 16, 2009 at 6:18 PM, Nimmi <[email protected]> wrote:

> Am not sure about the syntax of newline inside ReportEvent.
> I haven't seen any sample code so far.
>
>
> On Wed, Dec 16, 2009 at 3:54 PM, Nimmi <[email protected]> wrote:
>
>> I'll try.Thx :)
>>
>>
>> On Wed, Dec 16, 2009 at 3:42 PM, Ganesh muralidharan <[email protected]
>> > wrote:
>>
>>> \n should work.
>>>
>>> On Wed, Dec 16, 2009 at 5:32 PM, 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
>>>
>>>
>>>
>>>
>>> --
>>> 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]<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
>



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

Reply via email to