During the development of a process, a certain label text must be retrieved. After retrieving the text, a button must be clicked and the following occurs:
1. The loading of the label text element takes longer than 30 seconds.
2. The loading of the button takes longer than 30 seconds.
3. The retrieving of the data or clicking the button must be tried until successful.
Based on UiPath best practices, what must the developer use to ensure that an error is thrown if the label text or the button element does not load?
- Use the Get Text activity with the default timeout and set the ContinueOnError property to "True". Use the Click activity in the Retry Scope activity.
- Use the Get Text activity with the default properties in a Retry Scope activity. Use the Click activity with the default properties in a Retry Scope activity.
- Modify the Get Text activity by increasing the timeout property. Use the Click activity to click the button with the default settings.
- Use the Get Text activity with the default timeout and set the WaitForReady property to "None" in a Retry Scope activity.
Modify the Click activity by increasing the timeout property and set the ContinueOnError property to "True".
Reveal Solution Next Question