TestProject Forum

Testing pages with basic authentication

I’m having trouble testing pages that use basic authentication. I tried several solutions listed on the forum and google but without success.

Tried solutions:

The basic auth addon let me pass through to the page but had its own issues (some elements not showing) which resulted in tests that failed. The tests pass when recording them since I manually input the username and password.

Anyone has any solution to this situation?

Hello @zan.hudovernik
Please try the following:

  1. Create a step called Navigate to URL with Basic Auth.
  2. Put that step as your first step in the test.
  3. Edit the test and navigate to a different URL like google, let the step navigate to the URL with the auth.

Disable the step which does the normal navigation.

Edit the test to navigate to google for example: