Brain  Crist

Brain Crist


8 Types of Test Cases To Be Automated - Software Testing Material

Are you an automation tester and want to know how to choose which test cases to automate?

You know this is one of the popular Selenium Interview Questions

We know that automation testing saves a lot of time and cost. Some managers think that an automation tester needs to automate complete application and also a few teams rush to automate everything.

There are some types of test cases we must automate and also some test cases we must not automate. We shouldn’t automate all the test cases. Earlier we have discussed on 8 Types of Test Cases Not To Be Automated.

Here we will discuss how to select correct test cases for automation testing.

Page Contents

Test automation for web application has a cardinal number of precedence in contrast to manual testing because it upgrades the result and constitution, enhances reliability, and minimize deviations from the results. Moreover, test automation stimulates process, expand coverage tests. So, this can eventually expand overall standards of application. Superior automation can enhance the quality of publications, enlarge test coverage, minimize testing cost, and also empower early detection of miscalculations.

One major problem with test automation is to choose suitable test cases for automation. Here the question arises on which base the user can detect whether all test cases can automate or not.

To solve this obstacle the users must have to acknowledge the benefits of each test case automation. Software testing is a decisive part of any system that is going to launch. If the software is not tested properly and contains an increasing number of bugs then there are maximum possibilities that people are not going to use this product, at least not for a long period. Manual testing is not only time consuming, immoderate, and repetitive but also leads to human error. Quality assurance teams perform automated testing by using software automation tools. These tools analyzed software in detailed, repetitive, and data-intensive manners that assist to improve software quality in a limited, and cost-effective manner.

Decisions about automated testing are a critical part of automation planning. The screening process must have to follow whenever the manual test case is required. Following guidelines could be considered while deciding potential test cases for automation

Types of Test Cases To Automate

1. Data-driven test cases:

Data-driven test cases are suitable for those testing since they require multiple data sets or require several data entries such as testing that needs a username and password, filling up the forms with a multiple data variation. Let’s look at some potential examples

  • You want to test different roles with different permissions. In one of my healthcare projects, I had to test around 20 roles and each role has its own set of permissions. Imagine manually logging in as each role and testing its permissions. Also, imagine running these tests as part of smoke testing which happens frequently. So, automating these tests is ideal.
  • In another scenario, I was testing an application that monitors healthcare devices such as CT and MR machines. The application would monitor several parameters maybe 50 of them and based on threshold raise an alert if something is wrong. Example: if hard drive is full raise an alarm. Now imagine testing alert for each parameter. It used to take 2 days to test all combinations however after automation, testing completed in 30 minutes.

2. Test cases with higher complexity:

Test cases requiring a higher level of preparation and setup work should be automated.

Let’s say you are testing CRM (Customer Relationship Management) application and you might want to hit CRM API, but before that, you need to set up authentication, you might need to hit some other APIs in order to finally test the CRM APIs. This might easily take some time and to test several scenarios might take a day or two.

3. Test case with many database updates:

If your test cases involve multiple database entries, it should be a good candidate for automation. Imagine a scenario that you only have one credential to login but want to test different permissions. In one of my projects we were not allowed to have more than one credential, so we changed permissions for the role and logged in with the same credentials. Performed testing. I had to test different roles but with one login credentials. I automated that by writing an automation script where the script would first change permissions, login, and execute the test case. It saved me a lot of time.

4. The test execution rate is high:

Test cases that are executed in every release are suitable candidates to be automated. Smoke or sanity test cases are the best examples for higher execution.

5. Smoke/Critical tests:

Smoke or critical tests are performed for those features and functionalities that are frequently used in the automation process. The smoke test includes critical test cases. Sometimes you want to make sure your production environment is always up and running and to achieve that you automate critical tests and run them every single morning.

6. Tests with several combinations:

Test cases that involve different combinations or configurations are automated to save time and to avoid human errors. Don’t get confused about this with any of the above categories. Let me give you an example; Imagine an application that connects to different hardware and verifies hardware configurations and software configurations installed on it. You would store those expected parameters either in the database or XML file, connect to the device, and compare your stored parameters with the actual parameter values store on the device. This will become a challenge to test manually when you would have to test several devices with different combinations.

7. Graph test cases:

Graphs are used to display data in a pictorial format. Graph testing requires plenty of data manipulations. It also includes different scenarios such as testing with plus and minus values, valid and invalid data, etc. Automation testing with graphical test case not only save time but also help to maintain the accuracy of graphical data.

8. Higher manual execution time:

