Hello Madhavi,

Instead of having multiple loops, why not loop through the entire
datasheet, let the datasheet have the duplicate values. Its easier
preparing the datasheet the way you want it. for example
1. have 1-10 unique numbers
2. repeat all the above numbers again in the datasheet

Thanks,
Pratima

On Wed, Feb 27, 2013 at 6:17 AM, Madhavi Puli <[email protected]>wrote:

> Hi
>
>
>
>                                    Now I Have one doubt in qtp, suppose
> in my application mobile no field is primary key column(it won’t accept
> duplicate mobile no), if am enter duplicate mobile no in front end form  and
> I check whether it is accepting or not.
>
>
>
> 1.       I think as per my idea am preparing one excel sheet there I
> entered many mobile no’s like duplicate no etc.
>
> 2.       For the first time one mobile no is added and while entering
> second row (duplicate mobile no) it won’t accept.
>
> 3.       Here am checking second no with first no, then next third no I
> will compare with first and second no like that how many rows is there
>
> 4.       Can u tell me how to compare that or any new scenario is there?
>
>
>
>
>
>
>
>
> Regards
>
> Madhavi.P
>
>
>
>
> On Tue, Apr 10, 2012 at 8:43 PM, Srinivas Pavuluru <[email protected]>wrote:
>
>>    Do until  browser().Page().Frame().WebButton().exist ="True"
>>      browser().Page().Frame().WebButton().click
>>     wait 2
>>    loop
>>
>>
>> On 4/10/12, udaykumar vutukuru <[email protected]> wrote:
>> > Hi vamsi can u post the answer
>> >
>> > On 4/9/12, Anish Pillai <[email protected]> wrote:
>> >> Hi Vamsi,
>> >>
>> >> The only option I can think of in this situation is that you have to
>> put
>> >> an
>> >> additional loop in the beginning while will loop through each page.
>> Once
>> >> you are on a page, you can use the normal childobjects code to find and
>> >> click on the button. The navigation part will be taken care of by the
>> top
>> >> level loop.
>> >>
>> >>
>> >> *
>> >> Cheers,
>> >>  a n i s h
>> >>
>> >> [QTP
>> >> Tutorial]<
>> http://www.automationrepository.com/tutorials-for-qtp-beginners/>|
>> >> [VBScript
>> >> Tutorial]<
>> http://www.automationrepository.com/category/qtp-and-vbscript-tutorials/
>> >|
>> >> [QTP
>> >> Blogs] <http://www.automationrepository.com/qtp-blogs/>
>> >>
>> >> **
>> >> [** Subscribe to Get New Posts in your Inbox
>> >> **]<
>> http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds
>> >
>> >> *
>> >> --
>> >> Regards,
>> >> Anish Pillai
>> >> My QTP Blog <http://automationrepository.blogspot.com>
>> >>
>> >> --
>> >> 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
>> > "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
>> >
>>
>>
>> --
>> With Regards
>> Srinivas P
>> Contact Numbers
>> 0091-9849466927 (Mobile Hyderabad)
>> 0091-40-24060750 (Resi)
>>
>> --
>> 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
> "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.


Reply via email to