0% found this document useful (0 votes)
17 views

LabonST_LabAssignment_List

Uploaded by

Sunidhi Patel
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

LabonST_LabAssignment_List

Uploaded by

Sunidhi Patel
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Bharati Vidyapeeth University, Pune

Institute of Management & Entrepreneurship Development, Pune

Class: MCA Sem-III


Course: Lab on Software Testing
Faculty Name: Dr. Swati Desai

Lab Assignments on Lab on Software Testing

Part A
Using Selenium IDE. Do following things:
1. Download Selenium IDE. Adding Google chrome/ Firefox Plug in (Demo)
2. Study of open source testing tools available.-Categorization of testing tools
3. Adding Selenium Extension to Google chrome, Mozilla etc.
4. Using Selenium Package in Pycharm.
5. Using Selenium Package with Dot Net.

6. Record a test. (Write Steps in the journal.)


a. Record a test of purchasing items on amazon .com
b. Record a test of searching a keyword on google.com

7. Conduct a test suite for any two web sites. (Write Steps in the journal.)

8. Generation of Bug Reports: (Write Steps in the journal.)

1. Take any known system, study its system specifications and report various bugs.
Take any system (e.g.ATM system) and study its system specifications and report the
various bugs.

Features to be tested:
1. Validity of the card.
2. Withdraw Transaction flow of ATM.
3. Authentication of the user’s.
4. Dispense the cash from the account.
5. Verify the balance enquiry.
6. Change of PIN number.
Bugs Identified:

Bug-Id Bug Name

ATM_001 Invalid Card


ATM_002 Invalid PIN
ATM_003 Invalid Account type
ATM_004 Insufficient Balance
ATM_005 Transaction Limit
ATM_006 Day limit
ATM_007 Invalid money denominations
ATM_008 Receipt not printed
ATM_009 PIN change mismatch

Bug Report:
Bug Id: ATM_001
Bug Description: Invalid card
Steps to reproduce: 1. Keep valid card in the ATM.
Expected Result: Welcome Screen
Actual Result: Invalid card
Status : Pass/Fail

Bug Id: ATM_002


Bug Description: Invalid PIN entered
1. Keep a valid card in ATM.
2. Enter the authorized PIN.
3. Menu screen should be displayed.
Expected Result: Menu screen
displayed Actual Result: Invalid
PIN screen is displayed Status :
Pass/Fail

Bug Id: ATM_003


Bug Description: Invalid Account type selected.
Steps to reproduce:
1. Enter a valid user PIN number.
2. Select the withdraw option on the main menu.
3. Choose the correct type of account (either savings or current account).
Expected Result: Enter the Amount screen
displayed Actual Result: Invalid Account
type screen is displayed. Status : Pass/Fail
Bug Id: ATM_004
Bug Description: Insufficient Balance
1. Menu screen should be displayed.
2. Select the withdraw option.
3. Select the correct type of account.
4. Enter the sufficient amount to withdraw from the account.
5. Dispense the cash screen & amount to be deducted from account
Expected Result: Collect the amount
screen displayed Actual Result:
Insufficient balance in the account
Status : Pass/Fail

Bug Id: ATM_005


Bug Description: Withdraw Limit per transaction.
1. Menu screen should be displayed.
2. Select the withdraw option.
3. Select the correct type of account.
4. Enter sufficient amount to withdraw from the account Transaction within the limit.
5. Dispense the cash screen & amount to be deducted from account.
Expected Result: Cash is dispensed and collect the
receipt Actual Result: Transaction limit exceeded
screen is displayed
Status : Pass/Fail

Bug Id: ATM_006


Bug Description: Withdraw limit per day
1. Keep a valid card in ATM.
2. Enter the authorized PIN.
3. Enter the amount to withdraw from the account.
4. Amount enter is over the day limit (>40000)
5. Amount enter is over the day limit and display screen is displayed.
Expected Result: Cash is dispensed and collect the receipt.
Actual Result: Day limit exceeded screen is displayed.
Status : Pass/Fail
Bug Id: ATM_007
Bug Description: Amount enter denominations
Steps to reproduce:
1. Keep a valid card in ATM.
2. Enter the authorized PIN.
3. Enter the amount which should be in multiples of 100.
4. Cash Dispenser screen is displayed.
Expected Result: Collect the amount screen is
displayed. Actual Result: Amount enter not in
required denominations. Status : Pass/Fail

Bug Id: ATM_008


Bug Description: Statement not printed
Steps to reproduce:
1. Keep a valid card in ATM.
2. Enter the authorized PIN.
3. Select the mini statement.
4. Current balance is displayed on the screen.
5. Collect printed receipt of the
statement. Expected Result: Collect
the mini statement receipt Actual
Result: receipt not printed.
Status : Pass/Fail
Bug Id: ATM_009
Bug Description: PIN mismatch
Steps to reproduce:
1. Keep a valid card in ATM.
2. Enter the authorized PIN.
3. Select the change PIN option on the menu.
4. Enter the current PIN.
5. Enter the new PIN.
6. Retype the new PIN
7. PIN successfully changed displayed on the screen.
Expected Result: PIN change successful.
Actual Result: PIN mismatched due to wrong PIN entered
Status : Pass/Fail
Create a Bug report for given scenario.

