Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Message

The Message SFDC component supports the following actions:

  • Close

  • Click

  • MouseOver

  • StoreExistence

  • StoreHeader

  • StoreText

  • VerifyText

  • VerifyPropertyValue

  • StorePropertyValue

  • VerifyExistence

  • VerifyEnability

  • VerifyVisibility

Close

This action closes the message when user clicks on cross button from message toast.

This action does not have any parameters.

Example:

Close

Click

This action clicks the specified object.

This action does not have any parameters.

Example:

Click

MouseOver

This action hovers over the specified object.

This action does not have any parameters. 

Example:

MouseOver

StoreExistence

This action stores existence of the object under the specified key. The key value can be retrieved using the key name. 

...

Parameter Name

Parameter Description

Mandatory

Data Type

Keykey

Enter the key name under which the existence's Boolean value will be stored. 

  • Stores True if the object exists.

  • Stores False if the object does not exist.

Yes

String

...

StoreExistence                               "Key"

StoreHeader

This action stores the header value of message object.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

messageKey

Enter the key in which header value of message toast will be stored.

Yes

String

Example:

StoreHeader                               "Success"

StoreText

This action stores the text of message.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Enter the key in which header value of message toast will be stored.

Yes

String

Example:

StoreText                               "S_T_key"

VerifyText

This action verifies the message text.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

message

Enter the expected text of message toast.

Yes

String

Example:

VerifyText      "Accounts Check “Qualitia" was created”

VerifyPropertyValue

This action verifies the property of the specified object using property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

propertyName

Enter the property or attribute name as specified in the DOM structure.

Yes

String

value

Enter the property value you want to verify.

Yes

String

Example:

VerifyPropertyValue      "class"    "fr small"

StorePropertyValue

This action stores the property of the specified object using  property names, such as class, id, name, and role, and parameter value, such as the actual value of the property.

...

StorePropertyValue      "key"    "class"

VerifyExistence

This action verifies the existence of the specified object. 

...

VerifyExistence      "True"

VerifyEnability

This action verifies the enability of the specified object. 

...

VerifyEnability      "True"

VerifyVisibility

This action verifies the visibility of the specified object. 

...