ExtractData / NExtractData ignores selected Attribute from select option

We can modify manually the data extraction and also extract e.g. image src, input value … attributes. In case of configuring the extraction to grab the selected item from a select element the first option from the select will extract instead.

Last Tested with Activities:

  • ExtractData
  • NExtractData

UiPath.UiAutomationActivities - 21.12.0-preview

Replication:
URL: DataTables example - Form inputs
Configure as described here:

<extract>
	<row exact="1">
		<webctrl tag="tr"/>
	</row>
	<column exact="1" name="Column1" attr="text">
		<webctrl tag="tr"/>
		<webctrl tag="td" idx="1"/>
	</column>
	<column exact="1" name="Column2" attr="value">
		<webctrl tag="tr"/>
		<webctrl tag="td" idx="2"/>
		<webctrl tag="input" idx="1"/>
	</column>
	<column exact="1" name="Column3" attr="value">
		<webctrl tag="tr"/>
		<webctrl tag="td" idx="3"/>
		<webctrl tag="input" idx="1"/>
	</column>
	<column exact="1" name="Column4" attr="value">
		<webctrl tag="tr"/>
		<webctrl tag="td" idx="4"/>
		<webctrl tag="select" />
		<webctrl tag="option" selected="selected" idx="1" />
	</column>
</extract>

And also:

Thanks for the report @ppr

I’ve also checked on the latest 22.2 and it doesn’t work there either. I’ll push it to our issue tracker for the UI Automation team to investigate.