UiPath Automation Developer Associate v1 — Question 9
Which selector should be adjusted according to best practices to ensure reliable and stable automation?
Answer options
- A. <html app='chrome.exe' title='Release History - UiPath Platform' /> <webctrl parentid='confluence-ui' tag='SPAN' idx='94' />
- B. <html app='chrome.exe' title='Google' /> <webctrl tag='INPUT' aaname='Search' />
- C. <html app='chrome.exe' title='ACME System 1 - Download monthly Report' /> <webctrl aaname=' Year 200?' parentid='searchForm' class='text' />
- D. <html app='chrome.exe' title='World population - Wikipedia' /> <webctrl aaname='Population by continent' tag='TABLE'/> <webctrl tableCol='3' tableRow='7' tag='TD'/>
Correct answer: C
Explanation
Option C is the correct choice because it uses unique identifiers such as 'aaname' and 'parentid' which enhance the reliability of the selector in automation. The other options may use less specific selectors or identifiers, making them more prone to failure if the UI changes.