{"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":"2026-07-23T04:54:10","modified_gmt":"2026-07-23T08:54:10","slug":"automated-testing-squish-automation-tool","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/automated-testing-squish-automation-tool\/","title":{"rendered":"Squish Automation Tool"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Squish is one of the GUI test automation tools. It is a 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 are 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. Additionally, the <strong>Squish automation tool<\/strong> enhances testing efficiency.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>7 features of Squish:<\/strong>&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the <strong>Squish automation tool<\/strong>, users can achieve seamless integration in their testing processes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It has following features like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<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>\n\n\n\n<li>Full support for all desktop, mobile, web and embedded platforms<\/li>\n\n\n\n<li>It has test script recording<\/li>\n\n\n\n<li>Powerful and reliable object identification and verifications.<\/li>\n\n\n\n<li>It has powerful integrated environment<\/li>\n\n\n\n<li>It has support for behaviour driven development<\/li>\n\n\n\n<li>Full control via command line tools<\/li>\n<\/ul>\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 class=\"wp-block-paragraph\">To create a test suite in Squish, begin by organizing your test cases into logical groupings based on functionality or module. Utilize the Squish IDE to create a new test suite, ensuring to define a clear naming convention for easy identification. After establishing the suite, add individual test scripts, which can be recorded or manually coded, to encompass the desired test scenarios. Finally, configure the test suite settings to specify execution parameters and desired output formats before running the suite to validate the application under test.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create a test suite click the new testsuite button<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-5.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-6.png\" alt=\"\" title=\"\"><figcaption class=\"wp-element-caption\"><br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-7.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-8.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-2.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-3.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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 decoding=\"async\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2020\/11\/image-4.png\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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 class=\"wp-block-paragraph\">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\">\n<li>It has high consistency and lesser redundancy in generating tests.<\/li>\n\n\n\n<li>Reusability and scalability features with respect.<\/li>\n\n\n\n<li>Modifiable as per the necessity of integration.<\/li>\n\n\n\n<li>During the test execution phase it has elevated performance and superior efficiency.<\/li>\n<\/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\">\n<li>It has no option to record screenshots while recording test results.<\/li>\n\n\n\n<li>It is not completely automating, and requires a manual interference.<\/li>\n\n\n\n<li>It can be adjustable according to developer\u2019s preferences by making some of the test results obsolete.<\/li>\n\n\n\n<li>Additional cost of each and every feature is added to the original licenced version of the tool.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">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 tools. It is a 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 are written in JavaScript and other languages. It is a two-component system consisting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6660,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[10],"tags":[],"class_list":["post-6460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qa-tutorials"],"acf":[],"_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":4,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/6460\/revisions"}],"predecessor-version":[{"id":43225,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/6460\/revisions\/43225"}],"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}]}}