Results 1 to 6 of 6

Thread: Error comments

  1. #1

    Error comments

    How i can highlight my erro string in results?


    testlog.comment("this is error")
    In this i wnat to display error string in red color...Is it possible....Please help in this regards.....Thanks in advance...... [img]/images/graemlins/confused.gif[/img]

  2. #2

    Re: Error comments

    Use 'UserCheck' to log results with comments.

  3. #3

    Re: Error comments

    Hi suraj,

    Can u help in this issue little bit deeper..send some code ya.....

  4. #4

    Re: Error comments

    <font class="small">Code:</font><hr /><pre>UserCheck "Step 1", False, "This is error" </pre><hr />

  5. #5

    Re: Error comments

    Code should look this way ;

    Sample :

    Input #1, strMake
    Do While EOF(intFileHandle) = False

    blnItemFound = ComboBox("Name=country").FindItem(strMake)
    If blnItemFound = True Then
    UserCheck "List Check", 1, "**** Item found " &amp; strMake
    ComboBox("Name=country").Select strMake
    UserCheck "List Check", 0, "**** Item NOT found " &amp; strMake
    End If
    Input #intFileHandle, strMake ' &lt;---Read next record
    Close #intFileHandle

  6. #6

    Re: Error comments

    Thanks mouliarun1985 &amp; SurajJaldu....Its working fine ya......



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:00 PM.

Copyright BetaSoft Inc.