UI MAPPING IN SELENIUM IDE


 It is same as object repository of QTP.
 Rather than giving element locator in target, we place it in Map file and use logical name.

ADVANTAGE

 With this, it is easy to understand script, make script more readable.
  It is easy to maintain script, it any locator change, we need to change it only in map file and it  will reflect at all places.
 It is a java script file so in case of any error it will throw exception(easy debug)

Once we create and attach map file, any recording will display logical name in IDE
After any change in file, we need to restart IDE to reflect changes

No comments :

No comments :

Post a Comment