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]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

<<attachment: im.JPG>>

Reply via email to