Hi, I am using the Get Text activity to extract an ID Number. However, the ID has different formats, and I think this is why it sometimes works and sometimes doesn’t. I’ve also used the wildcard “" to make the extraction dynamic. Both ID formats show the same UI elements, with the only difference being the numbers at the end, so I replaced them with "”.
The scenario is as follows:
If I set the target to an ID like “ID: xa412qwe5sa” (a random format), it successfully extracts all IDs with that random format. However, if the format looks like “ID: NTG5171Q”, an error pops up, and it fails to extract.
This issue happens both ways. When I set the target to an ID like “ID: NTG1237JS” (a specific format), it extracts all IDs with that format, but fails to extract the randomly formatted ones like “ID: qOp0ajQx7”.
Generally we would not use attributes which changw in selector…to get the correct one which is not dynamic we use ui explorer and check the attributes which do not change