Forum Discussion

sankarinms's avatar
sankarinms
New Contributor
12 years ago

Regular expressions/property value inside a data source

How to use regular expression/property value inside data source. For example, I have an excel with the following entried:

href
http://staging?q=test
http://staging?q=test1

I need to replace the entries to http://${#Project#activeEnvironment}?q=test so that I can assert href tag using the datasource when run against different environment. Right now the assertion fails and don't see the property value getting passed. Please let me know

Thanks in advance
Sankari