Live Project


Live Project

---------------------------------------------------------------
• Project Information
• Project Description
• Stake holders of the Project
• Interfaces of the Application
• Admin Interface
• Features to endure Tested inward Admin Interface
• Features to endure Tested inward User Interface
• Smoke Tests for Admin Interface
• All Possible Tests inward Admin Interface
• Smoke Tests for User Interface
• All Possible Tests for User Interface
---------------------------------------------------------------
Functional Test Automation using Selenium

Project Info:
 

Project Domain: Ecommerce

Sub-Domain: B2C (Business to Customer)

Application: Online Shopping Portal

Application Environment: LAMP (Linux, Apache, MySQL too PHP)

Production Environment: Internet Public Application

Test Environment: Intranet
--------------------------------------------------------
Project Description:

This spider web portal provides interface betwixt Vendors/Manufacturers too Customers,
Manufacturers house their products information too sell Products,
Customers sentiment Products too Buy Products,
Financial Service providers render Money Transactions,
Courier Service Providers send products, render products, (From Manufacturers to Customers, Customers to Manufacturers)
--------------------------------------------
www.gcrit.com -Domain

www.gcrit.com/build3/ - (build3 is Folder)

english.tupaki.com/ - (english - Sub-Domain)
-------------------------------------------------------------
Stake holders of the Project

i) Web Portal Owner/Developer
ii) Manufacturers
iii) Financial Service providers
iv) Courier Service Providers
v) Customers.
-----------------------------------------------
Interfaces of the Application

i) Admin Interface (Provides Master Data (Add/Edit/Delete), too Maintenance)

ii) User Interface (Business Operations)

i) Admin Interface

Users:
Project Admin
Manufacturers
Financial Service provider
Courier Service Provider

Admin URL:

http://www.gcrit.com/build3/admin/

User Name: admin
Password: admin@123


User Interface URL:

http://www.gcrit.com/build3
-----------------------------------------------------------------
Features to endure Tested inward Admin Interface

i) Redirect from Admin Interface to User Interface earlier Login

ii) Admin Login

iii) Redirect from Admin Interface to User Interface afterwards Login

iv) Add / Edit / Delete Manufacturers(Project Admin)

v) Add / Edit / Delete Categories (Manufacturers)

vi) Add / Edit / Delete Products (Manufacturers)

vii) Add / Edit / Delete / Set default Currency) Currencies

viii) Product Reports

ix) Customer Reports etc...
----------------------------------------------------------------
Features to endure Tested inward User Interface

Users

i) Guest Users (Launch Application, View Products, Search Products)
 

ii) Registered Users (Launch Application, View Products, Search Products, Buy Products etc...)
------------------------------------------
i) Launch Application

ii) Search products

iii) Customer Registration

iv) Customer Login

v) Buy Products (Add/delete products, Add/edit Quantity, Discounts, Select payment alternative too Checkout etc...)
--------------------------------------------------------------------
Smoke Tests for Admin Interface

Smoke Testing too Sanity Testing

Test Execution Levels
    Smoke Testing
    Comprehensive Testing
    Defect Reporting too Tracking
    Sanity Testing
    Regression Testing Cycle 1
    Defect Reporting too Tracking
    Sanity Testing
    Regression Testing Cycle 2
    Defect Reporting too Tracking
    .
    .
    .
    Final Regression
--------------------------------------------------
Test Scenario too Test Case

Business Requirement
Software Requirement
Test Requirement / Use Case
    Test Scenario
        Test Cases (Test Data-Applicable for roughly Test Cases, Input information to execute the Test Case)
---------------------------------------------
Functional Test Requirements
Functionality Tests
Security Tests


Non-Functional Test Requirements
Performance Test Requirements
Usability Test Requirements
Reliability Testing etc...

Example for Functional Test Requirement

Admin User Login to Application
---------------------------------------------
Example for Performance Test Requirement

Login for G Concurrent users (within v Seconds)

Example for Usability Test Requirement

Verify Alignment of Elements of Admin Login Page
----------------------------------------------------------
Test Requirement: Admin User Login to Application

Test Scenarios:

i) Admin Login to Application using Valid Username too password
ii) Error message for invalid Login attempt

Test Cases:
For Positive Scenario
(Input, precondition, post condition, Steps, expected number etc...)
i) Verify Admin Login using Valid User cite too Valid Password

Test Data:
Username: admin
Password: admin@123

For Negative scenario:
i) Verify Admin Login using Valid User cite too Invalid Password

Test Data:
Username: admin
Password: abcd123

ii) Verify Admin Login using Invalid User cite too Valid Password
Test Data:
Username: abcd123
Password: admin@123

ii) Verify Admin Login using Invalid User cite too Invalid Password

Test Data:
Username: xyz123
Password: abcd123
etc...
----------------------------------------------------------------------
Smoke Tests for Admin Interface
 

i) Launch Application
ii) Admin Login
iii) Add Manufacturer
iv) Add Category
v) Add Product
vi) Add Currency
vii) Admin Logoff etc...
-----------------------------------------
All Possible Tests inward Admin Interface

i) Launch Application
ii) Verify Elements presence inward Login page
iii) Redirect to User Interface from Admin Interface
iv) Admin Login
v) Admin Login Invalid attempt
vi) Verify maximum Login attempts
vii) Verify Elements presence inward Index page (After Login)
* Verify Elements inward each page of the Application
viii) Verify Add Manufacturer
ix) Invalid crusade for Add Manufacturer
x) Verify Edit Manufacturer
xi) Verify Delete Manufacturer
xii) Verify Add Category
xiii) Verify Edit Category
xiv) Verify Delete Category
xv) Verify Add Product
xvi) Verify Edit Product
xvii) Verify Delete Product
xvii) Verify Add Currency
xix) Verify Edit Currency
xx) Verify Delete Currency
xxi) Set default Currency
xxii) Verify Product viewed report
xxiii) Verify Product purchased report
etc...
------------------------------------------------------------
Smoke Tests for User Interface

i) Verify Launch Application
ii) Verify "Create an account" alongside valid input data
iii) Customer Login alongside Valid inputs
Etc..

All Possible Tests for User Interface

i) Verify Launch Application
* Verify Existence of Elements for every page of the Application
ii) Verify "Create an account" alongside valid input data
iii) Invalid crusade for "Create an account"
iv) Customer Login alongside Valid inputs
v) Customer Login alongside Invalid inputs
vi) Verify Customer Logout
vii) Verify "Add production ro Cart"
viii) Verify Remove Product
ix) verify Add Quantity
x) Verify Update Quantity
xi) Verify Change Address
xii) Verify Select Payment method
xiii) Verify Checkout
Etc...
-----------------------------------------------
Element Locators
Selenium WebDriver Commands/Methods
Java Programming
TestNG Annotations
-------------------------------------------
Automate Admin, User interfaces Test cases.

Sumber http://www.gcreddy.com/
Post a Comment (0)
Previous Post Next Post