QuestionQ294

VerifiedUI Automation

Assume the following workflow verifies whether an element’s text value equals "Work Items":

Question Image

The configurations of the Verify Control Attribute and Get Text activities are shown below:

Question Image

The element and its selector are highlighted below:

Question Image

Considering that the page shown above is on screen at execution time, what is the result of the Verify Control Attribute activity?

Explanation

Verify Control Attribute evaluates the output of the activity in its body against its Expression using the selected operator. Get Text retrieves Work Items from the targeted H1 element, and the Equality comparison with "Work Items" succeeds. A separate variable in Get Text’s Save to field is not required for the verification activity to evaluate the nested activity’s output.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!