Sometimes testers are confused with tag and identifier. Thats why, I prepared this post.
Identifier
Identifier is equal to a variable and it holds the object's reference. The Constraints, which is applicable for variable, is applicable for identifier also. You can not give special characters such as space, dollar etc into the identifier.
Testcases use the identifier to refer to an object. In Winrunner, it is referred as Logical Name.
tag
Tag is a string information, which contains the object details. Tag is the physical description of the object. SilkTest uses the tag to identify objects in the application under test when recording and when executing testcases. Testcases never use the tag to refer to an object. Tags are classified as tag and multitag.
Types of tags:
- Caption
- Prior text
- Index
- Window ID
- Location
- Attributes - only for HTML objects (Added from Silktest 2006).
More details: See the Silktest help for tag: definition
No comments:
Post a Comment