Monday, July 6, 2009

[bug] If Search field is null, then error message is returned twice -- on everydayhealth.com

Web site under test: everdayhealth.com

Designer and maintainer of Website: waterfrontmedia.com

Title: If Search field value is null, then, upon submit, then error message is returned twice -- under certain conditions.

Date discovered: 7/6/09, 13:37hrs NYC Time.

Severity: Minor.

Priority: Minor.

Tested against the following clients:

- Mac 10.5.6 / FF 3.0.11 -- fail.

- Mac 10.5.6 / Safari 3.2.1 -- fail.

- Win XP SP2 / IE 7.0 -- pass.

- Win XP SP2 / FF 3.0.11 -- fail.

Testing steps / how to reproduce:

Test A:

A1. Navigate to everydayhealth.com.

A2. Do not log-in.

A3. Place the cursor into the search bar located in the upper-right-hand corner of the page and do NOT type in any text.

A4. Click the "search" button.

A4.1 Expected results: The error message, "Please enter your search criteria", shall only appear to the user once.

A4.2 Actual results: The error message "Please enter your search criteria" appears to the user twice.

Note: If the user does a search, using any search string, then, at the bottom of the search results page, there will be presented to the user a search field. If the user then places the cursor into this search field (located at the bottom of the results) and does NOT type in any text and then clicks on submit, then the error described in this report (that of the 'error message' being returned twice) does NOT manifest. The 'error message' is only returned once -- which is the correct behavior.

Test B:

B1. Navigate to everydayhealth.com.

B2. Log-in.

B3. Place the cursor into the search bar located in the upper-right-hand corner of the page and do NOT type in any text.

B4. Click the "search" button.

B4.1 Expected results: The error message, "Please enter your search criteria", shall only appear to the user once.

B4.2 Actual results: The error message "Please enter your search criteria" appears to the user twice.

Note: If the user does a search, using any search string, then, at the bottom of the search results page, there will be presented to the user a search field. If the user then places the cursor into this search field (located at the bottom of the results) and does NOT type in any text and then clicks on submit, then the error described in this report (that of the 'error message' being returned twice) does NOT manifest. The 'error message' is only returned once -- which is the correct behavior.