Sometimes test execution takes a lot of time even when tests are short, not complex in nature, or don’t involve data variations. Those tests can also be automated to save time and avoid repetitive effort.

For example, I was working on a project, and application under test had many interlinked/interdependent modules which means changes in one module might affect functionality in other modes. We had to test all modules by executing all modules tests which sometimes led us to 200 test cases or more and easily take 4 to 5 days. Running those tests in one iteration for 5 days would cost a lot of time and money. So, we automated around all the interdependent tests and were able to run one iteration in just a day which saved us 4 days of time.


Now the world has moved towards automated testing techniques that are not only cost-effective but also save huge time. There are many automated testing techniques are available for testing system applications. Detailed understanding of system applications and test cases techniques helps the tester to choose appropriate techniques for their systems. The success of any test automation depends on identifying and choosing the right test cases for their software products.

Automated testing help to finish the task faster and generate acceptable results. However, there are some test cases they can generate effective results when done manually rather than using automated techniques. So, testers should take the lead, discuss with stakeholders, and come up with a comprehensive plan to identify potential cases for automation.

#automation #testing #coding

What is GEEK

Buddha Community

8 Types of Test Cases To Be Automated - Software Testing Material

Kyra Banks


A well-explained blog indeed…!

Kudos to you for covering some great content up on your profile.

Would be great, if you could look up Selenium Interview Questions here as well:

Alayna  Rippin

Alayna Rippin


Accelerate Test Execution With Self-Healing Mechanism

In recent years, the testing community has witnessed a steady rise in automation testing. Although it has proved significant advantages compared to manual testing, flakiness in locating objects for WebUI testing is still a constant problem that restrains the transition to automated testing for teams. Testers have to spend unnecessary time and effort to manually update the object locators whenever they make new changes to the application.

The Self-healing mechanism is one of the most promising factors to completely change the automation Web testing. By eliminating unnecessary repetitive tasks in execution, this mechanism creates the foundation for test automation to perform at its full potential.

Object Locator Flakiness — A Constant Challenge in Test Automation

Object locator flakiness comes from the root of automation itself: fragile test scripts. Object locators, most often, can no longer identify the target element after the application under test (AUT) changes. Pre-written scripts then will fail to run the test correctly, which results in a false failed result. The QA team has to detect whether their tests fail because they actually have a problem, or the scripts cannot adapt to new element changes. Web testing, in which UI changes happen over and over, appears to suffer the most from this flakiness.

To maximize the speed advantage of automation testing, automation testers demand a mechanism that can recognize and skip these UI changes to keep the scripts running seamlessly. For automation testers, Self-healing function has turned out to be the optimal solution for this pain point.

What Is Self-Healing Automation? Why Is it Important?

Self-Healing Capability: A Definition

The human body is a perfect example to explain the self-healing mechanism. Whenever a human gets injured, the human self-healing function is triggered to find the wound and heal it without any action needed. For any minor injuries, this mechanism can quickly heal wounds without human intervention.

Back to self-healing automation in software testing, it functions exactly like the way the human body works. Based on the object changes in properties, the self-healing mechanism actively studies the characteristics and properties of all available objects, removing similar objects on the page and comparing their historical data. Then, the test engine will automatically pick up an alternative that best assembles the changed locator to keep the test running.

How Does Self-Healing Capability Benefit Test Automation?

Self-healing has been a desirable solution to solve one major challenge of automation testing: Quality at speed.

By identifying new changes and replacing them with similar objects, the self-healing mechanism reduces downtime and significantly speeds up the deployment process. With this capability, QA teams can release the burden of intense script maintenance, and save time and resources.

Additionally, a well-built self-healing mechanism gives QA teams the ability to create generic test frameworks that can apply to a broad range of software, improving the benefits of automation.

More and more automation tools have developed self-healing as an essential part of the tool in response to this enormous demand. Many experts expect that self-healing will become less of a nice-to-have function but a must-have for all automation tools in the near future.

In their latest update — version 7.6 — Katalon Studio company has introduced the new self-healing mechanism to its users. This function allows users to speed up processes and maximize automation efforts for the whole team.

See what’s new in Katalon Studio.

How Katalon Studio’s Self-Healing Capability Enhances Automation Processes

Before the updated version was released, Katalon Studio users were familiar with its Auto-healing Smart XPath. This plugin assists in recovering broken default locators by trying other available XPath alternatives. However, in case there are no suitable alternatives available, the execution will stop running.

