Forum Discussion

narender_1's avatar
narender_1
Contributor
13 years ago

what is the best method to follow in web applications

Hi,

 What is the best method to follow in web applications:-



a.) Using "Namemapping"

b.) Find method  (eg., Page.NativeWebObject.Find(PropertyName, KeyValue, TagName))



Can any one please guide me when to use "Namemapping" and when to  go for  "Find method"



Thanks in Advance,

Narender








1 Reply

  • Hi,



    Using Name Mapping is the recommended approach since it allows you to create more flexible tests than using Find. I recommend that you watch this video to learn how to use it efficiently.