Application testing scenario:


Lets assume in your application you want to create a new user with his/her information,
for that you need to logon into the application and navigate to USERS menu > New
User, then enter all the details in the User form like, First Name, Last Name, Age,
Address, Phone etc. Once you enter all these need to click on SAVE button in order to
save the user and you can see a success message saying, “New User has been created
successfully”.
Now you entered into your application by logging in and navigate to USERS menu >
New user, entered all the information and clicked on SAVE button and now the
application crashed and you can see one error page on the screen, now you would like to
report this BUG.
Part B
Identify test scenarios for
1. Attendance Management System
2. Test Scenarios for a Banking Site
3. Test Scenario for e-commerce Application
4. Test Scenarios of ATM Machine
5. Test Scenarios of Facebook
6. Test Scenarios of Flight Reservation System
7. Test Scenarios of Gmail
8. Test Scenarios of Google Search
9. Test Scenarios of Hospital Management System
10. Test Scenarios of Online Examination System
11. Test Scenarios of Registration Page
12. Test Scenarios of YouTube

Part C

Create at least five Test Cases for systems given below.

1. Attendance Management System


2. Test Scenarios for a Banking Site
3. Test Scenario for e-commerce Application
4. Test Scenarios of ATM Machine
5. Test Scenarios of Facebook
6. Test Scenarios of Flight Reservation System
7. Test Scenarios of Gmail
8. Test Scenarios of Google Search
9. Test Scenarios of Hospital Management System
10. Test Scenarios of Online Examination System
11. Test Scenarios of Registration Page
12. Test Scenarios of YouTube
Part D: Selenium Web driver

Selenium Web driver Exercises:

1. Automate Amazon e-Comm Website with Selenium WebDriver


Features to be tested - Sign-up and login, search products, and purchase products for Amazon
an e-commerce website.

2. Automate GoDaddy.com Website features with Selenium WebDriver


Automate Browser actions on GoDaddy.com

3. Automate Amazon.com Website features with Selenium WebDriver


Menu Links of Amazon.com. And Validate Page Titles to verify that when clicking on menu
links then users are landing on the correct pages.

4. Find Broken Links with Selenium on a Webpage


This assignment explains how one can get all the links on a webpage or website and verify
that which links are broken or not working using Selenium. It includes the coding logic to
fetch all the web links present on a webpage and then iterate over those links.

5. Automate Search the keyword "Selenium" in the pypi.org search box


In this self-learning assignment, we'll automate the search bar on the pypi.org website with
Selenium Python. We'll search the keyword "Selenium".

6. Automate Demo Practice Form using Selenium WebDdriver


Automate all the web form elements which are mostly present on a web page like, text
buttons, radio boxes, checkboxes, date pickers, select boxes, upload file buttons, and
download links. This would help you test your Selenium basic commands knowledge.

7. Automate Google.com with Selenium WebDriver


Automate Google search using the explicit wait command of Selenium WebDriver. This is
somewhat advance level code where we'll handle Ajax calls using Selenium.

8. Automate User Registration and login of an Amazon-like e-Comm Website with


Selenium
Automate User Registration for an e-commerce website using Selenium WebDriver. This
assignment covers both negative and positive test cases and also contains an automation code
for user registration.

9. Automate Demo Sign-up form with Selenium Python


In this self-learning assignment, we'll automate Practice Form.
In this form, we'll automate every form element like, the text box, radio button, select box,
check box, button, etc.

10. Automate Upload or Download a file with Robot Class Selenium


Automate Upload or Download a file with Selenium. As we know, Selenium can't interact
with window dialogs. But in this post, we'll learn how to handle window dialogs inside
Selenium test scripts.

11. Automate a Dummy e-Comm Website with Selenium Python


In this self-learning assignment, we'll automate an e-Commerce with Selenium Python. We'll
automate the login, search product, add to cart and checkout flows.

12. Automate the "Buy Product" Functionality of the E-Commerce Website using
Selenium
Automate Buy Product functionality for an e-Commerce website using Selenium. This
assignment, it is explained how to automate the complete end-to-end flow of purchasing a
product. This is an advanced-level selenium assignment. It'll cover most of the basic and
advanced Selenium commands.

13. Automate Handling of Multiple Browser Tabs with Selenium WebDriver


This assignment describes to automate the handling of two browser tabs Google and Gmail in
a single Selenium script with some code tricks. We'll use action class commands to automate
this assignment.

14. Read Data from Web Table with Selenium WebDriver


In this assignment, you'll learn to handle web tables with Selenium. It's quite a tricky task to
automate web tables as there are no direct commands in Selenium for this. But this
assignment will teach you the tricks to read table data.

https://www.techlistic.com/2023/05/best-selenium-practice-exercises.html#google_vignette

1. Write a test suite containing minimum 4 test


2. Write and test a program to login a specific web page.
3. Write and test a program to update 10 student records into table
4. into Excel file
5. Write and test a program to select the number of students who have scored more than
60 in any one subject (or all subjects ).
6. Write and test a program to provide total number of objects
7. present/ available on the page
8. Write and test a program to get the number of list items in a list /
combo box.
9. 10. Write and test a program to count number of check boxes on
10. the page checked and unchecked count.

You might also like