0% found this document useful (0 votes)
209 views12 pages

Test Case For Google Web Page

1. The document outlines test cases to evaluate the functionality, performance, and security of the Google search functionality. It includes test scenarios for basic search functionality, loading multiple searches simultaneously, long search queries, and detecting automated behavior and encrypted requests. 2. The functional test cases cover search queries of different lengths and formats, signed in vs anonymous searching, language and location settings, and navigation between search result categories. Expected results include relevant search outputs and ability to navigate search pages. 3. Stress and load test cases involve opening many browser tabs and rapidly clicking search or entering long queries. Expected results are that the system should not crash under load. 4. Security test cases check for automated detection, encrypted requests
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views12 pages

Test Case For Google Web Page

1. The document outlines test cases to evaluate the functionality, performance, and security of the Google search functionality. It includes test scenarios for basic search functionality, loading multiple searches simultaneously, long search queries, and detecting automated behavior and encrypted requests. 2. The functional test cases cover search queries of different lengths and formats, signed in vs anonymous searching, language and location settings, and navigation between search result categories. Expected results include relevant search outputs and ability to navigate search pages. 3. Stress and load test cases involve opening many browser tabs and rapidly clicking search or entering long queries. Expected results are that the system should not crash under load. 4. Security test cases check for automated detection, encrypted requests
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Functional Test Cases

Sr No Test Scenario

1 Launch Google home page

Enter a word in the search text


2
box

Enter a sentence in the search


3
text box

4 Press Enter from the text box

5 Max length of search keyword

6 Invalid value in the search text


box

7 Visibility of long search text

8 Speech recognition

9 Don’t have a microphone?

10 Sign in/sign out


11 Search history

12 Search history with logging in.

13 Language

14 Country

15 I’m feeling lucky

Different categories of search


16 result
All the links on the Google
17
home page

18 Redirection to other Google


page

Search in the URL text box in


19
the browser

Stress/Load Test Cases


Sr No Test Scenario

1 Open multiple tabs/browsers

Clicking the search button


2 continuously

Writing more than 500kb text in


3 search box

Security Test Cases


Sr No Test Scenario

1 Automation detection

2 http to https redirection

3 SQL Injection
4 Sign in the request should be
encrypted
Functional Test Cases
Test Steps
Launch https://www.google.com from the following devices.
Web browsers like Chrome, Mozilla, Safari, etc.
From devices like tablets, mobile.
From windows os and Linux os

Launch https://www.google.com from any web browser.


Enter the text ‘Apple’ in the search text box.
Click the Search button

1. 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. 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. 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. 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. 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. 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. 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. 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’.
1. 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. 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. Launch https://www.google.com from any web browser.


2. Click ‘Google offered in’
1. 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.

1. 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.

1. 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. 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

1. 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

1. Open any web browser.


2. Type google.com
3. Press the spacebar
4. Write a text to search.
5. Press Enter

Stress/Load Test Cases


Test Steps
1. Open multiple tabs in a browser.
2. Launch https://www.google.com
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.

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.

Security Test Cases


Test Steps
1. Launch http://www.google.com
2. Run a simple script to search a text recursively.

1. Launch http://www.google.com
2. Check the URL

1. Launch https://www.google.com
2. Write an SQL query in the search box.
3. Click the Search button.
1. 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.
Expected Results

https://www.google.com should redirect to the Google home page.

1. On clicking the search button, it should redirect user to search results.


2. Search results should be relevant.

1. On clicking the search button, it should redirect user to search results.


2.Search results should be relevant.

1. On pressing the Enter key, it should redirect the user to search


results.
2. Search results should be relevant.

1. On pressing the Enter key, it should redirect the user to search


results.
2. Search results should be relevant.

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.

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.

1. On clicking the Enter button, it should redirect the user to search


results.
2. Search results should be relevant.

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.

User should be able to search with and without sign in.


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.

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.

It should reflect the language preference a user has provided in settings.

The user current location according to country name should reflect in


left bottom side of Google Home page.

On clicking the I’m Feeling Lucky button, it should redirect the user to
the first result, bypassing the search results page

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
On clicking the listed Hyperlinks, the user should be redirected to the
given pages.

On selecting other products like Google drive etc, page should be


redirected to those products.

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

Expected Results

The system should not crash.

The system should not crash.

String should get truncated till 500 KB.

Expected Results

Google should detect this and should provide a captcha to enter.

1. http://www.google.com to get redirected to


https://www.google.com
2. It should always have a valid certificate.

Google should show results related to the SQL queries.


No sensitive should be transmitted without encryption.

You might also like