the main objective of testing is to find whether the actual result(that is result generated by the build) is same as expected result(that is the customer requirement) or not
the main objective of the testing is to check weather the software developed is up to the clients requirements i.e. checking the application weather the desired level of quality was achieved and hence the name quality assurence was given to testing.
Primary role of testing is not demonstration of correct performance but the exposure of hidden defects Testing is executing a program with an intend of finding fault/error and failure