{"id":1489,"date":"2018-07-22T14:24:22","date_gmt":"2018-07-22T14:24:22","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=1489"},"modified":"2025-03-07T07:43:21","modified_gmt":"2025-03-07T12:43:21","slug":"difference-static-testing-dynamic-testing","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/difference-static-testing-dynamic-testing\/","title":{"rendered":"DIFFERENCE BETWEEN STATIC TESTING AND DYNAMIC TESTING"},"content":{"rendered":"<p>The software can be tested in two different levels: <a href=\"https:\/\/www.h2kinfosys.com\/blog\/software-testing-classification\/\">static testing and dynamic testing<\/a>. The static testing involves the review of project work products. The dynamic testing tests the software under execution. The different between static testing and dynamic testing is described below:<\/p>\n<h2><b>Static Testing and Static Analysis:\u00a0<\/b><\/h2>\n<p><a href=\"https:\/\/www.h2kinfosys.com\/blog\/static-testing\/\">Static testing<\/a> is a type of technique where the project documents are reviewed to identify the errors.\u00a0 In the static analysis, software is tested without executing the code. It is done manually or using any simple testing tools. Here the program structure and documents related to it is tested. Static analysis is a form of testing where the actual code or application is not used.<\/p>\n<ul>\n<li>Review: It involves the review of the project documents by the software testers. It is used to remove the errors or faults in software documents like software requirement specification, technical design development, business requirements etc<\/li>\n<li>Static Analysis: It helps in quality of the code written by software developers by using many software testing tools and to analyse the structural design of the software.<\/li>\n<\/ul>\n<p>For example there may be many security breaches in the code especially when user\u2019s login. It is made sure that users are not publishing the passwords or any other information on the application which may lead to some security threats.<\/p>\n<p>The advantage of static testing is it can start at early life cycle of software development so feedback on the quality issues can be set up.the development quality increases because of less rework. The disadvantage is<\/p>\n<p>Time consuming as it is done manually and less trained staff to conduct the static analysis.<\/p>\n<h2><b>Dynamic Testing:<\/b><\/h2>\n<p>Dynamic testing is a process of testing the dynamic behaviour of the software. It\u00a0 \u00a0 is software which helps analyze both input values as well as output values. There are two types<\/p>\n<ul>\n<li><a href=\"https:\/\/www.h2kinfosys.com\/blog\/difference-functional-testing-non-functional-testing\/\">Functional testing<\/a><\/li>\n<li>Non-Functional testing<\/li>\n<\/ul>\n<p>In dynamic type of testing test cases are executed. For example consider online shopping form dynamic testing includes testing the functionality of different page. And checking order process and payment process and a mode of checkout. Checking the interfaces between different pages. It is different from static testing since it involves execution of the software. It is called verification testing. The advantage of dynamic testing is it removes the complicated defects. It is essential tool for security threats.<\/p>\n<h2>Check your understanding:<\/h2>\n<ol>\n<li>List the difference between static testing and static analysis<\/li>\n<li>List the difference between static testing and dynamic testing<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The software can be tested in two different levels: static testing and dynamic testing. The static testing involves the review of project work products. The dynamic testing tests the software under execution. The different between static testing and dynamic testing is described below: Static Testing and Static Analysis:\u00a0 Static testing is a type of technique [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1499,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[287,107,286,106],"class_list":["post-1489","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tutorials","tag-difference-between-static-testing-and-dynamic-testing","tag-dynamic-testing","tag-static-analysis","tag-static-testing"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=1489"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/1489\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/1499"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=1489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=1489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=1489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}