{"id":17031,"date":"2018-09-25T07:48:38","date_gmt":"2018-09-25T14:48:38","guid":{"rendered":"https:\/\/www.exoplatform.com\/blog\/?p=17031"},"modified":"2023-06-05T16:07:14","modified_gmt":"2023-06-05T14:07:14","slug":"how-to-set-up-your-test-automation-with-exo-platform","status":"publish","type":"post","link":"https:\/\/www.exoplatform.com\/blog\/how-to-set-up-your-test-automation-with-exo-platform\/","title":{"rendered":"How to Set Up Your Test Automation at eXo Platform"},"content":{"rendered":"<h2>1. What is an automated test ?<\/h2>\n<p>An <strong>automated test<\/strong> doesn\u2019t require human intervention. <strong>Automated test execution<\/strong> requires computer solutions that perform actions, either in a web browser or at the operating system level.<\/p>\n<p><strong>Test automation<\/strong> can reduce testing efforts and increase the amount of testing performed in a limited time. Some tests can be done in minutes that would take several hours if they had been run manually.<\/p>\n<h2>&nbsp;&nbsp;2. How do we automate tests in eXo ?<\/h2>\n<h3>2.1 Development languages and tools<\/h3>\n<p>We need the following environment to develop and run test cases:<\/p>\n<ul>\n<li style=\"font-weight: 400;\">Maven 3<\/li>\n<li style=\"font-weight: 400;\">JDK 8<\/li>\n<li style=\"font-weight: 400;\">Docker<\/li>\n<\/ul>\n<p>Our <a href=\"https:\/\/testsigma.com\/\" target=\"_blank\" rel=\"dofollow&quot; noopener\"><u>automation test<\/u><\/a> tool framework is <strong>Selenide.<\/strong><\/p>\n<p><strong>Why Selenide?<\/strong><\/p>\n<p>To choose the best tool, we selected criteria that we consider essential (see the table below).<\/p>\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td><strong>Selenium<\/strong><\/td>\n<td><strong>Codeception<\/strong><\/td>\n<td><strong>Windmill<\/strong><\/td>\n<td><strong>Sahi<\/strong><\/td>\n<td><strong>Cucumber<\/strong><\/td>\n<td><strong>Selenide<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Open source<\/strong><\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes with <i>Pro <\/i>version<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<\/tr>\n<tr>\n<td><strong>Cross-browser<\/strong><\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<\/tr>\n<tr>\n<td><strong>Development language<\/strong><\/td>\n<td>Java<\/td>\n<td>PHP<\/td>\n<td>Python<\/td>\n<td>PHP<\/td>\n<td>PHP<\/td>\n<td>Java<\/td>\n<\/tr>\n<tr>\n<td><strong>Script language<\/strong><\/td>\n<td>JavaScript PHP Python<\/p>\n<p>C#<\/p>\n<p>Java<\/p>\n<p>Ruby<\/td>\n<td>PHP<\/td>\n<td>JavaScript Python<\/p>\n<p>Ruby<\/td>\n<td>JavaScript<\/td>\n<td>Gherkin<\/p>\n<p>+<\/p>\n<p>Java<\/td>\n<td>JavaScript PHP Python<\/p>\n<p>C#<\/p>\n<p>Java<\/td>\n<\/tr>\n<tr>\n<td><strong>Regular update<\/strong><\/td>\n<td>high<\/td>\n<td>high<\/td>\n<td>low<\/td>\n<td>low<\/td>\n<td>medium<\/td>\n<td>high<\/td>\n<\/tr>\n<tr>\n<td><strong>Record playback<\/strong><\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>yes<\/td>\n<\/tr>\n<tr>\n<td><strong>Intelligent identification of objects<\/strong><\/td>\n<td>no<\/td>\n<td>no<\/td>\n<td>no<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>no<\/td>\n<\/tr>\n<tr>\n<td><strong>Waiting for events (Ajax)<\/strong><\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>yes<\/td>\n<td>no<\/td>\n<td>yes<\/td>\n<\/tr>\n<tr>\n<td><strong>Reporting<\/strong><\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>yes<\/td>\n<td>Only Pro version<\/td>\n<td>Plugin<\/td>\n<td>yes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>The criteria for <strong>choosing the best automation tool <\/strong>are the same for <strong>Selenium<\/strong> and <strong>Selenide<\/strong>. We chose Selenide because it offers simplicity in creating test cases, as explained in this link: &nbsp;<a href=\"https:\/\/github.com\/codeborne\/selenide\/wiki\/Selenide-vs-Selenium\" target=\"_blank\" rel=\"noopener\">selenide vs selenium<\/a>.<\/p>\n<h3>2.2 Automatic test development<\/h3>\n<p>The choice of test cases to be automated is based on several criteria, such as execution frequency, the development and maintenance time for the test case, and the test case execution time.<\/p>\n<p>The diagram below shows the different criteria for selecting cases that will be automated.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17013\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/diagramme-criteres-choix-test-automatise.jpg.png\" alt=\"Les diff\u00e9rents crit\u00e8res pour un test automatis\u00e9\" width=\"1007\" height=\"729\">To automate a test case, we have to go through three steps.<\/p>\n<h4>1. Locator declaration<\/h4>\n<p>&#8220;Locators&#8221; are variables defined in the &#8220;Xlocators&#8221; classes to select the HTML elements used in the test cases.<\/p>\n<p>We find these classes in the\u201c<strong>Selenium\u201d <\/strong>module.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17014 aligncenter\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/classes-module-selenium.jpg.png\" alt=\"Classes sous le module Selenium\" width=\"331\" height=\"205\">Here are some examples of locators:<\/p>\n<p><strong>By \u201cid\u201d<\/strong><\/p>\n<p><span style=\"color: #000080;\"><strong>public static final <\/strong><\/span>SelenideElement <span style=\"color: #800080;\"><strong><i>ELEMENT_ABOUT_ME_PORTLET<\/i><\/strong><\/span>=<i>$<\/i>(<i>byId<\/i>(<strong>&#8220;<span style=\"color: #008000;\">UIExperienceProfilePortlet<\/span>&#8220;<\/strong>));<\/p>\n<p><strong>By \u201cclassName\u201d<\/strong><\/p>\n<p><span style=\"color: #000080;\"><strong>public static final <\/strong><\/span>SelenideElement <span style=\"color: #800080;\"><strong><i>ELEMENT_BUTTON_ADD_GADGET<\/i><\/strong><\/span>=<i>$<\/i>(<i>byClassName<\/i>(<strong>&#8220;<span style=\"color: #008000;\">AddIcon<\/span>&#8220;<\/strong>));<\/p>\n<p><strong>By \u201cXpath\u201d<\/strong><\/p>\n<p><strong><span style=\"color: #000080;\">public static final<\/span> <\/strong>SelenideElement <strong><i><span style=\"color: #800080;\">ELEMENT_TAB_ACCESS_AND<\/span> = &nbsp;<\/i><\/strong><i>$<\/i>(<i>byXpath<\/i>(<strong>&#8220;<span style=\"color: #008000;\">\/\/*[@id=<\/span><\/strong><span style=\"color: #008000;\"><strong>\\&#8221;<\/strong><strong>UITabPane<\/strong><strong>\\&#8221;<\/strong><\/span><strong><span style=\"color: #008000;\">]\/ul\/li[2]\/a<\/span>&#8220;<\/strong>));<\/p>\n<p>There are several ways to define the locator. We should prioritize selection by &#8220;id&#8221; or &#8220;className&#8221; if it is unique. Also, &nbsp;we can use by &#8220;Xpath&#8221;, &#8220;value&#8221;, &#8220;type&#8221;, &#8220;name&#8221;, and so on.<\/p>\n<h4>2. Function development<\/h4>\n<p>Functions are specific actions that will be used in test cases. All the functions used in our test cases are in the &#8220;pageobject&#8221; package of each module. For example, the functions used for wiki test cases are under the &#8220;pageobject&#8221; package in the wiki module.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17015 aligncenter\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/Tests-wiki-pageobject.jpg.png\" alt=\"Les fonctions utilis\u00e9es pour les cas de tests wiki\" width=\"399\" height=\"323\"><\/p>\n<p>We must use locators that have already been declared in our functions. Below you can see the &#8220;add a user&#8221; function used extensively in our test cases.<\/p>\n<h4><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17016\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/ajouter-utilisateur-cas-test.jpg.png\" alt=\"Locators d\u00e9clar\u00e9s dans un cas de test\" width=\"765\" height=\"367\">3. Test case development<\/h4>\n<p><a href=\"http:\/\/softwaretestingfundamentals.com\/smoke-testing\/\" class=\"broken_link\" target=\"_blank\" rel=\"noopener\"><strong>Smoke<\/strong><\/a> test cases are under the module associated with these tests. For example, smoke forum tests are under the forum module.<\/p>\n<p><a href=\"http:\/\/testerhome.blogspot.com\/2008\/02\/sniff-testing.html\" target=\"_blank\" rel=\"noopener\"><strong><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17017 aligncenter\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg.png\" alt=\"Tests Smoke sous le module Forum\" width=\"407\" height=\"184\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg.png 407w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg-300x136.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg-360x163.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg-200x90.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg-100x45.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/test-smoke-module-forum.jpg-66x30.png 66w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/strong><\/a><\/p>\n<p><a href=\"http:\/\/testerhome.blogspot.com\/2008\/02\/sniff-testing.html\" target=\"_blank\" rel=\"noopener\"><strong>Sniff<\/strong><\/a> and <a href=\"https:\/\/www.guru99.com\/functional-testing.html\" target=\"_blank\" rel=\"noopener\"><strong>functional<\/strong><\/a> test cases are under the platform module because they require dependencies to the other modules.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17018\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11.png\" alt=\"\" width=\"912\" height=\"586\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11.png 912w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-300x193.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-768x493.png 768w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-720x463.png 720w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-500x321.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-360x231.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-200x129.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-100x64.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/11-47x30.png 47w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/>The test type is specified using the @Tag annotation in test classes. For example, this class contains sniff tests of the Answer function:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17019 aligncenter\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22.png\" alt=\"\" width=\"491\" height=\"215\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22.png 491w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22-300x131.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22-360x158.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22-200x88.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22-100x44.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/22-70x30.png 70w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/p>\n<p>We use pre-defined functions in our test cases to execute the desired scenario.<\/p>\n<h2><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-17020 aligncenter\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33.png\" alt=\"\" width=\"522\" height=\"222\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33.png 522w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-300x128.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-500x213.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-360x153.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-200x85.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-100x43.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/33-70x30.png 70w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/h2>\n<h2>3) How do we run automated tests?<\/h2>\n<h3>3.1. Run with IDE and local browser<\/h3>\n<p>We can run the test case through the IDE (Intellij) by adding the necessary parameters in \u201cVM_options(-ea -Dwebdriver.chrome.driver=<i>&lt;path-to-chrome-driver&gt;<\/i> -Dselenide.baseUrl=<i>&lt;exoplatform-instance-url&gt;<\/i>)\u201d. The test will be run on your local browser.<\/p>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17021\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44.png\" alt=\"\" width=\"1289\" height=\"797\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44.png 1289w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-300x185.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-1024x633.png 1024w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-768x475.png 768w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-1250x773.png 1250w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-720x445.png 720w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-500x309.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-360x223.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-200x124.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-100x62.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/44-49x30.png 49w\" sizes=\"(max-width: 1289px) 100vw, 1289px\" \/>3.2. Run with Maven and local browser<\/h3>\n<p>We can run tests using this Maven command:<\/p>\n<p><i>mvn &nbsp;clean verify -Prun-its,chrome \\<\/i><i><br \/>\n<\/i><i>-Dselenide.baseUrl=&lt;exoplatform-instance-url&gt; \\<\/i><\/p>\n<p><i>-Dselenium.webdriver.chrome.driver.path=&lt;path-to-chrome-driver&gt;<\/i><\/p>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17022\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55.png\" alt=\"\" width=\"816\" height=\"87\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55.png 816w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-300x32.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-768x82.png 768w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-720x77.png 720w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-500x53.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-360x38.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-200x21.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-100x11.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/55-70x7.png 70w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/>3.3. Run with Docker, Maven and Selenium Grid<\/h3>\n<p>Tests can be run on Docker images of <strong>Selenium Grid<\/strong> and <a href=\"https:\/\/www-upgrade.exoplatform.com\/blog\/2018\/02\/16\/cartoon-week-google-block-intrusive-ads-within-chrome-browser\/\" target=\"_blank\" rel=\"noopener\">Chrome<\/a>.<\/p>\n<p>First, we must start containers using this command:<\/p>\n<p>docker-compose -f core\/src\/main\/resources\/stack\/docker-compose-50-hsqldb.yml -p qa_ui up<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17023\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66.png\" alt=\"\" width=\"734\" height=\"194\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66.png 734w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-300x79.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-720x190.png 720w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-500x132.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-360x95.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-200x53.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-100x26.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/66-70x19.png 70w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/>Then, we run tests on the chrome node of the <strong>Selenium Grid<\/strong>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17024\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77.png\" alt=\"\" width=\"781\" height=\"103\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77.png 781w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-300x40.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-768x101.png 768w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-720x95.png 720w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-500x66.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-360x47.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-200x26.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-100x13.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/77-70x9.png 70w\" sizes=\"(max-width: 781px) 100vw, 781px\" \/>We can use this parameter to select tests to run; for example, if you want to run smoke tests, you add <i>-Dselenide.test.tags.include=smoke \\ <\/i>to the above command.<\/p>\n<h3>3.4. Run with Jenkins<\/h3>\n<p>We can also run <strong>automated tests<\/strong> through our private pipeline: <strong>platform-qa-ui-with-params<\/strong>.<\/p>\n<h2><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-17025\" src=\"https:\/\/www-upgrade.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88.png\" alt=\"\" width=\"691\" height=\"626\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88.png 691w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-300x272.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-522x473.png 522w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-362x328.png 362w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-261x236.png 261w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-145x131.png 145w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-100x90.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2018\/09\/88-33x30.png 33w\" sizes=\"(max-width: 691px) 100vw, 691px\" \/><\/h2>\n<h2><\/h2>\n<h2>Conclusion<\/h2>\n<p><strong>Test automation<\/strong> at <a href=\"https:\/\/www.exoplatform.com\/\">eXo<\/a> has allowed increased coverage of test cases, early detection of anomalies (i.e. we have scheduled an automatic weekly Jenkins pipeline run for early bug detection) and time savings in execution (e.g. 1000 cases require 10 d\/h to execute on one instance manually, while automatic tests are run in four hours on multiple instances in parallel).<\/p>\n<p>&nbsp;<\/p>\n<div>\n<div class=\"adv-events\" style=\"background: #476fad; padding: 30px 20px; color: white;\">\n<div class=\"media\">\n<div class=\"pull-right\"><a href=\"https:\/\/community.exoplatform.com\/portal\/dw\/\" target=\"_blank\" rel=\"noopener\"><br \/>\n<img decoding=\"async\" class=\"size-full wp-image-6587 alignright\" style=\"border: none;\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2016\/02\/tribe.png\" alt=\"Join The eXo Tribe\" height=\"120px\"><\/a><\/div>\n<div class=\"media-body\">\n<h4 class=\"media-heading\"><a href=\"https:\/\/community.exoplatform.com\/portal\/dw\/\" target=\"_blank\" rel=\"noopener\">Join The eXo Tribe<\/a><\/h4>\n<p><a href=\"https:\/\/community.exoplatform.com\/portal\/dw\/\" target=\"_blank\" rel=\"noopener\"><br \/>\nRegister for our Community to Get updates, tutorials, support, and access to the Platform and add-on downloads. <strong>Sign in Now!<\/strong><br \/>\n<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"1. What is an automated test ? An automated test doesn\u2019t require human intervention. Automated test execution requires computer solutions that perform actions, either in a web browser or at the operating system level. Test automation can reduce testing efforts and increase the amount of testing performed in a limited time. Some tests can be [&hellip;]","protected":false},"author":7,"featured_media":17032,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":[],"categories":[819],"tags":[711,827],"lang":"en","translations":{"en":17031},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/17031"}],"collection":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/comments?post=17031"}],"version-history":[{"count":0,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/17031\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/media\/17032"}],"wp:attachment":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/media?parent=17031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/categories?post=17031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/tags?post=17031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}