we can use tostring method which will return the string value of the parent object
On Tue, Aug 20, 2013 at 10:20 PM, surendra k <[email protected]>wrote: > Question :Assume you have recorded a web button(say submit) like below : > Browser("Browser").Page("Page").WebButton("Submit").click .All the objects > Browser,page & submit button are stored in repository. > > I want to write a function which takes 1 object as a parameter & returns > string "Browser("Browser").Page("Page").WebButton("Submit")" > > Please share your thoughts. > > Thanks > Surendra > > -- > -- > 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.