To advance its process and provide users with more efficient test maintenance, Katalon Studio developed the Self-healing mechanism that has been released lately. Following the positive impacts of Smart XPath, the self-healing mechanism is made to be more robust and comprehensive to tackle broken locators during each execution.

Get to Know the Self-Healing Mechanism in Katalon Studio

During the execution, if Katalon Studio fails to identify an object with its default locator, the tool tries other pre-configured locators associated with that object. With 4 selection methods, including XPath, Attributes CSS, and image, users can opt to set the object locating priority to ensure accuracy and continuity of the execution.

If Katalon finds a suitable object within the selectors, the test keeps running to completion. With approval from the tester, the locator that is selected to replace the broken object will then be saved for that particular Test Object in future executions. By doing so, Katalon Studio creates a database to make the self-healing mechanism even more efficient by avoiding analyzing one same broken object repeatedly.

Once the execution is over, Katalon Studio will suggest replacing all broken locators with the locators having found the objects. If Katalon Studio cannot find the target objects, the test will either continue or stop running, depending on how users designed the failure handling option.

How to Execute Tests Using Self-Healing Mechanism in Katalon Studio


  • Katalon Studio version 7.6 onwards
  • An active Katalon Studio Enterprise license

In a Katalon Studio project, you can find a screen in project settings dedicated to Self-healing. You can change the default settings to make the utility better suit your needs.

The self-healing mode is activated by default whenever users run the application. To open the Self-healing window, go to Project/Settings/Self-Healing/Web UI.

Configure Test Design

To start with Katalon Studio’s self-healing, users need to set initial settings to decide the default selection method used during spying and recording. Please note that for Image selection, screenshots for the objects are mandatory.

Go to Project/Settings/Self-healing/Web UI/Test Design to set the default selection method.

test design

Configure Self-Healing Execution

Users can decide which alternative locators to be used in terms of selection methods and their priorities in Project/Settings/Self-Healing/Web UI/ Test Execution.

test execution

This predefined order will be applied when Katalon fails to locate the target objects.

All the replacements are recorded in Self-healing Insights when the execution is over. Katalon Studio allows users to decide which alternative locators to be used in terms of selection methods and their priorities.

To read the full tutorial and sample project using the self-healing mechanism, you can visit Katalon’s Document hub here.


With this upgraded Self-healing mechanism, Web testing is made faster and easier as it reduces human efforts on script maintenance with less interruption. This is a valuable addition for Katalon users to have a more powerful automation experience with consistent results.

To try out this new functionality, sign up on the Katalon website with your business email and get a 30-day free trial with full functions in the latest Katalon Studio!

#devops #software testing #automated testing #automation testing #update #software test automation #xpath #automation tools #software testing 2020 #object locator

Ananya Gupta

Ananya Gupta


Is Software Testing a Good for Career?

Software Testing is the hottest job at present time. The requirement for a software tester is increasing day by day with a good salary package depended on their skills in the software development companies.

Software testing has become a core part of application/product implementations. The good who want to make a career in software testing because it has a great scope of software testing is increasing day-by-day in the IT field.

The roles of a software tester are given according to their skills and experience. Here are the following is given below:

QA Analyst (Fresher)
Sr. QA Analyst (2-3 years’ experience)
QA Team Coordinator (5-6 years’ experience)
Test Manager (8-11 years’ experience)
Senior Test Manager (14+ experience)

Reasons Why Software Testing Is Good Career Option

Good Salary Package
Software tester gets paid a high salary package on which a software developer gets. It doesn’t matter beginner or fresher payment scale is on the same level all depended on their skill. Companies raise their salary based on skill, experience, and certification.

High In Demand
Now in the modern age competition is high for a software tester to provide high-quality products and services. For quality, final product testing is a basic core screening element which is the demand for Automation software testing is high in comparison to manual testing. Similarly, both software development and testing have great career opportunities for never-ending opportunities.

Easy To Enter In IT Sector
Whatever stream graduates can easily get into the IT sector by completed their online Software testing course. You don’t need to know advanced coding knowledge if you think that requires it. The only matter is interest to learn and work.

Easy To Learn
Many institutes provide software testing courses or online Software training from where you learn tools used for testing can easily by anyone who has an interest. Those who have basic coding skills can enter into software testing. However, It will not be easy for those who choose software testing just because of the trend and don’t have their interest in it.

Work As Freelancer
Software Testing is a flexible job, you can work on freelancing. Now there is the option to work from home in the IT sector in a flexible to maintain a work-life balance.

