{"id":6460,"date":"2020-11-03T17:28:18","date_gmt":"2020-11-03T11:58:18","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=6460"},"modified":"2020-11-05T18:18:51","modified_gmt":"2020-11-05T12:48:51","slug":"automated-testing-tool-squish","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/automated-testing-tool-squish\/","title":{"rendered":"Automated Testing Tool : Squish"},"content":{"rendered":"\n<p>Squish is one of the GUI Test automation tool. It is cross platform GUI and regression testing tool based on GUI technologies. It is developed by Frologic. It uses property based object identification and is also able to record the test scripts which is written in JavaScript and other languages. It is a two component system consisting of <strong>runner<\/strong> which interprets and executes scripts, and <strong>server hooks<\/strong> to control the application which is under test.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>7 features of Squish:<\/strong>&nbsp;<\/h2>\n\n\n\n<p>It has following features like:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>It has in-depth support for all major <a href=\"https:\/\/en.wikipedia.org\/wiki\/Graphical_user_interface\" rel=\"nofollow noopener\" target=\"_blank\">GUI technologies<\/a>.<\/li><li>Full support for all desktop, mobile, web and embedded platforms<\/li><li>It has test script recording<\/li><li>Powerful and reliable object identification and verifications.<\/li><li>It has powerful integrated environment<\/li><li>It has support for behaviour driven development<\/li><li>Full control via command line tools<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to create a test suite in squish?<\/strong><\/h2>\n\n\n\n<p>To create a test suite click the new testsuite button<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"559\" height=\"276\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-5.png\" alt=\"\" class=\"wp-image-6475\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-5.png 559w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-5-300x148.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<p>Provide the name for the test suite and select the scripting language. Specify the application in which the file is saved that is jar file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"597\" height=\"277\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-6.png\" alt=\"\" class=\"wp-image-6476\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-6.png 597w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-6-300x139.png 300w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"579\" height=\"463\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-7.png\" alt=\"\" class=\"wp-image-6477\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-7.png 579w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-7-300x240.png 300w\" sizes=\"(max-width: 579px) 100vw, 579px\" \/><\/figure>\n\n\n\n<p>We will have test case and now we will have test script and the test script is created. Testscript.js file is created in test case resources and name.js is created in test suite resources.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"246\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-8.png\" alt=\"\" class=\"wp-image-6482\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-8.png 574w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-8-300x129.png 300w\" sizes=\"(max-width: 574px) 100vw, 574px\" \/><\/figure>\n\n\n\n<p>Start application and create new address book file, add a new record. When the recording starts the IDE will hide the background. Then insert commands. Firstly insert the comment before you create an address book by AWT controls.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"422\" height=\"102\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\" alt=\"\" class=\"wp-image-6470\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image.png 422w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-300x73.png 300w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/figure>\n\n\n\n<p>Then add a new file by selecting the file menu on the form.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"184\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png\" alt=\"\" class=\"wp-image-6471\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png 431w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-300x128.png 300w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/figure>\n\n\n\n<p>Each actions are recorded by the squish and add a new record by selecting the edit command and new option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"252\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-2.png\" alt=\"\" class=\"wp-image-6472\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-2.png 532w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-2-300x142.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/figure>\n\n\n\n<p>Enter the values and click ok. Now suppose we have to verify that we have one record then we can do it by clicking properties under <strong>verify<\/strong> in control bar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"543\" height=\"265\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-3.png\" alt=\"\" class=\"wp-image-6473\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-3.png 543w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-3-300x146.png 300w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/figure>\n\n\n\n<p>Then the properties box is displayed, scroll down the application to find the attribute row count =1. Click <strong>save and insert verification<\/strong> button. Click <strong>stop recording<\/strong> as we have reached the test. The&nbsp; recorded script will be in the JavaScript with one main function.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"592\" height=\"242\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-4.png\" alt=\"\" class=\"wp-image-6474\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-4.png 592w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-4-300x123.png 300w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Applications of Squish tool in various areas:<\/strong><\/h2>\n\n\n\n<p>This magnificent tool can be applied on variety of testing methodologies like user interface testing, functional testing, <a href=\"https:\/\/www.h2kinfosys.com\/blog\/are-retesting-and-regression-testing-same\/\">regression testing<\/a>, key driven testing etc, which involves more than one application built in one platform or may be multiple platforms. It can be used for testing many different applications which is built on diverse platforms like android and java based applications. As it has a adaptability feature of accepting all kinds of applications developed in the latest technology most of the software application products use this tool. It is also known that it is a very suitable tool for application support or allow test script to be in the most up to date scripting languages, like JavaScript, python etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Advantages of Squish:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>It has high consistency and lesser redundancy in generating tests.<\/li><li>Reusability and scalability features with respect.<\/li><li>Modifiable as per the necessity of integration.<\/li><li>During the test execution phase it has elevated performance and superior efficiency.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Disadvantages of squish:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>It has no option to record screenshots while recording test results.<\/li><li>It is not completely automating, and requires a manual interference.<\/li><li>It can be adjustable according to developer\u2019s preferences by making some of the test results obsolete.<\/li><li>Additional cost of each and every feature is added to the original licenced version of the tool.<\/li><\/ul>\n\n\n\n<p>The squish automation tool used for making the lives of the testing professional get easier in a project with changing the requirements with the scope of the software application increases and decreases.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Squish is one of the GUI Test automation tool. It is cross platform GUI and regression testing tool based on GUI technologies. It is developed by Frologic. It uses property based object identification and is also able to record the test scripts which is written in JavaScript and other languages. It is a two component [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6660,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-6460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tutorials"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/6460","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=6460"}],"version-history":[{"count":0,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/6460\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/6660"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=6460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=6460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=6460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}