What is Software Testing? Best Software Testing Tutorial

By | June 29, 2019

Hello friends, we came here with the best software testing tutorial but Before go through Software Testing you should know the definition of Software.

Software is an interface or a medium between the user and the computer. It is a set of Program, process, rules, documentation, and data.

Brief description of software

Programs:  Program is a set of instruction which can be in any programming language like c,c++,.net, PHP.

Process: Process is like a flow chart or execution process of Software.

Rules: Every programming language has fixed syntax (way of writing) and grammar (rules of writing) and semantics with the objective to perform some specific task.

Documentation: Documentation is like a flow chart or SRS (Software requirement specification), PCE (Project cost estimation), etc. The purpose behind documentation for analyzes the time requirement, cost requirement, manpower requirement, and other resources.

Data: It is for collection Datum elements.

Testing View

According to Professor Watts.S.Humphrey A tester have two views during testing

  1. Activities carried out to identified errors/issues. AUT(Application under Test)
  2. Activities carried out to improve the accuracy of product/software. SUT (System Under Test)

What are the Objectives of Software Testing?

  1. Identify the errors from Software
  2. To confirm the accuracy and correctness of software before releasing in the market.
  3. To confirm the maximum quality of software like loading time, load capacity, execution time, system configuration, max number of running users, etc.
  4. To confirm the maximum productivity and ROI (return on investment) on Software.

Testing Profession Cycle

Testing Professional cycle

Characteristics /Quality for Test Professionals or Testers

  1. Should be Logical strong

An individual capability to apply logic and make some different test cases to test the quality.

2. Having analytically capability

An individual is capable to analyze the complex structure and decompose in small components.

3. Should be detective in nature.

4. Having constructive mind and destructive approach.

5. Having enough knowledge on related testing tools.

6. Having knowledge in same domain.

7. Having Patience

Let me take an example                           

Login Application Form

Testing Login Form

Test Case for User Name and Password section

  1. Take Char as per correctness “ABCD”
  2. Take numeric value as per correctness “123456”
  3. Take char less than 3        “abc”
  4. Take char greater than 8     “abcdefghi”
  5. Take Alphanumeric      “abc1234”
  6. Take special char with Alphanumeric   “@123abc”
  7. Take both in uppercase and lowercase “ABCabc”.

Responsibilities of a Software Tester

  1. Preparation of Test cases.
  2. Execution of Test cases.
  3. Identification of errors from.
  4. Make Bug report and assign it to a related person.
  5. Ensure to fix the bug or not.

Types of Software

  1. Project Based: A software which developed to fulfill the specific requirement for a specific domain like a hotel, school management, healthcare software.

Related Companies: Infosys, TCS, Accenture, and Wipro.

  • Product Bases: software which developed for fulfill the requirement for global/common mass like Windows Os, browser.

Related Companies: Microsoft, Adobe, Apple.

      General Principle of Software Testing

  1. Testing shows the presence of errors and bugs
  2. 100 % testing neither feasible nor possible
  3. Testing should be start as earliest as possible.
  4. Testing is a context depending process.

Testing is a destructive process and debugging is a constructive process.

Software Testing Characteristics

  1. There is a high probability of finding an error or issue if testing is good.
  2. A good testing neither too easy nor too complex.

Types of Software Testing

White Box Testing/ Glass Box Testing/ Transparent Testing/Open Box Testing

All these words are synonymies to each other. Since all represent the white screen or source code of the software, hence we called it White Box Testing.

Black Box Testing / Functional Testing / Behavioral Testing / Closed Box Testing

All these words are synonymies to each other. Such type of testing applies on front end of Software. It is a process of identifying the errors related to functionality as an end user.

In this type you don’t need any source code of the program, hence we called it black box testing.

Types of Black Box Testing

  1. Smoke Testing

This is for test the visibility of features and icons as per SRS (Software Requirement Specification)

2. Sanity Testing

This is to test the working of buttons/icons as per client requirement.

3. Alpha Testing

Alpha testing performs by company professionals.

4. Beta Testing

Beta Testing performs by an end user on their level. Sometimes we hear about any software that beta version has been released.

5. Re-Testing

It is the process of identifying the error and bugs again after fix by the developer.

6. Regression Testing

Regression testing always performs after re-testing. This is to ensure the nearby modules of debugging zone.

7. Performance Testing

