Forum Discussion
HKosova
13 years agoSmartBear Alumni (Retired)
Hi Richard,
You can use the * and ? wildcards to mask dynamic parts of the value that you wish to click.
For example, "0228093259*" will match both "0228093259 / 19.999%" and "0228093259 / Description", so you can simply use:
And, by the way, you can use the "%m%d%H%M%S" format string instead of "%Y%m%d%H%M%S" to generate the date-time stamp, so that you don't have to manually remove the year part.
You can use the * and ? wildcards to mask dynamic parts of the value that you wish to click.
For example, "0228093259*" will match both "0228093259 / 19.999%" and "0228093259 / Description", so you can simply use:
....["cboIssueProcedures"]["ClickItem"](Project["Variables"]["UniqueValue"] + "*");
And, by the way, you can use the "%m%d%H%M%S" format string instead of "%Y%m%d%H%M%S" to generate the date-time stamp, so that you don't have to manually remove the year part.