Hi Vineet ,
We can use for loop simply, along with that we can pass that ' i ' (Loop)
value
to the Input Variables.
For Ex: If you want to Login to any application multiple times,
For i = 1 to 10
B().P().WebEdit set UserName&i
B().P().WebButton(Login).click
B().P().WebButton(LogOut).click
Next
Note: ' i ' is Loop Value
Thanks & Regards
Sedhu
9043777659
On Tue, Nov 26, 2013 at 11:11 PM, Anju <[email protected]> wrote:
> You can also put the call of orginal action in another script and put a
> loop around original action
>
> In below loop UpperVal defines how many times you want to call the script.
>
> Code in new action
>
> For counter = 1 to UpperVal
>
> * LoadAndRunAction **TestPath, OriginalActionName*
>
> Next
>
> *Yes, it uses loop/iteration but it introduces us to a powerful concept of
> loading the action dynamically at runtime. *
>
>
>
> On Saturday, November 23, 2013 1:28:03 PM UTC-5, Vineet Sharma wrote:
>
>> Thanks....
>>
>> On Saturday, November 23, 2013 9:07:03 PM UTC+5:30, shanker mothkuri
>> wrote:
>>>
>>> Use QTP AOM to achieve this.
>>> On 23 Nov 2013 21:03, "Vineet Sharma" <[email protected]> wrote:
>>>
>>>> Hi Friends,
>>>>
>>>> Is there a any way that i can run my QTP test multiple times
>>>> automatically without using datatable and iteration method.
>>>>
>>>> I know, if we have a multiple rows in the localdata table, then we can
>>>> instruct QTP to iterate through all rows and test will run for multiple
>>>> times. But in my script i am not using local datatable or any other
>>>> external excel file, but i still want if QTP can run the script multiple
>>>> times automatically.
>>>>
>>>>
>>>>
>>>> Thanks
>>>> Vineet
>>>>
>>>> --
>>>> --
>>>> 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
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.