Wildcards or Regex in Match Type

kriveros

New Member
Hello! Please help me...

I need to select a checkbox in a web page by the attribute "value" which must have this format:

"RVCA" & <Current month> <Previous day> & ".DAT".
What should I use as a match type? Wildcards? regex? and with what format should I do it?

Example if it were today: "RVCA0808.DAT"
 

sivagelli

Well-Known Member
If your requirement is to pass exact values for month and day.

For getting <Current month> <Previous day> use the Calculation data stage with the expression [DataItemName]&FormatDate(Today(),"MM")&FormatDate(AddDays(Today(),-1),"dd")

This would return value of type text.

Use Dynamic Match Type to pass the values to attribute.
 
Top