Android apps to use in appium android test examples

Breaking

Monday, May 28, 2018

Project

Project

Application: GCRShop Online Shopping Web Portal
i) Admin Interface
www.gcrit.com/build3/admin/
ii) User Interface 
www.gcrit.com/build3/

Admin Interface: For Software Application maintenance...
User Interface: For Conducting specific Business Operations
----------------------------------------------- 
Test Level: System Testing
Test Type: Functional Testing
   Functionality Testing, Database Testing....
Note: Database Testing is a subset of Functional Testing, but It is likewise role of the performance Testing....
Functional & System Testing....   
----------------------------------------------- 
1) Project Information
2) Project Description
3) Stake Holders of the Project
4) Interfaces of the Project/AUT
5) Features to live on Tested inwards Admin Interface
6) Features to live on Tested inwards User Interface
7) Test Requirements, Test Scenarios, as well as Test Cases...
8) Derive Smoke Test Cases for Admin Interface
9) Derive Smoke Test Cases for User Interface
10) Derive Comprehensive (All Possible) Test Cases for Admin Interface...
11) Derive Comprehensive (All Possible) Test Cases for User Interface...
----------------------------------------------- 
1) Project Information

Domain: ECommerce

Note: Domain agency an Area, Software Development/Testing betoken of stance domain means, Project 
Business Area...

Important Domains inwards the Information Technology Industry...
BFSI.....
ERP
Banking...
Insurance....
Telecom
Healthcare
Ecommerce
Retail Market
Others (Anti Virus, Games, Etc...)
----------------------------------
Sub-Domain: Business to Customer (B2C)
(Ecommerce - B2B, B2C, C2B, C2C)

Application: Online Shopping Web Portal

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

Type of the Application: Public Web Application (Internet Application)
----------------------------------------------- 
2) Project Description

In this Software Application nosotros cause got two Interfaces, 
1) Admin Interface / Server side Interface - Application Maintenance (by Admin users of the Organization...)
2) User Interface / Client side Interface - Conduct Specific Business Operations...
--------------------------
Online Shopping Application....
Type 1: Vendors alone prepare their ain Online Shopping portal to Sell their products
Type-2: Some Third political party people prepare Online Shopping portal to Sell & Buy products

Our Application likewise sec Type...

Admin Interface: 
In Admin Admin Interface. First Manufacturer Register, Add Category, Add Product, Add Currency...
Edit Manufacturer,  Delete Manufacturer, Edit Category, Delete Category, Edit Product,  Delete Product, 
Edit Currency, Set Default Currency, Delete Currency, Generate Product wise Reports, as well as Generate 
Customer wise Reports...

Admin User Add Financial Service Provider, Edit Financial Service Provider, Delete Financial Service Provider...
Admin User Add Courier Service Provider, Edit Courier Service Provider, Delete Courier Service Provider....
Admin User Add Distributor, Edit Distributor, Delete Distributor...
Admin User Add Report, Edit Report, Delete Report....
-------------------------
User Interface:
In User Interface, Portal Developer provides Interface betwixt Manufacturers as well as Customers,
Manufacturers house /show their Product Information ans Sell...,
Customers stance Products, Search Products, Register, Login to Application, Buy Products, as well as Track Orders etc...
----------------------------------------------- 
3) Stake holders of the Project (Production Environment...)

i) Web Portal Developer/s
ii) Manufacturers / s
iii) Financial Service Providers
iv) Distributes of the Manufacturers / s
v) Courier service Providers
vi) Customers (General, as well as Registered Customers)
----------------------------------------------- 
4) Interfaces of the Project / AUT

This Application has two Interfaces,

i) GCRShop Admin Interface - Maintenance of the Application

Master Data: Required Data for Running the Application
(Ex: In Internet Banking Application, Add Bank info, Branches, ATMs, Products, Bank History etc...)

GCRShop Adimin Interface Login Details,

URL: http://gcrit.com/build3/admin
-----------------------
http: Hyper Text Transfer Protocol
www - World Wide Web
gcrit.com - Web Domain / Web Address
build3 - Folder
admin - Sub-Folder
-------------------
http://english.tupaki.com/
tupaki.com - Web Domain
english - Sub Domain

http://telugu.greatandhra.com/
telugu - Sub Domain
------------------------
http://www.gcrit.com/build3/admin/login.php
login.php - Web Page


java-interview-questions-and-answers.html - Web Page

Web Domain/Web Page...
Web Domain/Folder/Web Page...
Web Domain/Folder/Sub Folder/Web Page...
Sub Domain/Web Domain/Web Page...

Username: admin
Password: admin@123
----------------------------
ii) GCRShop User Interface - To bear specific (Online shopping) employment organisation operations

> View Product/s, Search Product/s, Advanced Search product/s, Customer/User Registration, Login, 
Choose Product/s, Add to Cart, Buy product/s, Track Order/s Status, Return product/s....

URL: http://www.gcrit.com/build3/
Note: No restrictions, anybody tin flame usage this interface, but if you lot desire to purchase the product/s
then you lot involve to register (Free) as well as Login....
----------------------------------------------- 
5) Features to live on Tested inwards Admin Interface

i) Launch the Application
ii) Admin Login to Application
iii) Redirect Operation from Admin to User Interface
iv) Add / Edit / Delete Manufacturer
v) Add / Edit / Delete Category
vi) Add / Edit / Delete Product
vii) Add / Edit / Delete/Set equally Default Currency
viii) User & production Reports...
----------------------------------------------- 
6) Features to live on Tested inwards User Interface

i) Launch the Application
ii) View product/s
iii) Search Product/s
iv) Advanced Search Product/s
v) Customer / User Registration
vi) Customer / User Login
vii) Buy product/s (Login , Choose Product/s , Update Quantity, Delete Product/s, Change the Details,
Select Payment Option, Checkout...)
viii) Track Order Status....
----------------------------------------------- 
7) Test Requirements, Test Scenarios, as well as Test Cases....

Business Requirements (BRS...)
 Software Requirements(SRS...)
  Test Requirements...
   Test Scenarios (Positive as well as Negative...)
    Test Cases (Positive as well as Negative Test Cases...)
    Test Data (* Test Data required for or hence Test Cases only)
---------------------------
Software Requirements / Test Requirements...
 Functional Requirements
 Non Functional Requirements
  Performance Requirements
  Usability Requirements
  Reliability Requirements etc...
-------------------------
Functional Requirement: Admin User Login to GCRShop (http://gcrit.com/build3/admin) Admin Interface

Test Scenarios:
i) Admin Login amongst valid Username as well as valid Password (Positive exam Scenario)
ii) Admin Login amongst valid Username as well as invalid Password (Negative Test Scenario)
iii) Admin Login amongst invalid Username as well as valid Password (Negative Test Scenario)
iv) Admin Login amongst invalid Username as well as invalid Password (Negative Test Scenario)
v) Admin Login amongst blank Username as well as blank Password (Negative Test Scenario)
Etc...
--------------------------------------
Test Case:
1) Test Case ID:TC_Ad_001
2) Test Case Name/Description: Verify Admin Login to the Application (with valid input)
3) Test Suite Id: TS_Ad_01
4) Priority: P0
5) Pre Condition: None
6) Steps to live on Executed: 
 i) Launch the Browser
 ii) operate into Username
 iii) Enter Password
 iv) Click "Login" Button
7) Test Data : Ref: TestData.xlsx...
8) Post-Condition: Get Index Page of the Application
9) Software & Hardware: Hardware configuration, Windows vii OS etc...
10) Expected Result: Index Page / "http://www.gcrit.com/build3/admin/index.php"
11) Actual Result: 
12) Test Result: Pass/Fail
13) Comments...
-----------------------
Test Data
Username: admin
Password: admin@123
-----------------------
Note: No Test Data for Some Test cases...
-----------------------------------------
Software Requirement
 Functional Requirement
  Test scenario/s
   Test Case/s & Test Data...
----------------------------------------------- 
Performance Requirement: Admin Login to the Application amongst thou Concurrent Users inwards 8 Seconds
Usability Requirement: Fields Alignment as well as Font Sizes inwards Admin Login Page (Before Login)
Reliability Requirement: Redirect From Admin Interface to User Interface xx Times...
----------------------------------------------- 
8) Derive Smoke Test Cases for Admin Interface

i) Verify Launch Application (Admin Interface, Includes Launch Browser)
ii) Verify Required Elements availability of Login Page
iii) Verify Admin Login amongst valid input for Admin Interface of the Application
iv) Verify Required elements availability of Admin index page (after login)
v) Verify Add Manufacturer
vi) Verify Add Category
vii) Verify Add Product
viii) Verify Add Currency
ix) Set default Currency Etc...
----------------------------------------------- 
9) Derive Smoke Test Cases for User Interface

i) Verify Launch the User Interface of the Application amongst valid URL
ii) Verify Required Elements availability (Constant / Fixed Elements) of User Interface Home Page
iii) Verify Customer Registration to the Application amongst valid Data.
iv) Verify Customer Login amongst valid Email Address as well as password to User Interface
vi) Verify Add Product/s 
vii) Verify Selection of Payment Mode
viii) Verify Checkout Process...
ix) Verify Customer "Track (Order) Status etc...
----------------------------------------------- 
10) Derive Comprehensive (All Possible Test Cases) for Admin Interface

i) Verify Launch Application (Admin Interface, Includes Launch Browser)
ii) Verify Required Elements availability of Login Page
iii) Verify Redirect Functionality earlier Login tot the Application (From Admin to User Interface) 
iv) Verify Admin Login amongst valid input for Admin Interface of the Application
v) Verify Redirect Functionality afterward Login tot the Application (From Admin to User Interface) 
vi) Verify Admin Login amongst Invalid input for Admin Interface of the Application
vii) Verify Admin Login amongst three sets of Invalid information (Lock the Login Functionality for v minutes)
viii) Verify Admin Login to Admin Interface afterward v minutes
ix) Verify Required Elements availability inwards Admin Index Page
x) Verify Add Manufacturer
xi) Verify Edit Manufacturer
xii) Verify Delete Manufacturer
xiii) Verify Add Category
xiv) Verify Edit Category
xv) Verify Delete Category
xvi) Verify Add Product
xvi) Verify Edit Product
xvii) Verify Delete Product
xviii) Verify Add Currency
xix) Verify Edit Currency
xx) Verify Delete Currency
xxi) Verify Set Default Currency
xxii) Verify Customer Report/s
xxiii) Verify Product Report/s
xxiv) Verify Log Off 
----------------------------------------------- 
11) Derive Comprehensive (All Possible) Test Cases for User Interface

i) Verify Launch the User Interface of the Application amongst valid URL
ii) Verify Required Elements availability (Constant / Fixed Elements) of User Interface Home Page
iii) Verify products "Search"...
iv)  Verify products "Advanced Search"...
v) Verify "create an account" / Customer Registration amongst valid input data
vi) Verify "create an account" / Customer Registration amongst invalid input data
vii) verify "login"/Customer Login valid input data
viii) verify "login"/Customer Login invalid input data
ix) Verify "Shopping Cart" earlier Select whatever product
x) Verify "Shopping Cart" afterward Select whatever product/s
xi) Verify "Update" inwards Shopping Cart spell add together a product
xii) Verify "Update" inwards Shopping Cart afterward add together a product
xiii) Verify "Remove" the Product from Shopping Cart
xiv) Verify "Checkout" earlier select whatever production as well as earlier Login
xv) Verify "Checkout" afterward select whatever product/s as well as earlier Login
xvi) Verify "Checkout" earlier select whatever production as well as afterward Login
xvii) Verify "Checkout" afterward select whatever product/s as well as afterward Login
xviii) Verify "Change Address" amongst or hence other address
xix) Verify availability of all Payment Methods
xx) Verify Select "Payment Method"
xxi) Verify "CheckOut" Process
xxii) Verify "LogOff" Etc...
----------------------------------------------- 
Write Detailed Test Cases for Smoke Tests inwards Admin Interface

i) Verify Launch Application (Admin Interface, Includes Launch Browser)

1) Test Case ID: TC_Ad_001
2) Test Case Name: Verify Launch Application (Admin Interface, Includes Launch Browser)
3) Test Suite ID: Ad-01
4) Pre-Condition: None
5) Step to live on Executed:
 i) Launch the Browser
 ii) Navigate to GCRShop Admin Interface (Home Page) ("http://www.gcrit.com/build3/admin/")
6) Test Data: None
7) Post Condition: GCRShop Admin Home Page
8) Verification Point:
    Capture the Page Title as well as Compare amongst Expected
9) Expected Result: GCRShop
10) Actual Result: (*After Execution)
11) Test Result: Pass/Fail (*After Execution)
12) Comments:
----------------------------------------------- 
ii) Verify Required Elements availability of Login Page

1) Test Case ID: TC_Ad_002
2) Test Case Name: Verify Required Elements availability of Login Page
3) Test Suite ID: Ad-01
4) Pre-Condition: Login Page
5) Step to live on Executed:
 None...
6) Test Data: None
7) Post Condition: Login Page
8) Verification Point/s:
    Verify the beingness of Username, Password Edit boxes as well as Login Button
9) Expected Result: Availability of Username, Password Edit boxes as well as Login Button
10) Actual Result: (*After Execution)
11) Test Result: Pass/Fail (*After Execution)
12) Comments:
----------------------------------------------- 
iii) Verify Admin Login amongst valid input for Admin Interface of the Application

1) Test Case ID: TC_Ad_003
2) Test Case Name: Verify Admin Login amongst valid input for Admin Interface of the Application
3) Test Suite ID: Ad-01
4) Pre-Condition: Login Page
5) Step to live on Executed:
 i) Enter "Username"
 ii) Enter "Password"
 iii) Click "Login" Button
6) Test Data:
 i) Username: admin
 ii) Password: admin@123
7) Post Condition: Admin Index Page
8) Verification Point/s:
    Capture the "Current URL" afterward Login as well as Compare amongst Expected
9) Expected Result:"http://www.gcrit.com/build3/admin/index.php"
10) Actual Result: (*After Execution)
11) Test Result: Pass/Fail (*After Execution)
12) Comments:
----------------------------------------------- 
Manual Test Case: Verify Launch Application 

Test Steps:
1) Test Case ID: TC_Ad_001
2) Test Case Name: Verify Launch Application (Admin Interface, Includes Launch Browser)
3) Test Suite ID: Ad-01
4) Pre-Condition: None
5) Step to live on Executed:
 i) Launch the Browser
 ii) Navigate to GCRShop Admin Interface (Home Page) ("http://www.gcrit.com/build3/admin/")
6) Test Data: None
7) Post Condition: GCRShop Admin Home Page
8) Verification Point:
    Capture the Page Title as well as Compare amongst Expected
9) Expected Result: GCR Shop
10) Actual Result: (*After Execution)
11) Test Result: Pass/Fail (*After Execution)
12) Comments:
----------------------------------------------- 
Selenium Test Case:

public shape LaunchApplication {

public static void main(String[] args) {
//Instantiate the Browser Driver
System.setProperty("webdriver.chrome.driver", "D:/chromedriver.exe");
WebDriver driver = novel ChromeDriver();
driver.manage().window().maximize();
driver.get("http://www.gcrit.com/build3/admin/");

String PageTitle = driver.getTitle();

if (PageTitle.equals("GCR Shop")){
System.out.println("GCR Shop Admin Home Page displayed - Passed"); 
}
else {
System.out.println("GCR Shop Admin Home Page Not displayed - Failed"); 
}
driver.close();
}
}
-------------------------------------------------------------------------

Sumber http://www.gcreddy.com/

No comments:

Post a Comment