Exam UiARD All QuestionsBrowse all questions from this exam
Question 25

A developer created a process which extracts text from an element on an HTML website using a Get Text activity. The developer observed that the text can only be successfully extracted when the attribute "innertext" updates or changes from "false" to "true". The target element can take up to 20 seconds to load.

Which activity should be used before the Get Text activity to ensure the target element text can be extracted?

    Correct Answer: D

    To ensure the target element text can be successfully extracted, the 'Wait Attribute' activity should be used. The 'Wait Attribute' activity allows you to pause the process until the specified attribute of the UI element meets the desired condition, in this case, when the 'innertext' attribute changes from 'false' to 'true'. This makes it the most suitable choice for dynamically waiting for the element to be ready before proceeding with the text extraction.

Discussion
espenjoOption: D

UiPath.Core.Activities.WaitAttribute Waits for the value of a specified UI element attribute to be equal to a string. If you want to wait for a specific element to be enabled or not, please use this activity or the Get Attribute one, coupled with the aastate attribute, for example. Properties Input ⦁ Attribute - The name of the attribute to wait for. A predefined list of attributes is available as a drop-down list in the activity. This field supports only String variables. ⦁ AttributeValue - The expected value of the specified attribute. This field supports only String variables. ⦁ Element - The UI element that should contain the specified attribute. This field supports only UiElement variables. https://docs.uipath.com/activities/other/latest/user-guide/wait-attribute Answer is D

MirjalolOption: D

"The developer observed that the text CAN ONLY BE SUCCESSFULL extracted when the attribute "innertext" updates or changes from "false" to "true" this is keyword

TharakaOption: D

Wait attribue

ykwOption: D

Correct answer should be D

phileraeneOption: D

wait attribute. Delay is a fixed pause with impact on performance