Question

2
Replies
620
Views
AA924747 Member since 2017 14 posts
-
Posted: 3 years ago
Last activity: 3 years 1 month ago
Closed
Solved

How to click the radio button from HTML Table

Hi,

I would like to check the radio in HTML table. Results are not fixed as it came from a search result.

HTML looks like this:

<table>
	<tbody>
		<tr>
			<td>
				<input name="x" id="x" type="radio" value="A">
			</td>
		</tr>
		<tr>
			<td>
				<input name="x" id="x" type="radio" value="B">
			</td>
		</tr>
		<tr>
			<td>
				<input name="x" id="x" type="radio" value="C">
			</td>
		</tr>
	</tbody>
</table>

Example: I would like to select the radio button whose value starts with "C". Here, the value "C" is inside a variable in automation.

Thanks

User Interface
Moderation Team has archived post
Share this page LinkedIn