DoesQA
WebsiteLogin
  • Welcome to DoesQA
  • Getting Started
    • Terminology
    • Creating your first test
    • Running your first test
  • Guides
    • Working with Node Groups
    • Test Tagging
    • Interacting With Emails
    • Avoiding Login Rate Limits
    • Codeless vs Code
    • DoesQA Compared
  • Test Steps
    • Starter
      • Open
    • Browser
      • Go To Absolute URL
      • Go To Relative Path
      • Reload
      • Back
      • Forward
      • Open File
      • Run Browser Script
      • Next Tab
      • Previous Tab
      • Close Current Tab
    • Action
      • Touch
      • Double Tap
      • Drag and Drop
      • Clear
      • File
      • Select Option
      • Send Keys
      • Set MFA
      • Open Plugin
      • Scroll Into View
      • Scroll To Edge
      • Hover
      • Touch and Hold
      • Touch Release
      • Set Value
    • Check
      • Check Displayed
      • Check Not Displayed
      • Check Visible
      • Check Not Visible
      • Check Exists
      • Check Does Not Exist
      • Check Enabled
      • Check Disabled
      • Check Clickable
      • Check Not Clickable
      • Check Focused
      • Check Not Focused
      • Check Selected
      • Check Not Selected
      • Check Text
      • Check Value
      • Check Value Store
      • Check Attribute
      • Check Computed Label
      • Check Computed Role
      • Check Computed Style
      • Check Count
      • Check Title
      • Check Address
      • Check Cookie
      • Check LocalStorage
      • Check SessionStorage
      • Check Links
      • Check SFTP File Exists
      • Check SFTP File Does Not Exist
      • Check SFTP File Count
      • Check GTM Event
      • Check JSON Value
      • Check JSON Schema
    • Runner
      • Pause
      • Wait For Element To Be Displayed
      • Wait For Element To Not Be Displayed
      • Wait For Element To Be Visible
      • Wait For Element To Not Be Visible
      • Wait For Element To Exist
      • Wait For Element To Not Exist
      • Wait For Element To Be Enabled
      • Wait For Element To Be Disabled
      • Wait For Element To Be Clickable
      • Wait For Element To Not Be Clickable
      • Wait For Element Text
      • Switch Window
      • Switch Frame
      • Switch To Parent Frame
      • Add Header
      • Set Header
      • Remove All Headers
      • Stop When Element Is Displayed
      • Stop When Element Not Displayed
      • Stop When Value
      • Generate File
      • Generate Image
      • Condition
    • Change
      • Element Snapshot
      • Element Position
    • Mail
      • Open Inbox
      • Close Inbox
      • Select Email
      • Open Email
      • Wait For Email
    • Validator
      • Accessibility
      • Performance
      • Best Practices
      • SEO
      • PWA
      • Pa11y
      • Axe
    • Data
      • Alias Value
      • Set Value
      • Store Element Text
      • Store Element HTML
      • Store Element Value
      • Store Element Count
      • Store Element Attribute
      • Set Cookie
      • Store Cookie
      • Delete Cookie
      • Delete Cookies
      • Set LocalStorage
      • Store LocalStorage
      • Delete LocalStorage
      • Delete All LocalStorage
      • Set SessionStorage
      • Store SessionStorage
      • Delete SessionStorage
      • Delete All SessionStorage
      • Calculate Value
      • Replace Value
    • Express
      • DoesQA Run
      • Adyen Widget
      • Adyen PayPal
    • Integration
      • SFTP List
      • GET
      • PUT
      • POST
      • DELETE
      • Slack Send
      • SFTP Upload
    • Utility
      • Flow Comment
      • Test Comment
      • Name Test
      • Debug Value
      • Debug Element
      • Replace Text
      • Screenshot
      • Tag Test
      • Start HAR Recording
      • End HAR Recording
      • Start Console Recording
      • End Console Recording
    • Node Group
  • Node Configuration
    • Comparison Type
    • Value Standardization
    • Failed Status
    • Timeout Override
  • Elements
    • Creating Elements
    • Selector Types
      • CSS
      • XPath
      • Visible Text
      • Test ID
  • Values
    • Values (Value Store)
    • Creating Values
    • Dynamic Values
  • Configuration
    • Whitelisting IPs
    • Max Concurrency
    • CI / CD
    • Schedules
    • Block Hostnames
    • Notifications
      • Webhook
      • Email
      • Slack
    • MFA
    • Recipes
Powered by GitBook
On this page
  • Test Specific Values
  • Run Specific Values
  • Account & Flow Values
  • Date Values
  • URL Values
  • Random Values
  1. Values

Dynamic Values

A number of useful values are provided at run time.

Test Specific Values

Test specific values are different across tests & runs but remain the same throughout a test run.

Name
Description
Example

testStartedAt

