Than use the Do While Loop & continue looping till this string is displayed.

On Mon, Sep 14, 2009 at 11:14 AM, Daim Phillips <[email protected]> wrote:

> There is a success message that is displayed at the end of successful
> transaction
>
> *"Your transaction is completed"*
>
>
> On Mon, Sep 14, 2009 at 10:27 AM, Manish Bhalshankar <
> [email protected]> wrote:
>
>> Hi Daim,
>>
>> Is there any string displayed on the page such as "Transaction in Process"
>> or any such string at the time the transaction is in process. If so, check
>> for the existance of that string in the Do While loop.
>>
>>   On Fri, Sep 11, 2009 at 5:06 PM, Daim Phillips <[email protected]>wrote:
>>
>>> This is a web based application and the transaction gets slower or faster
>>> depending upon the size of attachment. , e.g. following are the fields
>>>
>>> Name
>>> Address
>>> Picture
>>>
>>> This is one case.
>>>
>>> Secondly, the performance of this page also gets affected depending on
>>> the number of users logged in. The fewer the number, the faster the
>>> transaction takes place on button click.
>>>
>>>
>>>
>>>
>>>
>>>  On Fri, Sep 11, 2009 at 10:00 AM, Manish Bhalshankar <
>>> [email protected]> wrote:
>>>
>>>>  Hi Daim,
>>>>
>>>> Is your application a Web based application?
>>>> If so than check if the browser is in busy state while the transactions
>>>> are processed. For Browser busy you can use the following:
>>>>
>>>> Dim i
>>>> i = 0
>>>> Do While Browser("micclass:=Browser", "title:=<title of your
>>>> page?").Object.Busy
>>>>      i = i + 1
>>>>      If i = 100 Then
>>>>         Exit Do
>>>>      End If
>>>> Loop
>>>>
>>>>  On Wed, Sep 9, 2009 at 12:05 PM, Daim <[email protected]> wrote:
>>>>
>>>>>
>>>>> There is a button say “Process”, which when clicked processes the
>>>>> transaction.
>>>>>
>>>>> The transactions are processed on different time slices. Some
>>>>> transactions take 5 seconds, some even take 50 seconds.
>>>>>
>>>>> I want to automate my test such that it is not dependent on time at
>>>>> all. As soon as the transaction is completed, it should go to the next
>>>>> step.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manish | HPCP
>>>>
>>>> Messanger IDs:
>>>> Skype: manishbhalshankar
>>>> Yahoo: manishbhalshankar
>>>> GTalk: manishbhalshankar
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Manish | HPCP
>>
>> Messanger IDs:
>> Skype: manishbhalshankar
>> Yahoo: manishbhalshankar
>> GTalk: manishbhalshankar
>>
>>
>>
>
> >
>


-- 
Regards,
Manish | HPCP

Messanger IDs:
Skype: manishbhalshankar
Yahoo: manishbhalshankar
GTalk: manishbhalshankar

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