Quality Assurance

Google Search Automation Error

Setting up my first automation test, I noticed the follow error returned to me “element not visible” (Please see below for exact message).

GoogleButtonClickError

As my test was pretty basic, (1. Navigate to the google.com webpage, 2. Enter a search term (Automated Testing), 3. Click the ‘Google Search’ button) I really could not understand why I was receiving this error. After being stumped for a few minutes, it finally dawned on me, search results are displayed as soon as search criteria is entered. After removing the button click statement, the error is no longer displayed. Wish I would have found this out an hour ago!