<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohammad Adil</title>
    <description>The latest articles on DEV Community by Mohammad Adil (@emailforadil).</description>
    <link>https://dev.to/emailforadil</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F194413%2Fe5d8c307-1b34-4c2c-a738-c386c011d6ea.png</url>
      <title>DEV Community: Mohammad Adil</title>
      <link>https://dev.to/emailforadil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emailforadil"/>
    <language>en</language>
    <item>
      <title>Looking Beyond Record And Playback For Automation Testing</title>
      <dc:creator>Mohammad Adil</dc:creator>
      <pubDate>Wed, 16 Oct 2019 12:33:04 +0000</pubDate>
      <link>https://dev.to/emailforadil/looking-beyond-record-and-playback-for-automation-testing-2kl0</link>
      <guid>https://dev.to/emailforadil/looking-beyond-record-and-playback-for-automation-testing-2kl0</guid>
      <description>&lt;p&gt;With the modern technology bringing changes in almost every major industry that matters, the IT industry is bitten by the test automation bug as every task is being evaluated to see how they can be ‘automated’ in a better way to reduce the running cost, time, also the effort.&lt;/p&gt;

&lt;p&gt;The scriptless coding approach has the ability to speed up the software development process and help testers to participate more on automation testing and maximize the reusability of the code. Scriptless automation testing solves the coding/scripting related problems that are generally faced by manual testers. Test script development demands a lot of time in automation testing which is one of the biggest challenges for QA teams. Hence it is better to opt for a scriptless framework for automation as it makes the test automation less complex.&lt;/p&gt;

&lt;p&gt;&lt;b&gt; Why Scriptless Automation Testing? &lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;It Reduces the Time Spent on Automation&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
Using scriptless automation testing can help QA teams increase their automation speed for large test suites by as much as 1.5 times. As the delivery speed increases, the “go-to market” time decreases which help release major software releases. With scriptless automation testing, the automation time gets reduced by 40% which can be utilized in maximizing the test coverage and release better products.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;Eliminates Coding&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
Scriptless automation helps the manual tester to build script with the use of actions and objects which gives an option to change the technologies anytime as per the need. A well-designed scriptless automation testing tool can hide the complexities related to the tool and language.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;Offers Easy Maintenance and Reliability&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
One of the best benefits of using scriptless automation testing is that it allows maintaining scriptless test suites easily. Automation tests built using scripts often fail at the maintenance phase. Reusing and maintaining code is a tedious task when it comes to Script-based automation testing tools unlike scriptless automation tests built with well-designed scriptless testing tools offer easy maintenance and has self-healing features that automatically takes care of changing UI attributes.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;Gives the Ability to Insert Code&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
Scriptless tools give access to incorporate all the possible test scenarios. A few scriptless automation testing tools that I have checked help create custom functions which allow us to make custom test steps customized as per the needs.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;Ensures Repeated Testing of Product&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
Going scriptless open the gates for business analysts and subject matter experts to comment on automated testing environments, who stayed away from it due to complex coding. It ensures that the product is being tested repeatedly.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;Saves Money&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
Generally, companies have to spend a lot of money on training resources on scripting skills. By going scriptless, they can easily save this money and time spent on training by automation experts. Also, the scriptless automation testing can be easily used by the manual testers which ensure high capacity utilization of their knowledge.&lt;/p&gt;

&lt;p&gt;Does opting scriptless automation testing become a problem for skilled automation engineers? No, it doesn’t. The expertise of automation engineers can be used in white box testing, integration and unit testing and designing of the test suits.&lt;br&gt;
So, we have already seen how scriptless test automation is proving its worth by making automation much faster and more usable.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Look Beyond Just Record and Playback&lt;/b&gt;&lt;br&gt;
As we know that record and playback is an easy way to automate the manual testing processes as it requires no programming knowledge. With the record and playback, we can perform manual testing without writing long scripts as record feature can record those actions. Record and playback feature is critical for the software development cycle as it accelerates the testing process and makes it more efficient. But it is important to understand that a scriptless automation framework is not just about record and playback. Record and playback just give a working script with a hardcoded value of inputs to the user which has to be customized later. You may read this guide that explains in detail as to &lt;a href="https://testsigma.com/blog/why-is-record-and-playback-not-suitable-for-enterprise-class-test-automation/"&gt;Why Record and Playback is not enough for test automation&lt;/a&gt;. With scriptless automation testing, you can auto-generate test scripts based on the user cases on the application undergoing tests which is an advanced version of the traditional record and playback feature.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;How to Select the Right Scriptless Automation Tool? &lt;/b&gt;&lt;br&gt;
Keep these things in mind while adopting a scriptless automation tool –&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The test automation tool should be simple, flexible and allow everyone to participate in the test automation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The automation testing tool should have the ability to find an alternative element locator in case a particular element goes missing. A good scriptless automation testing tool allows you to bring more than one element locator as it reduces the effort in maintaining large scripts.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In some cases, we need to create similar steps for each of the test cases, hence the scriptless automation tools should have the reusable steps feature to avoid the redundant effort required in creating the same steps for each test cases.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The tool should have the “assertion” feature which ensures that the test fails if the result doesn’t match with the expected outcome. With this feature, you can easily find whether the test is successful or not once you are done writing the code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A good scriptless automation testing tool needs to provide easy modifications such as adding, deleting or editing an existing action in a scenario so that you don’t have to re-write the entire scenario as it affects your turnaround time and quality of software.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before the product/software release, tests need to be run across multiple browsers. Testing different scenarios on multiple browsers is a time-taking process and it takes a toll on the script authors. A good scriptless automation testing tool should also allow test authors to reuse the tests on multiple browsers and device permutations.&lt;/p&gt;

&lt;p&gt;There are cross browser testing tools like &lt;a href="https://saucelabs.com/"&gt;Sauce Labs&lt;/a&gt;, &lt;a href="https://www.browserstack.com/"&gt;BrowserStack&lt;/a&gt; that offer dedicated testing cloud solutions. And, scriptless testing solutions like &lt;a href="https://testsigma.com/"&gt;Testsigma&lt;/a&gt;, &lt;a href="https://www.tricentis.com/"&gt;TOSCA&lt;/a&gt;&lt;a&gt;&lt;/a&gt;, &lt;a href="https://www.eggplantsoftware.com"&gt;Eggplant&lt;/a&gt;&lt;a&gt;&lt;/a&gt;, etc that makes the test authoring process easy while also allowing the tests to be run on numerous device combinations on the cloud. A few tools among these allow executing tests on real devices as well. &lt;/p&gt;

&lt;p&gt;AI and ML are a few popular trends in Scriptless Automation Testing. NLP is a relatively new concept and is being applied in Testing as well. Testsigma is using NLP and allows automating tests in natural language which is quite easy to use and seemingly reliable.&lt;/p&gt;

&lt;p&gt;So, if you are looking for a scriptless automation testing tool, check what type of application you are automating and what features you need. Today, Agile teams need more than just Traditional Testing Tools. It is important to look at &lt;a href="https://dzone.com/articles/top-5-alternatives-to-selenium"&gt; alternatives &lt;/a&gt; to help shorten your software lifecycle and only you would know what works best for your workplace. Opt in for trial versions of both Scriptless Testing Tools and Record and Playback Tools or Selenium and understand what works best for your team!&lt;/p&gt;

</description>
      <category>automationtesting</category>
      <category>testing</category>
    </item>
    <item>
      <title>When to Choose Test Automation Framework Over Manual Testing</title>
      <dc:creator>Mohammad Adil</dc:creator>
      <pubDate>Fri, 12 Jul 2019 14:40:00 +0000</pubDate>
      <link>https://dev.to/emailforadil/when-to-choose-test-automation-framework-over-manual-testing-4m9j</link>
      <guid>https://dev.to/emailforadil/when-to-choose-test-automation-framework-over-manual-testing-4m9j</guid>
      <description>&lt;p&gt;How to determine which framework is right for your organization? Should you choose Test Automation Framework over Manual Testing?&lt;/p&gt;

&lt;p&gt;In this fast-paced world, people need convenience, innovation, safety, design and much more from their products and services. This pushes companies to develop and test software at a rapid pace in order to thrive in this competitive marketplace. To meet these demands in a quick time, firms leverage automation technology.&lt;/p&gt;

&lt;p&gt;As we all know that manual testing is tedious, time-consuming and requires a high investment in human resources, and hence to avoid all these issues, automation testing is preferred by the organizations. So let’s explore test automation frameworks, when to use it over manual testing and how to choose the right one.&lt;/p&gt;

&lt;p&gt;An automation framework is a comprehensive set of guidelines which provides an execution environment for automation test scripts to produce beneficial results of the automated testing activity. The guidelines may include coding standards, test libraries, test tools, common practices and assumptions of the desired outcome. But, it is important to know when an organization should choose automation framework over manual testing. When a team of developers is working on different modules of the same application, using a mix of various approaches can create confusion and hence the likelihood of errors gets increased. Hence it is important for the organizations to choose the ideal framework for their specific requirements and apply it to each module.&lt;/p&gt;

&lt;p&gt;Some of the key benefits or objectives of using test automation frameworks include:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Reusable Tests:&lt;/em&gt; Efficiently designed test automation frameworks are easier to maintain and are usable.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Low-Cost Maintenance:&lt;/em&gt; Reusable automated tests results in low-cost maintenance.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;No Manual Intervention:&lt;/em&gt; Ability to run automated tests without any manual intervention.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Easy and Transparent Reporting:&lt;/em&gt; It gives clear, unambiguous and targeted reporting and fits the requirement of different type of reporting with different information or detail level.&lt;/p&gt;

