Differentiate between Static and Dynamic testing...with example please... thanks and regards

Showing Answers 1 - 42 of 42 Answers

jyotsna

  • May 3rd, 2006
 

Software testing is a process of analyzing or operating software for the purpose of finding bugs.According to the definition, testing can involve either "analyzing" or "operating" software. Test activities that are associated with analyzing the products of software development are called static testing. Static testing includes code inspections, walkthroughs, and desk checks. In contrast, test activities that involve operating the software are called dynamic testing. Static and dynamic testing complement one another, and each type has a unique approach to detecting bugs.

  Was this answer useful?  Yes

Srinivasan

  • May 8th, 2006
 

Static testing:Non-execution based testing is called static testing.

ex:unit testing, system testing...

Dynamic testing:Execution based Testing is called dynamic testing

Ex: Walkthrough, reviews, inspection

  Was this answer useful?  Yes

Dileep Kumar

  • May 8th, 2006
 

Static Testing : It is the process of testing the application code(and/or related documents) with out running it, it can be code review, walk through etc.Dynamic Testing : It is the process of testing the application/code by running it. (ie black box testing).

  Was this answer useful?  Yes

Diju

  • May 8th, 2006
 

1: Static testing is about prevention, dynamic testing is about cure.2: The static tools offer greater marginal benefits.3: Static testing is many times more cost-effective than dynamic testing.4: Static testing achieves 100% statement coverage in a relatively short time, while dynamic testing often often achieves less than 50% statement coverage, because dynamic testing finds bugs only in parts of the code that are actually executed.5: Dynamic testing usually takes longer than static testing. Dynamic testing may involve running several test cases, each of which may take longer than compilation.6: Static testing can be done before compilation, while dynamic testing can take place only after compilation and linking.7: Static testing can find all of the followings that dynamic testing cannot find: syntax errors, code that is hard to maintain, code that is hard to test, code that does not conform to coding standards, and ANSI violations.

  Was this answer useful?  Yes

Sorry Mr srinivasan im mnot agreeing with ur answer Unit testing System testing etc these are all comes under Dynammic testing

Walkthroughs,inspections and reviews are comes under static testing

  Was this answer useful?  Yes

Chowdary.C.T

  • Mar 6th, 2007
 


Static Testing          : Testing the application when it's not being executed
                                   Ex : GUI Testing, Data Base Testing.

Dynamic Testing     : Testing the application when it's being executed
                                   Ex :  Functionality of application.

  Was this answer useful?  Yes

nikhilk265

  • Nov 6th, 2007
 

Verification is static technique for static technique we do not need computer.
 Validation is Dynamic technique for this we need computer, which include testing and prototyping

  Was this answer useful?  Yes

nagolucsr

  • Jan 13th, 2008
 

static testing: Analysis of a program carried out with out executing a program
dyamic testing: the process of evaluting a system or component based upon its behavior during execution

  Was this answer useful?  Yes

myrangu

  • Jan 20th, 2008
 

Static Testing - Code is examined without being executed.
Eg. Code Inspections, Reviews and walk-through.

Dynamic Testing - Code is executed and tested without necessarily being examined.
Eg. Black box Testing.

  Was this answer useful?  Yes

Static testing:checking the right product .it is  the verification portion of the varification and validation
Dynamic testing:checking whether the product is right.it is  the validation portion of the varification and validation

  Was this answer useful?  Yes

Static testing refers to any testing of source code.  Examples are unit tests and  integration tests.
 
Dynamic testing refers to testing the dynamic behavior of an application over time by introducing inputs and verifying outputs.  Examples of dynamic testing are functional tests and volume tests. 

  Was this answer useful?  Yes

vishnusamhitha

  • Dec 18th, 2014
 

static testing is about prevention of bugs.under static testing code is not executed,this testing can be performed before compilation.

dynamic testing is about finding and fixing the bugs.under dynamic testing code is not executed,this testing can be performed after compilation.

  Was this answer useful?  Yes

Indhuja

  • Sep 27th, 2016
 

Static testing is the verification of code in the application and it involves manual checking eg. Checking of syntax violation, for this case software is not used. Whereas dynamic checking is that validating the software of an application eg. Checking the overall performance of the software, for this case software is used.

  Was this answer useful?  Yes

XYZ

  • Feb 16th, 2017
 

Static Testing is verifying Documents manually by reading which do not have .exe file so it is non executing process

  Was this answer useful?  Yes

Ananya

  • Apr 13th, 2017
 

How to write a static analysis of a training institute? (Design, no functionality) or any other example will be helpful. m understanding the definition or when it should be done. But unable to understand how to write it.

  Was this answer useful?  Yes

Abhilash

  • May 3rd, 2017
 

Static testing is verification process (inspecting documents).
Dynamic Testing is Validation process (have we built the software as per the requirement!).

  Was this answer useful?  Yes

Simranjeet Singh

  • Jul 2nd, 2017
 

Both Static and Dynamic testing comes under Usability Testing.
Features that are frequently used should be placed on the left side and are known as static features. And testing the placement of static features at diagonal left side is Known as Static Testing.
Features that are less used should be placed on the right side and are known as dynamic features. And testing the placement of static features at diagonal right side is Known as Dynamic Testing.
For example: FlipKart application almost every thing is placed at left side and you may refer many more.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions