Generate a XML log while test is running and write some HTML and JavaScript
that read the XML. Not only you can control what result should be result but
also give you the ability of real-time report, which means you can take a
look at the result from another machine at the same time when you are
running the test.

On Wed, Oct 14, 2009 at 4:17 PM, Sreedhar Mallipeddi <[email protected]
> wrote:

> i got it
> do one thing...while u report...write a conditon to this
>
> *If u get the DONE status convert it in Pass while ur writing in
> HTML...Problem sloved*
>
> On Wed, Oct 14, 2009 at 10:21 AM, Nimmi <[email protected]> wrote:
>
>> Hi,
>> micDone is not used anywhere but micPass and micFail are used to report
>> events.
>> Html report sample looks like this:
>>
>> -------------------------------------------------------------------------------------------------------------------
>> *Name*                          *Status *             * Time    *
>>         * Details*
>> Login                           Done
>>            Browser
>> Login.Exist
>> Done                                               Object.Exists
>> Login Page
>> Done                                               Page
>> loginID.Set                    Done
>>            Page
>> password.SetSecure      Done
>> Log In.Click                   Done
>> Image.Click                   Done
>> ----------------------------------------------------------------------------------------------------------------
>>
>>
>>
>>
>> On Tue, Oct 13, 2009 at 6:00 PM, Sreedhar Mallipeddi <
>> [email protected]> wrote:
>>
>>> can u tell me what messages QTP is displaying for Done..so that we can
>>> figure out why it is showing...
>>> is it showing micDOne for the exists stmt?
>>>
>>>
>>>
>>> On Tue, Oct 13, 2009 at 5:48 PM, Nimmi <[email protected]> wrote:
>>>
>>>> Hi Sridhar,
>>>>   I checked Settings and smart identification is disabled there.
>>>>  Am using version 9.5.
>>>>
>>>>   On Tue, Oct 13, 2009 at 3:14 PM, Sreedhar Mallipeddi <
>>>> [email protected]> wrote:
>>>>
>>>>>   U have to disable the Smart Identification in ur tests...
>>>>> This will not  generate the Done status in ur report...
>>>>> What is the QTP version ur using?
>>>>> Hope this will slove ur problem
>>>>>
>>>>>
>>>>>
>>>>>    On Tue, Oct 13, 2009 at 2:08 PM, Nimmi <[email protected]> wrote:
>>>>>
>>>>>>    Hi Sridhar,
>>>>>>     I have tried this code. it still generates the report with a
>>>>>> 'Done' status, since the function is using 'Exist' inside its body.
>>>>>>
>>>>>>
>>>>>> On Thu, Oct 8, 2009 at 10:54 PM, Nimmi <[email protected]> wrote:
>>>>>>
>>>>>>> Thank you Sridhar.Will follow this code.
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Oct 8, 2009 at 8:45 PM, Sreedhar Mallipeddi <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> use the below function....instead of sync
>>>>>>>>
>>>>>>>> Function  fPageCheck (Objcheck,intCounter)
>>>>>>>>
>>>>>>>>   BoolStatus = False
>>>>>>>>   Flag = 0
>>>>>>>>   Do
>>>>>>>>    Flag = Flag+1
>>>>>>>>    If Objcheck.Exist(2) Then
>>>>>>>>     BoolStatus = True
>>>>>>>>    Else
>>>>>>>>     If Flag = intCounter Then
>>>>>>>>      Exit Do
>>>>>>>>     End If
>>>>>>>>    End If
>>>>>>>>   Loop Until BoolStatus = True
>>>>>>>>  fPageCheck = BoolStatus
>>>>>>>>
>>>>>>>> End Function
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Oct 8, 2009 at 10:24 PM, Nimmi <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Sreedhar,
>>>>>>>>>    Thanks for replying.Would be great if you can briefly explain
>>>>>>>>> the structure of such a function.
>>>>>>>>>    Is that the only way out?
>>>>>>>>>  Am new to the group.
>>>>>>>>>
>>>>>>>>>  On Thu, Oct 8, 2009 at 7:50 PM, Sreedhar Mallipeddi <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>>  if u feel that using sync is generating Done in ur reporter
>>>>>>>>>> event..then instead of sync u can create a function where it will 
>>>>>>>>>> check the
>>>>>>>>>> existence of the object ..
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>   On Thu, Oct 8, 2009 at 9:19 PM, Nimmi <[email protected]>wrote:
>>>>>>>>>>
>>>>>>>>>>>   Hi all,
>>>>>>>>>>>  Am trying to figure out how to generate a custom report.
>>>>>>>>>>>  Issue: I would like to generate a report with only Pass,Fail and
>>>>>>>>>>> Warnings.I don't want a 'Done' status in my reports.
>>>>>>>>>>>
>>>>>>>>>>> Now, am getting a report with a lot of 'Done' status in it.
>>>>>>>>>>> From my understanding this is because I use some 'Sync' and
>>>>>>>>>>> 'Exist' in my functions.
>>>>>>>>>>> I know there is the Reporter.Filter but I cannot filter 'Done'
>>>>>>>>>>> status using it.
>>>>>>>>>>>
>>>>>>>>>>> Would like to know a few things regarding reports:
>>>>>>>>>>> 1] Is there an external tool that I can use along with QTP, for
>>>>>>>>>>> generating custom reports?
>>>>>>>>>>>
>>>>>>>>>>> 2]Is it possible to disable 'Done' status  by using VBScript or
>>>>>>>>>>> any other method?
>>>>>>>>>>> 3]Is it possible to use an alternative for Sync/Exist/Wait with a
>>>>>>>>>>> simple VBScript?
>>>>>>>>>>>
>>>>>>>>>>> Can you please help me?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Mallipeddi Sreedhar
>>>>>>>>>>> 91-9000994721
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Mallipeddi Sreedhar
>>>>>>>> 91-9000994721
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mallipeddi Sreedhar
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Mallipeddi Sreedhar
>>>
>>>
>>>
>>
>>
>> --
>> Mallipeddi Sreedhar
>>
>> >>
>>


-- 
Thanks,
Kien Chiew (Elvin) Wong
(415) 860-9880

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