There is one difference that i forgot to mention. The spellings on Page2 is
different for Relationship. But that is just a label and i don't think the
test fails due to that.
On Fri, Nov 14, 2008 at 12:51 PM, Raheel Sheikh <[EMAIL PROTECTED]>wrote:
> Please refer to attachments.
>
> Following script is generated against Page1 for radio buttons
>
> Browser("XYZ").Page("XYZ").WebRadioGroup("frm:_idJsp69").Select "Female"
> Browser("XYZ").Page("XYZ").WebRadioGroup("frm:_idJsp71").Select "Husband"
>
> Following script is generated against Page2 for radio buttons
>
> Browser("XYZ").Page("XYZ").WebRadioGroup("frm:_idJsp59").Select "Female"
> Browser("XYZ").Page("XYZ").WebRadioGroup("frm:_idJsp88").Select "Husband"
> -------------
> I changed the property "Name" for both the above radio buttons (in Object
> Repository) to *frm:_idJsp.** respectively and called them through a
> function for both the pages.
>
> e.g on page1, RadioButton() and similary on page2, RadioButton()
>
> The function runs successfully for Page1, but it gives an error message on
> Page2, that there exists more than one object of same property.
>
> There is no such object on page2 of same property.
>
> Need assistance.
>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---