Google Web page

SCOPE OF TESTING:

  1. The page displayed on launching https://www.google.com
  2. The search text box.

FUNCTIONAL TEST CASES:


Test ScenarioTest StepsExpected results
1.Launch Google home page
  1. Launch  https://www.google.com from the following devices.
  2.  Web browsers like Chrome, Mozilla, Safari, etc.
  3. From devices like tablets, mobile.
  4. From windows os and Linux os
https://www.google.com should redirect to the Google home page.
2.Enter a word in the search text box
  1. Launch  https://www.google.com from any web browser.
  2. Enter the text ‘Apple’ in the search text box.
  3. Click the Search button
1. On clicking the search button, it should redirect user to search results.
2. Search results should be relevant.
3.Enter a sentence in the search text box1. Launch  https://www.google.com from any web browser.
2. Enter the text ‘what is an Apple’ in the search text box.
3. Click the Search button
1. On clicking the search button, it should redirect user to search results.
2.Search results should be relevant.
4.Press Enter from the text box1. Launch  https://www.google.com from any web browser.
2. Enter the text ‘what is an Apple’ in the search text box.
3. Press the Enter key.
1. On pressing the Enter key, it should redirect the user to search results.
2. Search results should be relevant.
5.Max length of search keyword1. Launch  https://www.google.com from any web browser.
2. Enter text ‘Johny Johny yes papa, eating sugar no papa, telling lies no papa, open your mouth hahaha ’ in the search text box.
3. Press the Enter key
1. On pressing the Enter key, it should redirect the user to search results.
2. Search results should be relevant.
6.Invalid value in the search text box1. Launch  https://www.google.com from any web browser.
2. Enter text special characters ‘@#$%^’ in the search text box.
3. Press the Enter key
1. On pressing the Enter key, it should redirect the user to ‘did not match any documents’.
2. Search results should give the message Suggestions:
a. Make sure that all words are spelled correctly.
b. Try different keywords.
c. Try more general keywords.
7.Visibility of long search text1. Launch  https://www.google.com from any web browser.
2. Enter text ‘Johny Johny yes papa, eating sugar no papa, telling lies no papa, open your mouth hahaha ’ in the search text box.
1. The input text should start scrolling towards the right-hand side.
2. On pressing the Enter key, it should redirect the user to search results.
8.Speech recognition1. Launch  https://www.google.com from any web browser.
2. Press the microphone icon in the Google text box. Start speaking valid input ‘what is an apple’.
3. Press the Enter key
1. On clicking the Enter button, it should redirect the user to search results.
2. Search results should be relevant.
9.Don’t have a microphone?1. Launch  https://www.google.com from any web browser from a desktop system.
2. Press the microphone icon in the Google text box.
3. Start speaking valid input ‘what is an apple’
1. On clicking the Enter button, it should give a message ‘ Check your microphone and audio Level.
2. It should not provide any relevant results.
10.Sign in/sign out1. Launch  https://www.google.com from any web browser from a desktop system.
2. Sign in with a google account.
3. Search ‘What is an apple’.Sign out.
4. Search ‘What is an apple’.
User should be able to search with and without sign in.
11.Search history1. Launch  https://www.google.com from any web browser.
2. Enter the text ‘ what is an apple’.
3. Press the Enter key.
4. Enter text ‘ where is a statue of Liberty located’?
5. Press the Enter key
6. Enter the text ‘ what is current weather’?
7. Press the Enter key
1. On clicking the text box , all the previous inputs should appear in history category in settings.
2. All the previous inputs should appear in form of a drop-down list in Google text box.
12.Search history with logging in.1. Launch  https://www.google.com from any web browser.
2. Login with a Google account.
3. Enter the text ‘ what is an apple’.
4. Press the Enter key
5. Log out and close the browser.
6. launch  https://www.google.com from another browser.
7. Login with the same account.
8. Enter text ‘ where is a statue of Liberty located’?
9. Press the Enter key.
10. Enter text ‘ what is current weather’?
11. Press the Enter key
1. On clicking the text box , all the previous inputs should appear in history category in settings.
2. All the previous inputs should appear in form of a drop-down list in the Google text box.
13.Language1. Launch  https://www.google.com from any web browser.
2. Click ‘Google offered in’
It should reflect the language preference a user has provided in settings.
14.Country1. Launch  https://www.google.com from any web browser.
2. Country name should be there on the left bottom side of the Google Home page.
The user current location according to country name should reflect in left bottom side of Google Home page.
15.I’m feeling lucky1. Launch  https://www.google.com from any web browser.
2. Enter the text ‘what is an Apple’ in the search text box.
3. Press the I’m Feeling Lucky key.
On clicking the I’m Feeling Lucky button, it should redirect the user to the first result, bypassing the search results page
16.Different categories of search result1. Launch  https://www.google.com from any web browser.
2. Enter the text ‘what is an Apple’ in the search text box.
3. Press the Enter key.
1. On pressing the Enter key, it should redirect the user to search results.
2. User should be able to navigate between different categories located on top.
a. All
b. News
c. Image
d. Shopping
e. More
f. Settings
g. Tools
17.All the links on the Google home page1. Launch  https://www.google.com from any web browser.
2. Different links should be reflected on the Google Home page
a. About
b. Store
c. Gmail
d. Images
e. Sign In
f. Advertising
g. Business
h. How search works
I. Privacy
j. Terms
k. Settings
On clicking the listed Hyperlinks, the user should be redirected to the given pages.
18.Redirection to other Google page1. Launch  https://www.google.com from any web browser.
2. Click the option on the right top corner of the page.
3. Select any other product of Google like Google drive etc
On selecting other products like Google drive etc, page should be redirected to those products.
19.Search in the URL text box in the browser1. Open any web browser.
2. Type google.com
3. Press the spacebar
4. Write a text to search.
5. Press Enter
1. On pressing spacebar at step 3, search google should appear in URL text box.
2. On pressing Enter step 4, the web page should be redirected to a relevant search result on google.com

Test ScenariosTest StepsExpected Result
1 Open multiple tabs/browsers 1. Open multiple tabs in a browser.
2. Launch  https://www.google.com
The system should not crash.
2 Clicking the search button continuously 1. Create a script to hit the search button continuously. Let’s say 1 click per 500 ms.
2. Run the script on the Google search page.
The system should not crash.
3 Writing more than 500kb text in search box 1. Launch  https://www.google.com
2. Construct a string of more size of 500 KB and copy-paste it in the search box.
3. Click the Search button.
String should get truncated till 500 KB.

Test ScenariosTest StepsExpected Result
1 Automation detection1. Launch  http://www.google.com
2. Run a simple script to search a text recursively.
Google should detect this and should provide a captcha to enter.
2 http to https redirection1. Launch  http://www.google.com
2. Check the URL
1.  http://www.google.com to get redirected to  https://www.google.com
2. It should always have a valid certificate.
3 SQL Injection1. Launch   https://www.google.com
2. Write an SQL query in the search box.
3. Click the Search button.
Google should show results related to the SQL queries.
4 Sign in the request should be encrypted1. Open the dev tool in the browser.
2. Launch  https://www.google.com
3. Sign in with a Google account.
4. Verify the API request and response.
5. Sign out.
6. Verify the API request and response.
No sensitive should be transmitted without encryption.