Categories: Uncategorized

by nocodebdd


Many websites now require two-factor authentication (2FA) as an extra security measure beyond a standard username and password. When a user enables 2FA for their account, they will receive a code (OTP) via their phone or email after successfully logging in with their username and password. This code must be entered on the website to complete the login process and confirm the user’s identity, helping to prevent unauthorized access to the account.

Using NoCodeBDD, it is easy to test web or mobile applications that require two-factor authentication without writing any code. Here’s how:

  1. Obtain the secret value of the application you want to set up two-factor verification for.
  2. Go to the NoCodeBDD settings page and select Two-Factor Verification.
  3. Click “Add Time-Based One-Time Password Configurations.”
  4. Provide a key value (e.g., “otpKey”) and the secret value, then save the configuration.
  5. In your automation, use the key within double curly braces (e.g., {{otpKey}}) wherever you want to pass the verification code.

A GIF is attached to show how this is done in NoCodeBDD. As you can see, it is possible to test applications that require 2FA using just a few simple steps and without any code.


You can also checkout these articles to see how you could automate Web, Mobile or API without code using NoCodeBDD:


You can download a free version of NoCodeBDD from



Subscribe to our free newsletter.

Related Posts

View all
  • 10 Tips for Writing Effective BDD Scenarios When rolling out BDD having a clear and concise scenario writing is a vital aspect of successful BDD adoption. This blog post will provide you with 10 tips to enhance your BDD scenario writing, making it easy to understand, maintainable, and efficient. 1. […]

    Continue reading
  • It will be difficult to automate testing if you don’t consider it when creating your web application. It will be difficult, regardless of whether you are a code wizard or a no-code ninja. Here are some crucial ideas to have in mind as you develop your app to make testing a […]

    Continue reading
  • Following video shows how you could roll out BDD and automate UI applications without code through few clicks using NoCodeBDD   For privacy reasons YouTube needs your permission to be loaded. For more details, please see our Footer.I Accept

    Continue reading
  • Continue reading