Exam UiPath-ADPv1 Topic 1 Question 155 Discussion
Actual exam question for UiPath's UiPath-ADPv1 exam
Question #: 155
Topic #: 1
Question #: 155
Topic #: 1
Suppose you have the following workflow that verifies if the text value of an element is equal to "Work Items":

The configuration for the Verify Control Attribute and Get Text activities is shown below:

The element and its selector are highlighted in the image below:

Taking into consideration that the page shown above will be present on screen at execution time, what will be the result of the Verify Control Attribute activity?

The configuration for the Verify Control Attribute and Get Text activities is shown below:

The element and its selector are highlighted in the image below:

Taking into consideration that the page shown above will be present on screen at execution time, what will be the result of the Verify Control Attribute activity?
Suggested Answer: D Vote an answer
The workflow in question uses a 'Verify Control Attribute' activity to check if the text value of a UI element is equal to "Work Items". The Get Text activity is used to retrieve the text from the specified UI element, and the result of this activity is compared against the expected value "Work Items".
From the provided information, the 'Verify Control Attribute' activity has been set up with the Expression
"Work Items" and the Operator set to Equality. The 'Get Text' activity is configured to extract the text from the UI element with the visible text "Work Items", as indicated by the selector shown in the image.
Since the actual value of the UI element's text is "Work Items" (which matches the expected value in the
'Verify Control Attribute' activity), and provided that the 'Get Text' activity successfully retrieves this value, the verification will pass. The configuration indicates that the activity should take a screenshot only if the verification fails (TakeScreenshotIfFailed is set to True), which will not be the case here.
Therefore, assuming that there are no other issues such as incorrect selectors or unexpected changes to the UI element at execution time, the result of the 'Verify Control Attribute' activity will be a pass.
References:
* UiPath Documentation: Verify Control Attribute Activity
From the provided information, the 'Verify Control Attribute' activity has been set up with the Expression
"Work Items" and the Operator set to Equality. The 'Get Text' activity is configured to extract the text from the UI element with the visible text "Work Items", as indicated by the selector shown in the image.
Since the actual value of the UI element's text is "Work Items" (which matches the expected value in the
'Verify Control Attribute' activity), and provided that the 'Get Text' activity successfully retrieves this value, the verification will pass. The configuration indicates that the activity should take a screenshot only if the verification fails (TakeScreenshotIfFailed is set to True), which will not be the case here.
Therefore, assuming that there are no other issues such as incorrect selectors or unexpected changes to the UI element at execution time, the result of the 'Verify Control Attribute' activity will be a pass.
References:
* UiPath Documentation: Verify Control Attribute Activity
by Marsh at May 11, 2025, 12:20 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).