Radio button

uiautomation
studio

#1

Hi i have a requirement to select value of a radio button , how to achieve these ??

Ex :

  • red (red is selected then extract value (red))

o white

o blue

Thanks in advance


#2

HI @balu,
Refer this.

Regards
Balamurugan


#3

radio button already selected bot need to extract value of selected radio button


#4

Hi @balu,

Try get attributes

Title or aaname

You may get the value.

Regards,
Arivu


#5

how to use get attributes ??


#6

Hi @balu,

Get attributes activity

Pass the same selector of the radio button.

Try aaname or title you may get the value.
Refer this link

Regards,
Arivu


#7

Hi Arivu96,

Its showing the same value which we captured, even if different value is selected.
since its a dynamic one need to capture different value for each transaction .
how to achieve these ??


#8

@balu Attached an XAML. You need to get the aaname attribute using GetAttribute.Main.xaml (5.6 KB)


#9

need to extract dynamic value ??


#10

@balu Yes the selector checks for the Selected class in LI tags. In your case find out how the HTML distinguishes the selected option (usually it will be by a css class).


#11

I have tried but it gives the same value which is while capture, value is not changing.


#12

Show your Selector here, let me checkā€¦


#13

These the selector im using to fetch, i need title from second window.
so when i capture blue radio button i am getting the value blue but in next transaction the radio button is red, but here i am getting same blue value as output value is not changing.