AscentialTest Support Hub

Notifications

Clear all

What is the difference between an attribute and a property?



1

Posts


1

Users


0

Reactions


17

Views

(@blesuer)
Member Admin

Joined: 4 months ago
Posts: 33

Topic starter
 

Attributes and Properties are often confused.

Attributes are found in the Attributes panel of a snapshot. They are accessed in one of two ways:
1. Using the GetAttr method, e.g. OrderManagement.Prompt.GetAttr(“Text”)
2. Using the @ operator, e.g. OrderManagement.Prompt.@Text

Properties are members of built-in Zee object classes. They are displayed in the Actions panel in the Verify and Get sections. Examples include HasFocus, IsActive, SelectText, SelectTextNoVerify. They are accessed using the member operator (.):
OrderManagement.MyListBox.SelectTextNoVerify



   

Quote

Share:

Can’t Find An Answer in the Forum?

Contact Our Team