Which of the following activities can be used to get the state of a button (enabled/disabled)?
Suggested Answer: A
Get Premium UiPath-ADAv1 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The 'Get Attribute' activity can be used to get the state of a button (enabled/disabled). This activity retrieves the value of a specified attribute of a UI element, and the 'enabled' attribute can be used to determine if a button is currently enabled or disabled.
UiPath Activities Guide: Get Attribute
35 comments · newest first
TA
Tayna
10 months ago
D? Really? That doesn't make sense at all.
NA
Natalya
11 months ago
Wait, can you really use Get Attribute for this?
CH
Charlene
11 months ago
C is just for locating, not checking state.
AN
Annabelle
11 months ago
I think B works too, right?
MI
Micah
11 months ago
A is definitely the way to go!
BE
Bettyann
12 months ago
I don't think "Get Text" would help us determine if the button is enabled or disabled, but I'm a bit confused about the others.
FI
Fidelia
12 months ago
"Find Element" seems more about locating the button rather than checking its state, right?
CO
Cory
12 months ago
I remember practicing a question similar to this, and I feel like "Check App State" could be the right choice.
JA
Jaclyn
1 year ago
I think we might need to use "Get Attribute" to check if a button is enabled or disabled, but I'm not entirely sure.
LO
Louvenia
1 year ago
A - Get Attribute is the way to go. That's how you can directly access the state of the button.
TA
Tammy
1 year ago
I'm a little confused on this one. I'll have to review my notes and see if I can figure out the right approach.
AI
Ailene
1 year ago
I'm pretty confident the answer is A. Getting the attribute of the button is the best way to determine if it's enabled or disabled.
RA
Rana
1 year ago
Hmm, I'm not sure about this one. I'll have to think it through a bit more.
TE
Temeka
1 year ago
I think the answer is A. Get Attribute seems like the most straightforward way to check the state of a button.
MI
Minna
2 years ago
Haha, good thing they didn't include 'Ask the Magic 8-Ball' as an option. That would've really confused things!
GL
Glory
2 years ago
C) Find Element
LA
Lashon
2 years ago
B) Check App State
CH
Charlene
2 years ago
A) Get Attribute
KE
Kerry
2 years ago
Hmm, I'm not sure. Maybe option B would work too, if you can check the overall app state and see the button's status.
RE
Rebbecca
2 years ago
D is the obvious choice here. The text of the button would tell you if it's enabled or disabled.
NA
Natalya
2 years ago
Option C seems like the way to do it. Finding the element and checking its state would work, right?
CA
Carma
2 years ago
That's correct. Finding the element and then checking its properties is the best way to determine its state.
MA
Marg
2 years ago
Definitely. Once you find the element, you can easily check if it is enabled or disabled.
KA
Kati
2 years ago
I agree. Getting the element and then checking its attributes is a common way to get the state of a button.
RE
Rene
2 years ago
Yes, option C is the way to go. Finding the element will help you check its state.
DA
Danica
2 years ago
I'm not sure, but I think C) Find Element could also be used to get the state of a button.
ST
Stephaine
2 years ago
I agree with Ardella, because getting the attribute of a button can tell us if it's enabled or disabled.
NI
Nina
2 years ago
I think option A is the correct answer. Getting the attribute of the button is the way to go.
HE
Helaine
2 years ago
I'm not sure, but I think option D (Get Text) might also be used to determine the state of the button.
CE
Cecily
2 years ago
I believe it's option B (Check App State) to see if the button is enabled or disabled.
JE
Jettie
2 years ago
I think it's option C (Find Element) because you need to locate the button first.
KA
Kaitlyn
2 years ago
I agree, option A (Get Attribute) is the correct answer.
FE
Fernanda
2 years ago
I think you're right. Option A is the best choice for getting the state of a button.
BE
Bernardine
2 years ago
I agree, option A is the correct answer. Getting the attribute is the way to go.
AR
Ardella
2 years ago
I think the answer is A) Get Attribute.