I want to identify the Check ID of DYN_002_MERGEMatrix search text

Hi Guys
i want to get the check box id of “DYN_002_MERGEMatrix” in the HTML Tag. search Value “DYN_002_MERGEMatrix” and get the input name from the html tag. input name should be generated according the corresponding search value.

Please help me

DYN_2_MERGEMatrix doesn’t have any reference to the below
table./td>

Source Edit Check Target Edit Check Marked to Bypass Select
View Infix Notation in source for Check 'DYN_002_AddForm'  DYN_002_AddForm(470076) View Infix Notation in target for Check 'DYN_002_AddForm'  DYN_002_AddForm(473223)
View Infix Notation in source for Check 'DYN_002_MERGEMatrix'  DYN_002_MERGEMatrix(470077) View Infix Notation in target for Check 'DYN_002_MERGEMatrix'  DYN_002_MERGEMatrix(473224)
View Infix Notation in source for Check 'DYN_UNS_FOLDER'  DYN_UNS_FOLDER(470078) View Infix Notation in target for Check 'DYN_UNS_FOLDER'  DYN_UNS_FOLDER(473225)
1 Like

pls try with index, or table row/column or partial text

1 Like

When you say the check box id, are you referring to the values at the end of the cells, like 470076?

If that is the case, then you can use the String methods of
yourRef = str.split("\\(")[1],
or
yourRef = str.substring(str.lastIndexOf('(') + 1);
or

yourRef = org.apache.commons.lang.StringUtils.right( text, 7 );

Then you need to remove the last character, which is the closing parenthesis. Here you can use str.replace(“)”,“”)