Skip to content
Home
Code Generation
Agile Testing
Company
Success Stories
Blogs
Menu
Home
Code Generation
Agile Testing
Company
Success Stories
Blogs
Sign up
Home
Features
Company
Success Stories
Sign up
Menu
Home
Features
Company
Success Stories
Sign up
Test Studio
Validate a value from email
Retrieve the Email configurations
Connect to the email account and access the inbox folder
In order filter emails use this format
from:
john@example.com
~subject:Meeting~time:latest
Retrieves emails that matches the above selection criteria and picks the last one
From that email uses regex to extract the information
\\d{6} → this will extract a 6 digit OTP that is all numbers
^[A-Za-z]{8}$ → extracts an string of length 8 if both capital and small letters
Validate the retrieved value against the testdata
Have other questions? Access our full knowledge base!
VIEW ALL ARTICLES