{{myCustomVariable}}
{{timestamp}}
or generate random values like {{testRunId}}
. {{hostname}}/v1/index.html
Test Product {{testId}}
Test case: as a user, I go to the homepage and click "sign up" button. I enter my email and password. I receive a verification email. I click the link. I use previous email and password to log in.
[email protected]
[email protected]
+12345
part in the email log-in form.//SPAN[normalize-space(text())="
Finish your sign-up"]
[email protected]
[email protected]
and replace it with acmeautomation+{{testRunId}}@outlook.com
acme.com
stage.acme.com
localhost:3000
hostname
with default value https://acme.com
Staging
and Local
https://stage.acme.com
Local
for https://localhost:3000
Go to url
actionacme.com
with {{hostname}}
. {{hostname}}/registration
or app.{{hostname}}
--variable val1=value
and --profile=profileName
. Read more in the CLI documentation.return
statement - it needs to return a specific value.variables
holds the results of your custom text variables and built-in variables.localStorage
to cache the result and then access it with custom javascript steps.variables
object. This is impossible because you can't specify the order of which the JS variables are calculated or control the dependencies. See the localStorage
workaround below.localStorage
. localStorage
. localStorage
.