When the DoesQA test runner began running the test. In the format "YYYYMMDDHHmm".

202405201301

testStartedAtUnix

The UNIX output of when the test case was started, in seconds.

1548381600

testStartedAtDay

The current day that the test runner started the test. In the format "DD".

12

testStartedAtMonth

The current month that the test runner started the test. In the format "MM".

05

testName

This value represents the name of the test running, joining up all of the "Name Test" nodes.

Alternatively, if no name nodes are present, it will be the name of the flow with an index at the end.

Login -> Register -> Verify Email

testNumber

Each test case run in DoesQA gets a unique ID, this number will never be used again, so is unique per test run (even running the same test results in a different ID).

854987

testSentence

Generates a space separated list of words beginning a capital letter and ending with a dot.

Voluptatum cupiditate suscipit autem eveniet aut dolorem aut officiis distinctio.

testFullName

A generated full name for the test. This value is the same throughout the entire test case.

Note: This is not the same as "[FIRST NAME] [LAST NAME]".

Bruce Wayne

testFirstName

A generated first name for the test. This value is the same throughout the entire test case.

Peter

testLastName

A generated last name for the test. This value is the same throughout the entire test case.

Parker

testEmail

Using the testNumber above, a unique email is created with every test. This can be used in combination with our Mail nodes to read, and interact with E-Mails within a test run.

93843@testcase.v2.doesqa.email

testEmailShort

A shorter version of the above email

93843@t.v2.doesqa.email

testUsername

A generated username for the test. This value is the same throughout the entire test case.

Note: This is not the same as "[FIRST NAME].[LAST NAME]".

tony.stark

testZipCode

A generated US ZIP Code in the format "#####".

10145

testPhoneUS

A generated US Phone Number in the format "(###) ###-###".

(123) 456-789

testPhoneUK

A generated UK Phone Number in the format "##### ### ###".

01190 123 456

Run Specific Values

Run specific values are different across runs but the same within all tests in a run.

Name
Description
Example

runId

A DoesQA Run ID for the tests, all tests triggered under the same command (Flow, Schedule, or CI/CD) will have the same Run ID.

wicked-test-automation

runLabel

If you provide a label when triggering DoesQA tests from CI/CD then this will be present. If none was sent, the value will be "No label set".

Staging Deploy v1.1

Account & Flow Values

Values unique to your account or the flow the test is from, these will be the same across all test runs.

Name
Description
Example

accountEmail

A shared mailbox across test cases, not recommended for use on registration, as it will be the same value for every test within your account.

Handy for being able to view mail that is then going to use the testEmail below.

r4Nd0m@account.v2.doesqa.email

accountEmailShort

A shorter version of the above email

r4Nd0m@a.v2.doesqa.email

flowName

Name of the flow which this test was generated from.

Users & My Account

Date Values

Some useful values to help you work with dates.

Name
Description
Example

currentUnix

The amount of seconds since 01/01/1970 at the point this value is called.

202405201301

nextDay

The next day after the test runner started the test, outputting only the day. In the format "DD"

13

nextMonth

The next month after the test runner started the test, outputting only the month. In the format "MM".

06

nextYear

The next year after the test runner started the test, outputting only the year. In the format "YYYY".

2025

yesterdayDay

The current year that the test runner started the test, outputting only the day. In the format "DD".

11

yesterdayMonth

The previous day that the test runner started the test, outputting only the month. In the format "MM".

05

yesterdayYear

The previous day that the test runner started the test, outputting only the year. In the format "YYYY".

2024

URL Values

Flow values relate to the flow the test case is a part of.

Name
Description
Example

currentUrl

The entire URL when this parameter is called.

https://does.qa/test-automation/variable-values

currentOrigin

The Origin (base domain) of the current URL when this value is retrieved.

does.qa

currentPath

The entire path (everything after the origin) when this value is called.

/test-automation/variable-values

Random Values

These values will (very very very likely) produce a different value every time they are used.

Name
Description
Example

randomNumber

A randomly generated number between 1 and 99999.

12345

randomSentence

Generates a random space separated list of words beginning a capital letter and ending with a dot.

Voluptatum cupiditate suscipit autem eveniet aut dolorem aut officiis distinctio.

randomFullName

A random full name, regenerated every time this value is called.

Wanda Maximoff

randomFirstName

A random first name, regenerated every time this value is called.

Henry

randomLastName

A random last name, regenerated every time this value is called.

Osborn

randomEmail

A random email in the format firstname.lastname@mock.does.qa.

happy.hogan@mock.does.qa

randomPhoneUK

A randomly generated UK Phone Number in the format "##### ### ###".

01190 123 456

randomPhoneUS

A randomly generated US Phone Number in the format "(###) ###-###".

(123) 456-789

randomZipCode

A random US Zip code.

45874

PreviousCreating ValuesNextWhitelisting IPs

Last updated 3 days ago