In this process, we define the parameter for an object as per configuration and check that it would be executed or not like A bike can run with 150km/hour max speed. It is the performance of a bike.

8. Load Testing/ Stress Testing

Load testing performs the max load capacity of any object/utility on which you have to perform testing.

In this case we decide some parameter and test the accuracy of object.

Like before go live a social media/ News website we need to know how many users hit once a time when this website goes down.

Website Load Testing

9. Data Based Testing/ Data Oriented Testing

This kind of testing performs the data handling capacity.

10. Security Testing

Process of identifying the errors related to the security aspects. Login form, roles assign, authentication, authorization.

11. Configuration Testing

Process for test the software is working or not specify configuration like 2 Gb RAM with Win 7.

12. Compatibility Testing

Process of identifies the compatibility of the software with the desired specification. Like test the working of software on a different version of Win 7.

13. Exploratory Testing

This type of testing performs when a tester has enough time and can test nearby modules of a bug zone.

14. Adhoc Testing

Another name is Monkey/Gorilla testing. Could be performed when you don’t have enough time. In this case, you have a select higher sensitive module or main security modules for performing testing in a short time.

15. User Interface Testing

Process for identifying the error related to the design/options/features as per  SRS (Software Requirement Specification).

User Interface Testing

White Box Testing

  1. Process of identifying the errors related to code structure.
  2. Process of identifying the errors related to the database structure.
  3. Process of identifying the issues related to running time/execution time.
  4. Process of identifying the code should be in minimum line.

Test Case Designing

What is Test Case?

Test case is all possible condition for test the functionality of software.

What is Test strategy?

Test strategy planned and adopted by testing engineers where they decide to execute the each test case with proper inputs.

What is Test Set?

Test set is a group of related test cases and test procedures.

What is Test Bed?

Test bed is an environment where all the necessary aspects available regarding hardware and software component which will be useful during testing.

What is Test Oracle?

In Test oracle you decide the expected output during test case execution.

A brief view of Software Testing Life cycle

Software-Testing-Life-Cycle

An Example of how to design Test Case

Test-Case-Design

Test Case for User Name and Password section

  1. Take Char as per correctness “ABCD”
  2. Take numeric value as per correctness “123456”
  3. Take char less than 3        “abc”
  4. Take char greater than 8     “abcdefghi”
  5. Take Alphanumeric      “abc1234”
  6. Take special char with Alphanumeric   “@123abc”
  7. Take both in uppercase and lowercase “ABCabc”.

Test Factor

Quality:  It is a system where Object/Component meets to customer requirement / satisfaction.

Quality Attributes: It is a list of quality parameters that affects an item quality.

Quality Factors:  High Level quality attributes are called quality factors.

Like, see the difference below quality attributes and quality factors for a student.

Quality Attributes V/s Quality Factors

What is Test Factor?

Test factor is that parameter from which you have to test the quality of object/component.

Bug Isolation and Defect Reporting

Bug Life Cycle

Bug Life Cycle

 What is Bug?

Bug is a defect in program which encountered during testing or operation on Beta version.

When we do Stop Testing?

Testing is a never ended process.

  1. We have to stop it when the assigned time limit has been complete.
  2. When assign budget has been over.
  3. When we confident about the quality of Component.

I’m sure you have enjoyed this post and I expect I have provided the best software testing tutorial for you. Revert me back with your queries through Comments.

7 thoughts on “What is Software Testing? Best Software Testing Tutorial

  1. https://www.zrccb1jea.online/

    Wonderful blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Thank you

    Reply
  2. https://www.blogon.kr/

    You are so awesome! I don’t suppose I’ve read through a single thing like that before.
    So good to find someone with original thoughts on this subject.
    Seriously.. thank you for starting this up.

    This website is one thing that is needed on the internet,
    someone with a little originality!

    Reply
  3. https://www.ucipalri.online

    Fantastic goods from you, man. I have understand your stuff previous to and you’re just extremely great.
    I really like what you’ve acquired here, really like what
    you’re stating and the way in which you say it.
    You make it entertaining and you still take care of to keep it smart.
    I can not wait to read far more from you. This is really a tremendous site.

    Reply
  4. https://www.hydroflask.online

    Somebody essentially assist to make significantly posts I’d
    state. That is the first time I frequented your web page and up to now?
    I amazed with the research you made to create this particular publish incredible.
    Magnificent process!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *