{"id":713,"date":"2017-01-14T10:44:42","date_gmt":"2017-01-14T10:44:42","guid":{"rendered":"http:\/\/scrolltest.com\/?p=713"},"modified":"2017-01-14T11:04:29","modified_gmt":"2017-01-14T11:04:29","slug":"testing-techniques-pairwise-testing","status":"publish","type":"post","link":"https:\/\/scrolltest.com\/testing-techniques-pairwise-testing\/","title":{"rendered":"Testing Techniques -Pairwise Testing using Pairwiser Tool"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Today I am going to discuss Testing Techniques- Pair<em>wise Testing. \u00a0&#8220;Generate less number of combination with more test coverage<\/em>.<\/span><\/p>\n<h3><strong>What is Pairwise Technique?<\/strong><\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A black-box test design technique in which test cases are designed to execute all possible discrete combinations of each pair of input parameters<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Pairwise testing technique can dramatically reduce the number of combinations to be covered but remains very effective in terms of fault detection<\/span><\/li>\n<\/ul>\n<h3><strong>Now let&#8217;s learn how to apply Pairwise Testing by this example.<\/strong><\/h3>\n<p>Let\u2019s take an example &#8211;<br \/>\nSuppose, we have a web app with one page that we have to do the Cross browser testing (CBT) e.g for IE, Chrome, Firefox, Opera, Safari and Cross OS testing with Windows, Mac, Ubuntu. We have another parameter like HTTP 1, HTTP 2 and resolution HD, NonHD(low resolution).<\/p>\n<p>So Normal combination \u00a0&#8211; 5*3*2*2 = 60<br \/>\nTo perform 60 Test cases we will need about \u00a0<strong>180 minutes(assuming 3 minutes per Test Case)<\/strong>.<\/p>\n<h3>Let\u2019s take this example in the Pairwise Testing.<\/h3>\n<p>We will use the Pairwiser-tool for combination to generate.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Need for Pairwiser tool<\/strong><\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Web-based easy to use.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Generate the combination and export to excel.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Generate the Test case and export to JIRA directly.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can apply the constraint to the input parameter.<\/span><\/li>\n<\/ol>\n<p><span style=\"text-decoration: underline;\"><strong>Input in the Pairwiser Tool<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Input 1 &#8211; CBT \u00a0: IE, Chrome , Firefox , Safari , Opera<\/span><\/li>\n<li>Input 2 &#8211; Cross OS: Windows, Mac OSX, Ubuntu<\/li>\n<li>Input 3 &#8211; Protocol : HTTP1 , HTTP2<\/li>\n<li>Input 4 &#8211; Resolution: \u00a0HD, NonHD<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Create a New Test Plan in &#8211; <\/span><a href=\"https:\/\/inductive.no\/pairwiser-tool\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/inductive.no\/pairwiser-tool\/<br \/>\n<\/span><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-715 size-large\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.31.48-PM-1024x546.png\" alt=\"Create Test PLAN\" width=\"1024\" height=\"546\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.31.48-PM-1024x546.png 1024w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.31.48-PM-300x160.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.31.48-PM-768x410.png 768w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.31.48-PM.png 1277w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Added input Parameters and Constraints<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-723 size-large\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.35.15-PM-1-1024x550.png\" width=\"1024\" height=\"550\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.35.15-PM-1-1024x550.png 1024w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.35.15-PM-1-300x161.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.35.15-PM-1-768x413.png 768w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.35.15-PM-1.png 1109w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>More IE &#8211; Constraints<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-721 size-large\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.40.27-PM-1024x478.png\" width=\"1024\" height=\"478\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.40.27-PM-1024x478.png 1024w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.40.27-PM-300x140.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.40.27-PM-768x358.png 768w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.40.27-PM.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Navigate to Generate Test Case &#8211; Only 15 Test Cases \u00a0\\m\/ \ud83d\ude42<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-720 size-large\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.41.38-PM-1024x476.png\" width=\"1024\" height=\"476\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.41.38-PM-1024x476.png 1024w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.41.38-PM-300x140.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.41.38-PM-768x357.png 768w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.41.38-PM.png 1279w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Time in Test Cases Now<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Test Cases \u00a0= 15<br \/>\n<\/span><span style=\"font-weight: 400;\">Time per Test \u00a0= 3 minutes<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Total \u00a0Time \u00a0= <strong>45 Minutes<\/strong> only before it was 3 hour<\/span><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Lets Analysis the coverage, the Results<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-719\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.47.12-PM.png\" alt=\"\" width=\"889\" height=\"532\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.47.12-PM.png 889w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.47.12-PM-300x180.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.47.12-PM-768x460.png 768w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Test Cases Generation &#8211; Template<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-718\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.50.26-PM.png\" alt=\"\" width=\"1261\" height=\"540\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.50.26-PM.png 1261w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.50.26-PM-300x128.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.50.26-PM-768x329.png 768w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.50.26-PM-1024x439.png 1024w\" sizes=\"auto, (max-width: 1261px) 100vw, 1261px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Test Cases &#8211; Copy to JIRA or Excel <\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-716\" src=\"http:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.51.50-PM.png\" alt=\"\" width=\"993\" height=\"376\" srcset=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.51.50-PM.png 993w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.51.50-PM-300x114.png 300w, https:\/\/scrolltest.com\/wp-content\/uploads\/2017\/01\/Screen-Shot-2017-01-14-at-3.51.50-PM-768x291.png 768w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">That\u2019s All Folks<\/span><\/p>\n<p>In the Form of Slides<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" width=\"960\" height=\"569\" src=\"https:\/\/docs.google.com\/presentation\/d\/1uQgCd2BXRZA37lSj6S7EN-iYp4kkuwWtABviSmhm9nQ\/embed?start=true&amp;loop=false&amp;delayms=3000\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" mozallowfullscreen=\"mozallowfullscreen\" webkitallowfullscreen=\"webkitallowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I am going to discuss Testing Techniques- Pairwise Testing. \u00a0&#8220;Generate less number of combination with more test coverage. What is Pairwise Technique? A black-box test design technique in which test cases are designed to execute all possible discrete combinations of each pair of input parameters Pairwise testing technique can dramatically reduce the number of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[6,26],"tags":[29,28,30,27],"class_list":["post-713","post","type-post","status-publish","format-standard","hentry","category-selenium","category-testing","tag-pairwise","tag-qa","tag-software-testing","tag-testing"],"taxonomy_info":{"category":[{"value":6,"label":"Selenium"},{"value":26,"label":"Testing"}],"post_tag":[{"value":29,"label":"pairwise"},{"value":28,"label":"qa"},{"value":30,"label":"software testing"},{"value":27,"label":"testing"}]},"featured_image_src_large":false,"author_info":{"display_name":"Promode","author_link":"https:\/\/scrolltest.com\/author\/admin\/"},"comment_info":1,"category_info":[{"term_id":6,"name":"Selenium","slug":"selenium","term_group":0,"term_taxonomy_id":6,"taxonomy":"category","description":"","parent":0,"count":38,"filter":"raw","cat_ID":6,"category_count":38,"category_description":"","cat_name":"Selenium","category_nicename":"selenium","category_parent":0},{"term_id":26,"name":"Testing","slug":"testing","term_group":0,"term_taxonomy_id":26,"taxonomy":"category","description":"","parent":0,"count":457,"filter":"raw","cat_ID":26,"category_count":457,"category_description":"","cat_name":"Testing","category_nicename":"testing","category_parent":0}],"tag_info":[{"term_id":29,"name":"pairwise","slug":"pairwise","term_group":0,"term_taxonomy_id":29,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":28,"name":"qa","slug":"qa","term_group":0,"term_taxonomy_id":28,"taxonomy":"post_tag","description":"","parent":0,"count":48,"filter":"raw"},{"term_id":30,"name":"software testing","slug":"software-testing","term_group":0,"term_taxonomy_id":30,"taxonomy":"post_tag","description":"","parent":0,"count":59,"filter":"raw"},{"term_id":27,"name":"testing","slug":"testing","term_group":0,"term_taxonomy_id":27,"taxonomy":"post_tag","description":"","parent":0,"count":43,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts\/713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/comments?post=713"}],"version-history":[{"count":0,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"wp:attachment":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}