Monday, March 21, 2016

V - model

The V - model is SDLC model where execution of processes happens in a sequential manner in V-shape. It is also known as Verification and Validation model.

V - Model is an extension of the waterfall model , every single phase in the development cycle there is a directly associated testing phase. This is a highly disciplined model and next phase starts only after completion of the previous phase.

V- Model design
Under V-Model, the corresponding testing phase of the development phase is planned in parallel. So there are Verification phases on one side of the .V. and Validation phases on the other side. Coding phase joins the two sides of the V-Model.

The below figure illustrates the different phases in V-Model of SDLC.

SDLC V-Model


Business Requirement Analysis: This is the first phase in the development cycle where the product requirements are understood from the customer perspective. This phase involves detailed communication with the customer to understand his expectations and exact requirement. This is a very important activity and need to be managed well, as most of the customers are not sure about what exactly they need. The acceptance test design planning is done at this stage as business requirements can be used as an input for acceptance testing.




System Design: Once you have the clear and detailed product requirements, it.s time to design the complete system. System design would comprise of understanding and detailing the complete hardware and communication setup for the product under development. System test plan is developed based on the system design. Doing this at an earlier stage leaves more time for actual test execution later.



Module Design:In this phase the detailed internal design for all the system modules is specified, referred to as Low Level Design (LLD). It is important that the design is compatible with the other modules in the system architecture and the other external systems. Unit tests are an essential part of any development process and helps eliminate the maximum faults and errors at a very early stage. Unit tests can be designed at this stage based on the internal module designs




Coding Phase
The actual coding of the system modules designed in the design phase is taken up in the Coding phase. The best suitable programming language is decided based on the system and architectural requirements. The coding is performed based on the coding guidelines and standards. The code goes through numerous code reviews and is optimized for best performance before the final build is checked into the repository.



Validation Phases
Following are the Validation phases in V-Model:

Unit Testing: . Unit testing is the testing at code level and helps eliminate bugs at an early stage, though all defects cannot be uncovered by unit testing.

Integration Testing: Integration testing is associated with the architectural design phase. Integration tests are performed to test the coexistence and communication of the internal modules within the system.

System Testing: System testing is directly associated with the System design phase. System tests check the entire system functionality and the communication of the system under development with external systems. Most of the software and hardware compatibility issues can be uncovered during system test execution.

Acceptance Testing: Acceptance testing is associated with the business requirement analysis phase and involves testing the product in user environment. Acceptance tests uncover the compatibility issues with the other systems available in the user environment. It also discovers the non functional issues such as load and performance defects in the actual user environment.





V- Model Application
V- Model application is almost same as waterfall model, as both the models are of sequential type. Requirements have to be very clear before the project starts, because it is usually expensive to go back and make changes. This model is used in the medical development field, as it is strictly disciplined domain. Following are the suitable scenarios to use V-Model:

Requirements are well defined, clearly documented and fixed.

Product definition is stable.

Technology is not dynamic and is well understood by the project team.

There are no ambiguous or undefined requirements.

The project is short.

V- Model Pros and Cons
The advantage of V-Model is that it.s very easy to understand and apply. The simplicity of this model also makes it easier to manage. The disadvantage is that the model is not flexible to changes and just in case there is a requirement change, which is very common in today.s dynamic world, it becomes very expensive to make the change.

The following table lists out the pros and cons of V-Model:

Pros Cons
This is a highly disciplined model and Phases are completed one at a time.

Works well for smaller projects where requirements are very well understood.

Simple and easy to understand and use.

Easy to manage due to the rigidity of the model . each phase has specific deliverables and a review process.


CONS

High risk and uncertainty.

Not a good model for complex and object-oriented projects.

Poor model for long and ongoing projects.

Not suitable for the projects where requirements are at a moderate to high risk of changing.

Once an application is in the testing stage, it is difficult to go back and change a functionality

No working software is produced until late during the life cycle.




Friday, February 19, 2016

What is Alpha Testing in Software Testing?

https://www.youtube.com/watch?v=ABoBFJoBRrg&index=13&list=PLCYqwbyDA33Q8qDxpzorClu5bwX3wHkiF

Non Functional Testing -

https://www.youtube.com/watch?v=vzb-1edIbF8&index=8&list=PLCYqwbyDA33Q8qDxpzorClu5bwX3wHkiF

What is Beta Testing? Explained in Detail - Software Testing Training

https://www.youtube.com/watch?v=RR0rVBZCGsc&list=PLCYqwbyDA33Q8qDxpzorClu5bwX3wHkiF&index=3

What is Regression Testing? Software Testing Training

https://www.youtube.com/watch?v=nnJ_hOm5k3s&list=PLCYqwbyDA33Q8qDxpzorClu5bwX3wHkiF&index=2


it is form of retesting

Wednesday, February 17, 2016

Tuesday, February 16, 2016

Example Agile Test Strategy, Agile Test Plan

https://www.youtube.com/watch?v=vm5kGy6URjM

Integration testing technique

Waterfall and V Model in Software Development Life Cycle

https://www.youtube.com/watch?v=j6rxyRwEdVU

What is test data and its types

https://www.youtube.com/watch?v=XNZ2Pm2TAUs

What is Acceptance Testing in Software Testing?

https://www.youtube.com/watch?v=rj4q7F2DgJ0

Test Plan - Test Plan Template Test Plan Document Test Plan Sample

https://www.youtube.com/watch?v=4UldhHFaLek

How to report bugs effectively - Testing tutorial

https://www.youtube.com/watch?v=zoohdktgGwY

System Testing tutorial

https://www.youtube.com/watch?v=3lOjtmsA2Kk

Sunday, February 14, 2016

Loadrunner 1

https://www.youtube.com/watch?v=P4p14ZBXjGI


HP Load runner is application performance testing solution from Hewlett -Packard


it is a set of set of tools
it is leading perfomance testing tool in the market

it is proprietry tool it not open source
creates and manage virtual users also known Vusers
Vusers are software representaion of real users
Vusers are idependent of one and another
Load runners takes permance meausurements like response time,  ttroughput,concurent user
it works with various protocols like web, ect flex
protocol is communication procedure with client and server

it is user friend has many useful features


components of load runner
1) Virtual user generator
2)Controller
3) Analysis

These tools work independtly and with one another


1) Virtual user generator also called vugen
recoords buisness process
like purchase an item from website
pay a bill or book a hotel room


it Generates automated performance scripts
known as vuser scripts in load runner

we can add
add transactions
we can also edit performance testing script




Controller

using controller we can setup a performace test, e,g specify load genrators ,  specify test duration
 it runs a performance test,
it also Monitor the performance test


Analysis
=======
Analysis collects test logs from the load generators
using Analysis view the performance test results
analyse performace test results


Performance testing process
========================
Gather Performance req and plan test
create vuser scripts--vuGen
setup the scenario in the controller
Run the Scnario -controller
Analyse the results -Analysis

2 https://www.youtube.com/watch?v=i62VQqkOrTY

3 https://www.youtube.com/watch?v=eAkEJ-Cum6g&index=3&list=PLc3SzDYhhiGU6fbp6JlTU8GPbEw_-eQFx

How to write a Test Case


https://www.youtube.com/watch?v=eFywmQGoSWo

https://www.youtube.com/watch?v=BBmA5Qp6Ghk

testscenario    testcase  precondition  teststeps testdata  expectedresult  actualresult pass/fail

https://www.youtube.com/watch?v=eFywmQGoSWo
req_id  ts_id  testobjective precondition/prerquisite  steps testdata  expectedresult actualresult pass/fail  defect_id



testing is 3 steps process
1) you identify what to test
req
what to test


how to test

is a test case  is use for test exectuition

detail step by step insttrcution on how to perform on your AUT
who write test cases is QA

test cases are reviwed by BA and devolpoment team

test cases are document are written word, excel, simple notepad, simple Testmanagement tool QC/ALM qtest


why we write test case : to ensure there is structure to test case, repetablity , record keeping
helps in tracking monitoring and reporting




How to write test cases
testcase ID
TC_createaccount_01

testcade description
short/concise
to test if an appropriate eeror message is displsyed when 

positive/negative 


precondition
teststeps
testdata
expected
 status
Actual result







Manual Testing Training -

https://www.youtube.com/watch?v=mjB9XTpQmgc

Test case is a documentation from where we get information to create test cases
there are number of inputs , we can have discussion with stake holders
there can be certain norms in the industry and check list availble
all these become input for writing test cases

input:stake holder,
 legal rquirements , checklist, norms



Test case format varies from organization to organization
textfile
excel
testcase management system


team can have there own format or template for writng testcase


steps
expected results
test case Id, requirement id ,test data, executed
passed/failed /blocked Notes

different input required
login name/invalid
password/invalid

bug report
test scripts,test suites
test case    steps      expected result status