dougnoel / sentinel

A Selenium/Appium framework that enables users to focus on automating web and windows tests, so that automated tests can be written in a non-technical way in the same amount of time as manual tests can be executed.
Apache License 2.0
11 stars 13 forks source link

Introduce better string replacement #557

Open tyBouch opened 1 year ago

tyBouch commented 1 year ago

As it stands our string replacement support for variables is split into two differing calls: replaceVariable() and replaceStoredVariables()

These function slightly different in that one supports testdata. The other does not. This causes issues in items such as API where you cannot use testdata or yml configurations to load dynamic constructed API paths.

As a user I would like these combined with the following load priority: -Locally set by test or configuration -Yml file -Original text if not found