Nexial Automation

Test Automation Platform for everyone!

X

web » assertAndClick(locator,label)

Description

  • This command asserts that the element exist with the specified label and if so, proceed to perform click event on the element.

Parameters

  • locator - this parameter is the xpath of the element.
  • label - this parameter is the name of the element.

Example

Script:

Output:

See Also