&lt;p&gt;Here are the standard types of test automation framework which are generally used:&lt;br&gt;
Depending on the need and requirement of the tester, there are certain widely used test automation frameworks with different functionalities which are preferred by the QAs including:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linear Scripting Framework:&lt;/strong&gt; This framework involves recording and replaying of test scripts in a linear fashion with no or little modification. This is the first generation testing method for automated software testing and has the simplest framework approach. Linear scripting framework is mainly used to test a web application’s user interface wherein the testers record their step-by-step actions and playback the record tests. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data-driven Framework:&lt;/strong&gt; This framework allows the tester to segregate both the test script logic and data by storing it in an external database such as XML, CSV, Excel spreadsheet, text etc. The best feature of this type of framework is that it reduces the number of scripts required to cover all the test cases and it has the ability to modify test scenarios with code based on the data used. The data-driven framework comes with a drawback that a combination of external data sources may crash software tools and complicate manual testing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keyword-driven Framework:&lt;/strong&gt; In this type of framework, tables on a spreadsheet determine the action of a test script based on the assigned keywords. This framework offers the same benefits as of Data-driven framework with an added advantage that in this, the user doesn’t need to have extensive coding knowledge. The framework is also application independent, i.e. it is not dependent on the application, programming languages or automation tools. The main disadvantage of Keyword-driven framework is that the initial investment of time and money is high.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Modular Testing Framework:&lt;/strong&gt; This type of framework divides the application under test into isolated modules that can be combined to make larger test scripts. The modular testing framework breaks down a user’s interaction with the application into smaller tests and then recombines them to achieve specific goals. It is scalable and comes with a high level of modularization which results in easier and cheaper maintenance. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hybrid Testing Framework:&lt;/strong&gt; This framework is the combination of more than one of the above-mentioned frameworks to leverage the strengths of each. Hence it combines benefits from all its associated frameworks and avoids weaknesses. Most of the test automation frameworks that are developed for modern software development cycles are of hybrid nature.&lt;br&gt;
In order to be effective, these automation frameworks should possess some key elements such as:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Should be easy to maintain and reusable&lt;br&gt;
Should be scalable to future needs&lt;br&gt;
Have reliability and consistency&lt;br&gt;
Have high efficiency&lt;br&gt;
Should have maximum test coverage&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to determine which framework is right for your organization?&lt;/strong&gt;&lt;br&gt;
Every team and every project has its own requirements for test data management, test behaviour specification, error handling, reporting etc. Before finalizing the ideal framework for your organization, you should ask these questions to yourself:&lt;/p&gt;

&lt;p&gt;a) Does the application have a complex flow? Have a look at the testing requirements.&lt;/p&gt;

&lt;p&gt;b) What is the user experience like and consider the technology used in the application?&lt;/p&gt;

&lt;p&gt;c) Determine the costs associated with each framework.&lt;/p&gt;

&lt;p&gt;d) Can your team easily plug into one of the frameworks? Evaluate the skill set of your team within the organization.&lt;/p&gt;

&lt;p&gt;e) What guidelines will give the desired results of the automated tests?&lt;/p&gt;

&lt;p&gt;f)Which tools would be ideal for your organization before designing an approach that fulfills all the requirements?&lt;/p&gt;

&lt;p&gt;g)What is the technical proficiency of the people who are going to maintain test automation?&lt;/p&gt;

&lt;p&gt;h)What types of reporting is expected from the automation?&lt;/p&gt;

&lt;p&gt;It is best to create a scorecard to assess several parameters including scripting, integration, reports generated, usage etc. while evaluating multiple tools. Test automation frameworks will establish the guidelines to achieve the desired goals of automated tests. But a qualified and proficient test automation professional should be involved in consideration of design and implementation of automation frameworks or selection of software tools.&lt;/p&gt;

&lt;p&gt;In today’s modern software development methods, test automation frameworks have an important role to play. Even the small/medium enterprises are looking forward to reaping the benefits of automation frameworks to meet the demand for their products &amp;amp; services and are very much prepared for its need in the future.&lt;/p&gt;

&lt;p&gt;Shifting from Manual Testing to Test Automation is not easy for a team of developers due to lack of knowledge of how and where to start. If your company wants to implement test automation and are looking for a Unified Test Automated solution, you can try &lt;a href="https://testsigma.com"&gt;&lt;strong&gt;Testsigma&lt;/strong&gt;&lt;/a&gt;. It can help the Agile and DevOps teams to easily switch from Manual Testing to Test Automation without making the hands dirty on coding. The AI-driven cloud-based automation testing tool offers all the elements required for continuous testing.&lt;/p&gt;

</description>
      <category>bestpractices</category>
      <category>testing</category>
      <category>manualtesting</category>
      <category>testautomation</category>
    </item>
  </channel>
</rss>
