UIPath Answers for UiPath Lesson 6 Selectors quiz

Answers for UiPath Level 1 Lesson 6 Selectors quiz

What can we use to build reliable automations when the selectors might not be very stable?
Ans : – Partial selectors
– Anchor Base activity
– Relative selectors
Can full selectors be used inside a container (Attach Window or Open Application activities) ?
Ans : – Yes
How many characters does “*” replace?
Ans : Zero or more
Which of the following are valid options for the “nav” tag?
Ans : – “Next”
– “Prev”
– “Up”
Which of the following statements are true regarding the Find Element activity ? (Select all that apply.)
Ans : – It returns the found element in a variable for later use
– It throws an exception if it doesn’t find the element on screen
Can UiExplorer be used to record UI interactions?
Ans : – No
What is UiExplorer used for?
Ans :- To create and fine tune selectors
– To explore the UI tree
Can a valid selector identify different elements on the screen at the same time?
Ans : – No
What is the Highlight activity useful for?
Ans : – For troubleshooting and verifying selectors
The Element Exists activity throws an exception if it doesn’t find the specified element on the screen.
Ans : – False
How can you see the full list of attributes of Ui elements?
Ans : – By using the UiExplorer tool.
How can you improve the following calendar page selector to work only for dates in 2017?
Ans : – “html app=’chrome.exe’ title=’UiPath – Calendar – * 2017′ />”
How long will the Robot try to find an UIElement (if it is not available) on the desktop?
Ans : – The value in milliseconds of the activity’s TimeoutMS property.
What are the supported wildcard characters of selectors in UiPath Studio
Ans : – *
– ?
What is the Highlight activity used for?
Ans : – To explore the UI tree
– To create and fine tune selectors
Can partial selectors be used inside a container (Attach Window or Open Application activities)?
Ans : – Yes
Can you store a Selector in a variable?
Ans : – Yes, of the type String
Which of the following is a valid full selector?
Ans : – <html app=’chrome.exe’ title=’Yahoo Finance’ />
<webctrl idx=’1′ parentid=’data-util-col’ tag=’TABLE’ />
<webctrl isleaf=’1′ tableRow=’3′ tag=’TD’ />
– <wnd app=’explorer.exe’ cls=’Shell_TrayWnd’ />
<wnd cls=’Start’ title=’Start’ />
How can you improve a selector?
Ans : – By selecting only stable attributes, if possible
– By replacing dynamic attribute values parts with the “*” or “?” wildcards
This is a reliable selector for a dynamic page: “webctrl idx=’144′ tag=’IMG’/”
Ans : – False