Skip to content

Testing the Internet

Forms authentication

What you’ll learn

You’ll learn how to automate form authentication using Leapwork. This includes entering a username and password, submitting the form via Enter key, and validating a successful login message—handling dynamic page transitions and asynchronous element loading without writing code.

Key lessons

  • Launch the login page using the Start Recorder.
  • Capture the username field and enter the username using the Type Web Text block.
  • Use the Capture feature to simulate pressing Tab to switch to the password field.
  • Type the password and press Enter to submit the login form.
  • Capture the success message using the Find Web Element block to confirm login.
  • Connect the result to a Pass block to mark the test as successful.
  • Run the flow and verify the login process completes reliably, handling real user interactions visually and efficiently.

Additional resources

Continue your learning journey and explore all available product training sessions.