sankarinms
10 years agoNew Contributor
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
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