Automation Testing note Intellepath2021
Automation Testing note Intellepath2021
1
Though testers do Manual and Automation testing both, doing
Automation Testing eases a lot of manual work, provides
accurate results, and saves up a lot of time, which results in the
quicker delivery of the product.
In this step, you will execute the test scripts and check whether
the scripts run correctly or not. This step involves all the
functional aspects and compatibility across multiple platforms.
You also need to generate a bug report if the test case fails.
This is the last phase of the testing life cycle. Here, you will
analyze the test reports to determine whether they need
additional testing or not. Then, the generation of test results is
done to confirm if the test scripts can identify errors in the
application. Finally, the test reports are shared with the
members/clients who are involved in the project.
3
Types of Automation Testing
Functional Testing
Non-functional Testing
4
Unit Testing
API Testing
database.
UI Testing
Smoke Testing
Integration Testing
Regression Testing
Security Testing
Performance Testing
Acceptance Testing
7
to get beneficiary outcomes such as easy code reuse, reduced
time to manage scripts, and high portability.
Linear Framework
Keyword-driven Framework
Data-driven Framework
In a data-driven framework, all the test case data inputs are
stored in the table or in extension files,
including .xls, .xml, .csv, etc. While executing the test scripts, it
will read the values from the table. With the help of this
framework, you can perform both positive and negative test
cases.
Page Object Model Framework
8
on without having to write the code again. Thus, it results in
less verbosity, code reusability, and reduced time-consumption
to write test scripts.
Modular Framework
The modular framework allows you to divide the test scripts
into small, independent modules. These modules will interact
with each other in a hierarchical manner to run large test
scripts. This will also help you create the required test
scenarios and test the scripts individually.
Selenium
It is a tool to test web applications and web browsers. It has
multiple powerful tools for testing web applications. Also, it
supports multiple platforms and browsers with the help
of Selenium IDE.
Sikuli
Sikuli is an open-source automation testing tool used to
perform GUI testing.
9
JMeter
It is a tool that is used for performance tests.
SoapUI
Appium
It is a tool to perform mobile application testing and native app
testing.
10
If you are learning Automation Testing, it is vital for you to
know the benefits of learning it. Like every other type of
testing, Automation Testing has its pros and cons. Here, you
will learn about the 10 advantages of Automation Testing.
12
the “automated testing” umbrella. What do we get from all of
that defining and stretching?
The answer seems clear to me: the main beneficiary of
“automated testing” in a software organization is the
developer. Or, in other words: automated testing is a tool to
achieve developer sanity. It allows developers to fearlessly
refactor, knowing that they have a reliable safety net in the
form of a comprehensive test suite that will warn them if they
break something.
13
By automating the managing of said testing needs, test
automation helps organizations keep quality at the highest
standards during the whole development cycle. Furthermore, it
frees QA professionals from managing the minutia of testing
needs, which means they can focus on creating more efficient
case tests to ensure the application’s quality.
14
process, that can have all the stages of testing life cycle with additional phases for
including the test preparation and automation implementation processes. This entire
process is known as Automation Testing Life Cycle. The various phases of ATLC are
‘define the scope of the test automation’, ‘automation testing tool selection process
depending on the type of functionality’, ‘designing test plan’, ‘defining test strategy’,
‘setting up the test environments’, ‘designing and scripting the test cases, ‘execution
of the test scripts’, ‘validating the test results’, and finally ‘generating test reports’.
15
2. Selection of the Appropriate Automation
Tool for Test Automation
It is the second phase of the ATLM process. Identifying the right automation testing
tool is critical for the automation testing life cycle since automation testing is highly
dependent on the tool used. The developers need to consider budgetary constraints,
the familiarity of the team with the automation tool used, along resources available
with the team. The choice of the automation tool also depends upon the flexibility
and intuitiveness of the team using the tool. The test engineer should define and
evaluate the criteria for a pilot test for the automation tool. Testing personnel should
then evaluate it based on the different criteria stipulated by the test engineer.
17
6. Test Analysis and Generation of
Test Results and Reports
After the completion of all the tests, the team analyses and identifies particular
functionalities and components that experience several problems in test reports.
Analysis indicates any requirements for additional tests or procedures. Analysis of
test results can confirm if the test scripts or procedures executed have errors or not.
This is the end phase of the automation testing life cycle and all test reports must be
shared with clients or stakeholders at this stage.
Conclusion
Automation testing is a useful way of testing applications to meet specific testing
goals within stipulated timelines. The automation testing cycle must be implemented
stepwise to achieve the best results. Without sufficient planning, scheduling and a
sequence of actions, large scripts are created, which often fail and require extensive
manual intervention, putting a strain on existing human resources and increase
production budgets and timelines.
18