Forum Discussion
baxatob
10 years agoCommunity Hero
Yes, you can use a conditional name mapping or use a variable as the property value of mapped object.
For conditional name mapping you should map all possible values of property:
WndCaption = "Value1" OR WndCaption = "Value2" AND NOT WndCaption = "Value3"
etc.
You can also use a wildcards to define your property value (e.g. WndCaption = "Value*")
Other way is using a variable:
WndCaption = yourVariable
You can assign the variable before or during your test.