BEST OF THE TEST
By: Agung Nugroho Reds
Tags: Selenium, Software Testing, Software Development, Quality Assurance

Hi all, this time in this article I will show you about the essential things of software testing as software developers, software tester, and quality assurances usually do. And I will give you the short tutorial with the example. Are you strongly want to know more? So, please enjoy! :)

The Definitions

Many people that worked in this path as software developers, software testers, and quality assurance do this task to detect any gap, bug, defect, error, and mising requirement where it can be a trouble in software development later. Actually, everyone that worked in industry especially on IT industry don’t want to find them in their products. But, nowadays no one dare to claimed that a software totally free of those although we have been tried to fix it. So, we should be use a special method to solve the problems. And everybody knows that software testing having various type of testing to support in handling bugs, defects, and errors on a software. According to ANSI/IEEE 1059, testing can be defined as — A process of analyzing a software item to detect the differences between existing and required conditions (that is defecs/errors/bugs) and to evaluate the features of the software item.

Then, occur a question in our mind. When we start and stop the testing? Most of practicians, they will be started the testing depend on the software development model that is being used. For example, if a company using waterfall model, the testing conducted on testing phase. But, an early start to testing can be reduces the cost and time to rework. And when we stop the testing? We can stop testing when the deadline of testing is over, completion of text execution, completion of functionality, bug rate falls bellow a certain level, and management decision. And you only have 2 options: pay less for testing or pay more for maintenance later. So, the decision in your hands.

Bug, Defect, And Error

As I explain above, the problems in software testing consist of bug, defect, and error. And we will tell you about who they are. Following the definitons of them:

· Bug is an activity of software testing when the tester finds any missmatch in the application or system. And the people widely know that as defect informally.

· Defect is an activity of software testing when the tester finds an issue and corrects it by himself in development phase. And the variation of expected results and actual results also known as defect.

· Error is an activity of software testing when the tester get an unsuccessfully results in running a program.

The Kind of Testings

As you know, many variations of testing that is being used in software testing activites. So, I will tell you more about of them. Following the kind of testings:

· Smoke testing is the activity of testing that performed after the software build to check any bug or not to fixed it.

· Sanity testing is the activy of testing that performed after the sotware build with minor change of code and fixed the bugs.

· Functional testing is the activity of testing based on the specificatons of the software that is to be tested.

· Unit testing is the activity of testing that performed by developers formally.

· Integration testing is the activity of testing as known as the testing of combined parts of any applications to checking if the sofware working well. Integration tesing divided in 2 ways are bottom-up testing and top-down testing.

· Regressing testing is the activity of testing to verify if a fixed bug hasn’t result more bug in the other functionality.

· Performance testing is the activity of testing to identify any bottleneck or performance issues.

· etc.

The Example

In this example of testing I will tell you less about how to make a test and I will tell you more about that in the next chapter for details.

· The requirements:

o Eclipse emulator to write a series of code and execute the program. You can download in this following link: https://www.eclipse.org/downloads/

o Selenium webdriver to load the test on machine. You can download in this following link: https://www.seleniumhq.org/download/

o Chrome webdriver to load the program on browser. You can download in this followng link: https://sites.google.com/a/chromium.org/chromedriver/

· The Results:

Image 1. The series of c[ode.

Image 2. The execution of code.

Image 3. The execution of code.

Ok, that’s all about testing this time. And I will tell you about the interesting topic of testing in the next article. So, thanks for reading, have a great weekend and see ya! :)