Nexial Automation

Test Automation Platform for everyone!

X

desktop » saveAttributeByLocator(var,locator,attribute)

Description

  • This command is to save the attributes of the element.
  • In other words the command can be used to save the desired attributes into variable if the elements identified with the locator.
  • The command will return the attributes variable and pass or else fail otherwise.

Parameters

  • var - this parameter is to variable to save the attribute value returned by the command.
  • locator - this parameter is the actual locator of the element, by which the element need to be identified.
  • attribute - this parameter is the attribute of the element to be found {e.g class Name, Automation Id etc}

Example

See Also