In other words, many companies prefer freelance work to reduce the cost and also the result is high, therefore one who has done a software testing training course either can work freelance or regular job the decision is up to you.

#software testing online training #software testing online course #software testing training in noida #software testing training in delhi #software testing training #software testing course

Aurelie  Block

Aurelie Block


Top 10 Automation Testing Tools: 2020 Edition

The demand for delivering quality software faster — or “Quality at Speed” — requires organizations to search for solutions in Agile, continuous integration (CI), and DevOps methodologies. Test automation is an essential part of these aspects. The latest World Quality Report 2018–2019 suggests that test automation is the biggest bottleneck to deliver “Quality at Speed,” as it is an enabler of successful Agile and DevOps adoption.

Test automation cannot be realized without good tools; as they determine how automation is performed and whether the benefits of automation can be delivered. Test automation tools is a crucial component in the DevOps toolchain. The current test automation trends have increased in applying artificial intelligence and machine learning (AI/ML) to offer advanced capabilities for test optimization, intelligent test generation, execution, and reporting. It will be worthwhile to understand which tools are best poised to take advantage of these trends.****

#automation-testing #automation-testing-tools #testing #testing-tools #selenium #open-source #test-automation #automated-testing

Wiley  Mayer

Wiley Mayer


TestProject Open SDK for Java - Software Testing Material

TestProject is a free automation tool that promises to give painless automation experience. It has the feature of record and plays associated with a developer SDK. It also has the capability to build and utilize addons as per need. It is based on automation tools like Appium and Selenium.

Having said that, TestProject removes the complication of maintaining and downloading multiple browser drivers required for testing an application in various platforms and browsers. This is overcome by having an executable file that can run in the majority of browsers and devices.

#automation #automation testing #codeless test automation #scriptless test automation #test automation #testproject

Ananya Gupta

Ananya Gupta


What Are The Software Testing Specializations?

One of the more common problems with going into a specialization is trying to seek out how to interrupt into or learn skills concerning a specialization. A method is to seem for jobs specifically focused on a specialty of your choice and check out to start at an entry-level with less knowledge. Differently is to develop that knowledge and skill via mentors and workshops.

Social networks have an outsized sort of people doing interesting add different places. The simplest place to start with a specialty you’re curious about pursuing is to seek out someone already working within the field that might be willing to mentor you or point to someone that would mentor you into that specialization. Join best software testing online training to develop your skills.

Mobile Testing: Testing on and around mobile applications and possibly the hardware to which applications are deployed.

Data Analyst: This might be anything from analyzing trends in user data to analyzing and testing data created by an application.

Data Testing: Often involves Services, API, and Databases. ensuring data is moving from one place to a different, transformed correctly, stored correctly. this needs knowing how different sorts of data are utilized in an application or several applications.

Usability Tester: Works with domain knowledge and understanding of workflows for an application. the power to ask the user questions on those workflows, and understanding what’s possible with UX/UI designs gives this specialty an ingenious outlet. It’s also utilized within the skill set of an honest UX/UI designer.

Accessibility Testing: All types of tech must be more accessible to parents with a variety of accessibility requirements. Someone testing in these areas would wish to know regulations and skills to interrupt down an app to seek out places that may not meet those standards and regulations. Having empathy and understanding of sites with accessibility requirements are going to be key to being successful during this career choice best option to register in the best software testing training company in Noida.

Security Analysts: Are often testing for vulnerabilities, exploits, and loopholes. It takes on many various forms and sometimes the simplest security testing is knowing social engineering and the way this plays into security concerns.

Performance/Load Testing: This type of testing is employed to get a baseline, optimal, and failure handling for various application and network traffic metrics. this is often an ever-expanding area that may cover a good sort of use cases and concerns.

DevOps: A Tester on an ops team focuses on the testability of the pipeline. They apply lessons learned from automation about how a pipeline is often tested to verify it’s performing correctly. It’s a hybrid role that will cause a transition into ops and infrastructure roles.

Quality Training: This role is vital to emerging and transitioning companies often trying to find culture and process changes. It’s often a consulting position. Classes are there to assist the entire team to thrive and sometimes use their testing skills to show the entire team testing techniques.
Specializations in testing are technical skill sets that are a growing need within the software development market. Having even a little amount of data about any of those specializations can make a Tester extremely valuable to a corporation.

Web sites and Enterprise apps are still an outsized majority of labor and that they are growing in complexity. the necessity to possess more specialized skills is growing, companies will need those skills to narrow in thereon complexity and add up to it.

#software testing online training #software testing online course #software testing training #software testing course #software testing