Thursday, May 2, 2013

How to check for HTTP errors while recording scripts?

This is much easier than it sounds, by HTTP errors I mean the page which has images which do not get displayed or which gives HTTP status codes 404 i.e. page not found.

You just have to do some settings in the recording options.

Click 'Options' button from 'Start Recording' window. 'Recording Options' window appears.

Go to ‘Advanced’ tab and check the box specifying 'Add comment to script for HTTP errors while recording'.

Mission Accomplished!!!
Click here to know more

Click ‘OK’ to start recording.

Whenever LR will find any HTTP errors that will be included as comments into script.
These inserted comments will describe all occurred HTTP errors and contain URL and server response which can be used to determine reasons of HTTP errors.

No comments:

Post a Comment