cancel
Showing results for 
Search instead for 
Did you mean: 

Does WebAudits work on websites that require log on?

SOLVED
ncbarnett
New Contributor

Does WebAudits work on websites that require log on?

I get an error when I use the webaudit on a url after you log on to the website. Has anybody used this functionality of figured out how it works. On replay, a 2nd webpage presents and tries to run the audit on the none logged on page (resulting in an error).

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Does WebAudits work on websites that require log on?

I would put a really long Delay (like a minute or two) after clicking the homepage link and see if that helps.  It could be that the page hasn't finished loading when TC is ready to go to the audit.

 

If that fixes it, then you can lower the Delay until it breaks again and set the Delay just past that point or you can use a Wait for the page.

View solution in original post

4 REPLIES 4
Marsha_R
Community Hero

Re: Does WebAudits work on websites that require log on?

1)Is this the sequence of what's happening?

login

web page loads

WebAudit runs but gives error

 

2) What's the error?

ncbarnett
New Contributor

Re: Does WebAudits work on websites that require log on?

The sequence is :

log on

webpage presents

Click homepage link

webaudit of webpage url

log off

 

Upon replay I get an error on webaudit execution:

Error: Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 404)

Error code: ERRORED_DOCUMENT_REQUEST

Marsha_R
Community Hero

Re: Does WebAudits work on websites that require log on?

I would put a really long Delay (like a minute or two) after clicking the homepage link and see if that helps.  It could be that the page hasn't finished loading when TC is ready to go to the audit.

 

If that fixes it, then you can lower the Delay until it breaks again and set the Delay just past that point or you can use a Wait for the page.

View solution in original post

sonya_m
Community Manager

Re: Does WebAudits work on websites that require log on?

Thank you Marsha, great thinking!

 

Hi @ncbarnett ! Does this advice help?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements