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

STQAPRACTICALPROGRAM

The document contains a test plan for testing the MET BKC Official Website. It outlines the objectives, features to be tested, testing approaches, environments, data, cases, schedule, roles and responsibilities, defect reporting process, risks, sign-off criteria, and review process. The test plan aims to validate functionality, ensure usability, verify performance, assess security, and confirm compatibility. Features include the homepage, navigation, course information, admission process, contact information, registration/login, application form, events/news, and more. Testing approaches involve functional, usability, performance, security, and compatibility testing.

Uploaded by

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

STQAPRACTICALPROGRAM

The document contains a test plan for testing the MET BKC Official Website. It outlines the objectives, features to be tested, testing approaches, environments, data, cases, schedule, roles and responsibilities, defect reporting process, risks, sign-off criteria, and review process. The test plan aims to validate functionality, ensure usability, verify performance, assess security, and confirm compatibility. Features include the homepage, navigation, course information, admission process, contact information, registration/login, application form, events/news, and more. Testing approaches involve functional, usability, performance, security, and compatibility testing.

Uploaded by

omkarsahane2001
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

Defect tracking sequence:

Product name, Module name, Executed by


Defect id:101 | title:bug in notification bar | bug summary:accuracy of field
getting weaken | bug description: | step to replicate:module1,module2 |
severity:high | priority:inprocess,deployed,urgent | status:fixed,notfixed .

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------

Test Plan for MET BKC Official Website


1. Introduction
Purpose: To ensure the quality and reliability of the MET BKC Official Website.
Scope: The test plan covers the testing activities for the website, including
functionality, usability, performance, security, and compatibility testing.
References: List any relevant documents, such as requirements specifications and
design documents.
2. Objectives
Identify and validate the functionality of the website.
Ensure a positive user experience and usability.
Verify performance under expected load conditions.
Assess the security of the website.
Confirm compatibility with various browsers and devices.
3. Features to be Tested
Homepage
Navigation
Course Information
Admission Process
Contact Information
User Registration and Login
Online Application Form
Events and News
Resource Downloads
Social Media Integration
4. Testing Approach
Functional Testing:

Test individual features for correctness and completeness.


Conduct integration testing to ensure seamless interaction between components.
Verify data accuracy and consistency.
Usability Testing:

Evaluate the overall user experience.


Check website navigation for intuitiveness.
Validate the clarity of content and instructions.
Performance Testing:

Conduct load testing to assess the website's performance under expected user load.
Evaluate response times for critical functions.
Check for scalability issues.
Security Testing:

Perform vulnerability assessments.


Verify the effectiveness of login mechanisms.
Ensure data privacy and protection.
Compatibility Testing:
Test the website on various browsers (Chrome, Firefox, Safari, Edge).
Verify compatibility on different devices (desktop, tablet, mobile).
5. Test Environment
Operating Systems: Windows, macOS, Android, iOS
Browsers: Chrome, Firefox, Safari, Edge
Devices: Desktop, Laptop, Tablet, Mobile
6. Test Data
Use sample data for testing registration and login features.
Create test scenarios for different courses and admission processes.
7. Test Cases
Develop detailed test cases covering each feature and functionality.
Include preconditions, test steps, expected results, and postconditions.
8. Test Schedule
Define the testing timeline, including start and end dates for each testing phase.
Allocate time for retesting and regression testing.
9. Roles and Responsibilities
Specify the responsibilities of each team member involved in testing.
Include roles such as Test Manager, Testers, and Developers.
10. Defect Reporting
Define the process for reporting and tracking defects.
Include details on severity levels and escalation procedures.
11. Risks and Contingencies
Identify potential risks and mitigation strategies.
Plan for contingencies in case of unexpected issues.
12. Sign-off Criteria
Specify the criteria that must be met to consider testing complete.
Include acceptance criteria for each feature.
13. Review and Approval
Outline the process for review and approval of the test plan.
Include the names and roles of stakeholders responsible for approval.
14. Glossary
Provide a glossary of terms used in the test plan.
15. Appendices
Include any additional information, templates, or supporting documents.

-----------------------------------------------------------------------------------
-------------------------------------------------------

Test Cases for E-Commerce Web Application


1. User Registration:
a. Verify that users can register with valid details.
b. Check for validation of mandatory fields during registration.
c. Test if an error message is displayed for invalid email formats.
d. Ensure password complexity requirements are enforced.
e. Verify the successful redirection to the user account after registration.

2. User Login:
a. Test successful login with valid credentials.
b. Verify the visibility of error messages for invalid login attempts.
c. Check for the "Forgot Password" functionality and reset password process.
d. Test session persistence after login, even after closing and reopening the
browser.

3. Product Search and Navigation:


a. Verify that users can search for products using the search bar.
b. Test the accuracy of search results based on product names and keywords.
c. Check filters (price range, category, etc.) for proper functionality.
d. Ensure that pagination or infinite scroll works correctly on product listing
pages.

4. Product Details:
a. Verify that clicking on a product displays its details.
b. Test the accuracy of product information (price, description, specifications).
c. Check if the "Add to Cart" button works as expected.
d. Test the visibility of related products and recommendations.

5. Shopping Cart:
a. Add products to the shopping cart and verify the cart's total price.
b. Test the ability to update the quantity of items in the cart.
c. Verify the removal of items from the cart.
d. Check for proper handling of out-of-stock items.
e. Test the "Continue Shopping" and "Proceed to Checkout" buttons.

6. Checkout Process:
a. Test the selection of shipping methods and costs.
b. Verify that users can enter billing and shipping information.
c. Test different payment methods (credit card, PayPal, etc.).
d. Check for the application of discounts and coupons.
e. Verify the order confirmation page and email notifications.

7. User Account Management:


a. Test the ability to update user profile information.
b. Verify the change of password functionality.
c. Check the order history and tracking functionality.
d. Test the logout functionality.

8. Security Testing:
a. Test for SSL encryption on sensitive pages (login, checkout).
b. Check for secure storage of user passwords.
c. Verify that sensitive information is not exposed in URLs or error messages.
d. Test session timeout and reauthentication.

9. Performance Testing:
a. Verify the loading time of key pages, especially the homepage and product pages.
b. Test the website's performance under different network conditions.
c. Check for smooth handling of concurrent user sessions.
d. Perform stress testing to assess the system's response to a high number of
simultaneous users.

10. Cross-browser and Cross-device Compatibility:


a. Test the application on different browsers (Chrome, Firefox, Safari, Edge).
b. Check for responsiveness on various devices (desktop, tablet, mobile).

11. Accessibility Testing:


a. Verify that the application is accessible to users with disabilities.
b. Check for proper labeling of form fields and images.
c. Test navigation using only keyboard inputs.

-----------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Write down a testing program for the testing of a open source website and to
search a keyword on the website and display its output:

package sampleapp;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Javatpoint {
public static void main(String[] args)
{
System.setProperty("webdriver.chrome.driver","C:\\Users\\exam\\
Downloads\\chromedriver-win64
(3)\\chromedriver-win64\\chromedriver.exe");
WebDriver driver =new ChromeDriver();
driver.navigate().to("https://www.javatpoint.com/");
driver.manage().window().maximize();
JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("scrollBy(0,5000)");
driver.findElement(By.linkText("Java")).click();
}
}

Write program for launching a website and it should be redirected to log in page
and should be successfully logged in with valid input of credentials :

package sampleapp;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Test2
{
WebDriver driver;
public void driverseting()
{
driver=new ChromeDriver();
driver.manage().window().maximize();
try
{
Thread.sleep(1000);
} catch (InterruptedException e){

e.printStackTrace();
}
}
public void navigate()
{
driver.get("https://www.linkedin.com/authwall?
trk=qf&original_referer=https://www.google.com/&sessionR
edirect=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fin.linkedin.com%2F");
try {
Thread.sleep(1000);
} catch (InterruptedException e){
e.printStackTrace();
}
driver.findElement(By.name("email-or-
phone")).sendKeys("[email protected]");
driver.findElement(By.name("password")).sendKeys("123456mik");
driver.findElement(By.id("join-form-submit")).click();
}
public static void main(String[] args)
{
Test2 obj=new Test2();
obj.driverseting();
obj.navigate();
}
}

Launching of browser and loading a particular website:

package sampleapp;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class one
{
public static void main(String[] args)
{
System.setProperty("webdriver.chrome.driver", "C:\\Users\\exam\\
Downloads\\chromedriver-win64
(3)\\chromedriver-win64\\chromedriver.exe");
WebDriver driver =new ChromeDriver();
driver.get("https://www.cricbuzz.com/");
}
}

You might also like