SlideShare a Scribd company logo
Module 4
Automation testing: Basics, Significance,
Components, Process of Test Automation,
Strategies, Automated tests, Examples of test
automation, Test Automation maintainance,
Automation test frameworks-types, tools.
• Automation Testing or Test Automation is a software
testing technique that performs using special automated
testing software tools to execute a test case suite.
• The automation testing software can also enter test data
into the System Under Test, compare expected and actual
results and generate detailed test reports.
• Software Test Automation demands considerable
investments of money and resources
• Successive development cycles will require execution of same
test suite repeatedly. Using a test automation tool, it’s possible to
record this test suite and re-play it as required.
• Once the test suite is automated, no human intervention is
required.
• This improved ROI of Test Automation.
• The goal of Automation is to reduce the number of test cases to
be run manually and not to eliminate Manual Testing altogether.
Why Test Automation?
• Test Automation is the best way to increase the
effectiveness, test coverage, and execution speed in
software testing. Automated software testing is important
due to the following reasons:
• Manual Testing of all workflows, all fields, all negative
scenarios is time and money consuming
• It is difficult to test for multilingual sites manually
• Test Automation in software testing does not require
Human intervention. You can run automated test
unattended
• Test Automation increases the speed of test execution
• Automation helps increase Test Coverage
• Manual Testing can become boring and hence error-
prone.

Recommended for you

Presentation1
Presentation1Presentation1
Presentation1

The document discusses how to make automation an asset to software testing organizations by outlining the advantages and disadvantages of manual versus automated testing, providing examples of what types of tests are best suited for automation, and describing best practices for developing an effective test automation process and addressing common myths about automation. It emphasizes that automation can increase testing efficiency and coverage but requires proper planning, resources, and maintenance to be successful.

automation failureautomationtesting
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf

Consumers want their applications to work perfectly each time. If your app is rife with performance issues, bugs, and glitches, it can lose its user base in no time due to its flawed quality. As a result, testing your software product is imperative to ensure project teams check, verify, and validate the functionality of the developed software and deliver optimal user experiences.

automated testingmanual testing
Automation testing
Automation testingAutomation testing
Automation testing

This document discusses automation testing. It begins by defining automation testing and listing its benefits, which include saving time and money, improving accuracy, and increasing test coverage. It then covers levels of automation testing, frameworks, approaches like record and playback, modular scripting, and keyword-driven testing. The document also discusses the automation testing lifecycle, how to choose a testing tool, types of tools, when to automate and who should automate, supporting practices, and skills needed for automation testing.

testingautomation testingquality control
Which Test Cases to Automate?
• Test cases to be automated can be selected using the
following criterion to increase the automation ROI
• High Risk – Business Critical test cases
• Test cases that are repeatedly executed
• Test Cases that are very tedious or difficult to
perform manually
• Test Cases which are time-consuming
• The following category of test cases are not suitable
for automation:
• Test Cases that are newly designed and not executed
manually at least once
• Test Cases for which the requirements are frequently
changing
• Test cases which are executed on an ad-hoc basis.
Automated Testing Process:
Following steps are followed in an
Automation Process
Step 1) Test Tool Selection
Step 2) Define scope of Automation
Step 3) Planning, Design and Development
Step 4) Test Execution
Step 5) Maintenance
Define the scope of Automation
The scope of automation is the area of your Application
Under Test which will be automated. Following points
help determine scope:
• The features that are important for the business
• Scenarios which have a large amount of data
• Common functionalities across applications
• Technical feasibility
• The extent to which business components are reused
• The complexity of test cases
• Ability to use the same test cases for cross-browser
testing
Significance of Automation in Testing
• Software testing is essentially an important part of the software
development life cycle (SDLC) and should be taken up to ensure
quality software.
• Earlier manual testing was the major mode of testing but with
advanced applications and connected devices in place, it
is essential to have Test Automation to ensure faster and quality
releases.
• Even smaller and mid-sized companies in their quest to have good
quality products continue to adopt test automation best practices to
deliver high-performing products to their clients.
• For enterprises, with automation in testing in place, there is a faster
feedback cycle and that brings faster validation at various phases in
product development.

Recommended for you

Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide

Automated software testing is critical to success in today’s competitive business climate. As test automation specialists, TestingXperts, offers a comprehensive range of test automation services to meet your goal of increasing velocity throughout the software development lifecycle.

automated software testingsoftware tesingautomated testing
Test automation
Test automationTest automation
Test automation

The document discusses test automation, including defining it as using special software to control test execution and compare results. It lists major objectives like time and cost savings, improved productivity, accuracy, and coverage. It recommends automating repetitive, tedious, time-consuming, or high-risk tests. A typical automation process includes planning, design, tool development, deployment, and review. Choosing an automation tool requires considering ease of use, supported test types, and maintenance. Automated testing reduces long-term costs while manual testing has shorter-term benefits like more bugs found through hands-on testing.

Qa case study
Qa case studyQa case study
Qa case study

Hopper's approach to QA is described in the Case study. At Hopper, we believe that QA starts at the very beginning of product life cycle. This helps reduce risk and deliver quality products. We combine all aspects of QA - blackbox testing, performance testing, load testing, regression testing, QA Automation etc. We also design QA systems where the existing frameworks may not work.

load testingsoftware quality assuranceqa
Significance of Automation in Testing
• The other benefit of automation testing is the testing procedure
becomes automated, as the test scripts are run by the test
automation tools without much interference of QA.
• Test automation also helps enterprises to improve the
communication between DevOps, QA teams and product owners
who depend on the results of these automated tests as these results
are more reliable than the manual testing results.
• It is more important to note that automation testing is best suitable
for applications that need to be tested for various versions,
platforms, and operating systems.
• Test automation involves the usage of tests that are repeatable and
can be run many times to test various conditions and scenarios.
What are the Benefits of Automation Testing?
Qualitative Benefits of Automation in Testing
– Speeds up the testing cycle with automated runs
– Reduces test execution time effectively
– Increases test coverage on each testing cycle
– Ensures ease of test case maintenance
Quantitative Benefits of Automation in Testing
– Generates quicker ROI
– Reduces QA cycle times by up to 80%
– Lowers the overall QA costs up to 60%
– Improves organizational efficiency
– Ensures cost optimization
– Delivers faster time to market
– Helps improve the business bottom line
What are the Various Components of Automation Testing?
• Automated unit tests
• Automated web services tests
• Automated API tests
• Automated GUI tests
Automated unit tests:
These tests are primarily designed and crafted to test the
software code. These tests categorically search for script
errors, or if any bugs or any other issues within the written
code.
Automated web services tests:
These tests are useful to test the user interface part of the
web services. Protocols like SOAP and REST are used to
test a web service.
This sort of testing determines the XML request and
validates the response against the request sent which is
achieved by the web services testing.

Recommended for you

Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete

Automation testing involves developing and executing tests that can run unattended, comparing actual and expected results. The major objectives of automation testing are to speed up testing, reduce costs and time, and increase quality. Automation testing is faster than manual testing and can test more scenarios. However, high upfront investment is required for tools and training. Both manual and automation testing are needed as automation does not cover all test cases. Popular automation testing tools include Selenium, QTP, and TestComplete.

Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution

This is chapter 4 of ISTQB Specialist Mobile Application Tester certification. This presentation helps aspirants understand and prepare the content of the certification.

istqbistqb examinationistqb certification
Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...

Continuous testing is one of the most effective ways of building quality into the continuous delivery pipeline; yet it is difficult to implement in practice. Continuous testing involves more than test automation. Although test automation is a must; continuous risk analysis and optimizing the test suite is critical so that test automation doesn’t become a bottleneck in the DevOps pipeline. In this presentation, you’ll learn how to implement an effective continuous test strategy throughout the continuous delivery pipeline.

continuous testingtest optimizationtest automation
Automated API tests:
• These tests allow the software to communicate
effectively with other software applications. These API
tests help to check the functionality and security of
underlying layers.
• In API Testing, instead of using standard user
inputs(keyboard) and outputs, you use software to
send calls to the API, get output, and note down the
system’s response.
Set-up of API Test environment
• API Testing is different than other software testing types as GUI is
not available, and yet you are required to setup initial environment
that invokes API with a required set of parameters and then finally
examines the test result.
• Hence, Setting up a testing environment for API automation
testing seems a little complex.
• Database and server should be configured as per the application
requirements.
• Once the installation is done, the API Function should be called to
check whether that API is working.
Automated GUI tests:
These tests focus on testing the graphical user interface of
the application under test.
It involves checking the screens with various controls like
menus, buttons, icons, and all types of toolbars, menu
bars dialogue boxes, and windows.
What is the Actual Process of Test Automation?
1. Evaluate to understand the need for automation based on
project type
2. Define automation goals and priorities
3. Plan automated testing strategy
4. Select the right automation tool & framework based
upon the project requirements
5. Decide on what test cases to automate
6. Develop good quality test data
7. Create automated tests more resistant to UI changes
8. Execute the tests for the test scripts developed
9. Test early and often with CI/CD pattern
10. Maintain the test scripts

Recommended for you

Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx

This document discusses best practices for developing an automated testing framework. It recommends using a hybrid keyword-driven and data-driven approach to reduce scripting efforts. Some key points covered include the benefits of automation like reduced costs and increased speed/accuracy over manual testing. It also discusses factors to consider when selecting an automation tool, common challenges, and provides an example case study showing the ROI achieved through automation. Best practices emphasized include loose coupling of framework components, reuse of generic libraries, and treating framework development as a distinct project.

Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the Technologies

This presentation was originally given at Quality Jam London. Elise covered test automation and the progression for test automation that you might encounter. The session agenda included: The stages of the test team Why are we automating? What are we automating? How are we automating? What languages should we use? What frameworks and libraries should we use? Open source or proprietary? Learn more at www.qualityjam.com

software testingtest automationelise carmichael
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them

The document discusses top pitfalls of test automation and how to avoid them. It identifies the top 5 pitfalls as: 1) diving into open source tools without preparation, 2) developing test scripts without standardization, 3) automating all test cases without prioritization, 4) choosing in-house testing over cloud options, and 5) assuming automation testing is not the tester's job. It provides guidance on how to effectively implement test automation by choosing the right tools, standardizing test development, prioritizing test cases, leveraging cloud options, and defining tester responsibilities.

Some of the Most commonly used Test Automation tools
are:
Selenium:
Selenium is one of the most popular test automation tool and is the
preferred tool for web automation testing for DevOps.
Selenium offers two parts of its software, Web driver and IDE
(Integrated Development Environment). Selenium automation
testing is also one of the most preferred automation testing in the
market these days.
Appium:
It is an open-source test automation framework that can be used with
native, hybrid and mobile web applications to test them.
It facilitates to make use of preferred test practices, frameworks, and
tools. It is preferred to automate any mobile app from any language
and any test framework.
Cucumber:
It is an Open source automation testing tool that revolves around
behavior-driven development.
Ranorex:
This is a unique test automation tool that can be used to test web
apps, desktop or mobile applications.
TestComplete:
This is the first automation testing tool that has AI with a visual
recognition engine that can test with or without scripts and the
tool can be used to test desktop, mobile, and web applications
extensively.
Microfocus UFT:
The Unified Functional testing tool (UFT Tool) is used in
regressive and functional test automation.
It also supports API and web services testing, continuous testing,
support for testing ERP and CRM applications.
Apache JMeter:
This is the most popular performance testing tool that perfectly
measures the performance of your software. It is built on java and
runs functional tests to measure the performance of web
applications.
Tosca:
This is a very effective testing tool that can be used for end-to-
end testing as it supports functional testing, load testing, risk-based
testing, test data management and also app testing.

Recommended for you

A Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdfA Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdf

Rapid automation testing is a type of app testing technique that utilizes automation tools to execute tests quickly and efficiently.

automated mobile app testing
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing

This document discusses software testing and provides details on various testing methodologies. It defines software testing as evaluating a system or component to determine if it meets specified requirements. The document then outlines the testing process, issues to consider like quality standards and strategy, and different testing types like manual and automated testing. It provides information on planning, designing, and implementing various test cases and describes tools that can be used for automated testing.

sqasoftwareunivotec
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5

This document provides an overview of testing in the agile environment and automated testing tools. It discusses agile testing methodologies like test-driven development, acceptance test-driven development, and behavior-driven development. It also covers testing web and mobile applications. The document then focuses on automated testing, describing how it works and the types of tests that are normally automated. It discusses benefits and best practices of automated testing. Finally, it covers popular automated testing tools like Selenium, Katalon Studio, and Cucumber and provides pros and cons of each.

softwaresoftware testingpesting principles
Business Benefits with a well-defined Test Automation
Approach
What Does an Automation Tester Do?
• The QA automation tester and the automation test engineers are
the main people involved to achieve test automation initiatives.
They know how to automate for the successful roll-out of quality
products for businesses.
• The QA automation tester is responsible for designing and
writing test automation scripts as the first phase and they use
various types of test automation frameworks to achieve
successful test automation.
• They run test scripts to ensure all the scenarios are successfully
tested and they have a close association with the developers and
other QA analysts.
• They log bugs and issues in various test management tools such
that the developers work on these bugs and fix them.
• Once again automated regression testing is done to ensure the
new functionalities do not affect the functionalities of existing
features.
Framework for Automation
A framework is set of automation guidelines which help in
Maintaining consistency of Testing
• Improves test structuring
• Minimum usage of code
• Less Maintenance of code
• Improve re-usability
• Non Technical testers can be involved in code
• The training period of using the tool can be reduced
• Involves Data wherever appropriate
Test Automation Framework Types
• Linear Automation Framework
• Modular Driven Framework
• Behavior Driven framework
• Data-Driven Framework
• Keyword-Driven Framework
• Hybrid Testing Framework

Recommended for you

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing

In this quality assurance training session, you will learn introduction to automation testing. Topics covered in this course are: • Introduction • Why Automated Testing? • What can I Automate? • Test Automation Process • Automation Tool • Automation Framework To know more, visit this link: https://www.mindsmapped.com/courses/quality-assurance/software-testing-quality-assurance-qa-training-with-hands-on-exercises/

qa trainingonline qa trainingquality assurance training
Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values

This presentation is about the following points , What is output value, Standard output value, Text output value, Text area output value,

professional qtp software testing training in mumbcorporate qtp software testing trainerqtp software testing training centres in mumbai
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K SchemeMSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme

Syllabus

msbte syllabusxcxzcxzcxzxccxzczc
1) Linear Automation Framework
The linear Automation framework is commonly used in the testing of
small applications. This framework is also called as a Record and
playback framework.
Pros: There is no need to write custom code, so expertise in test
automation is not necessary.
Cons: The data is hardcoded in the test script; hence, the test cases
cannot be re-run with multiple sets. You need to make some changes if
the data is altered.
2) Modular Driven Framework
In this Framework, the tester can create test scripts module wise by
breaking down the whole application into smaller modules as per the
client requirements and create test scripts individually.
Pros: Modular driven framework ensures the division of scripts that
leads to easier maintenance and scalability. You can write independent
test scripts.
Cons: The modular driven framework requires additional time in
analyzing the test cases and identifying reusable flows.
3) Behavior Driven Development Framework
Behavior Driven Development framework is to create a platform,
which allows every person, like Developers, Testers, business analyst,
etc., to participate actively. It also increases collaboration between the
tester and the developers on your project.
Pros: You can use non-technical, natural language to create test
specifications on this behavior-driven testing.
Cons: To work with this framework, sufficient technical skills as well
as prior experience in Test driven development is required.
4) Data-driven Testing Framework
Generally, Test Data is read from the external files like Excel Files, Text
Files, CSV Files, ODBC Sources, DAO Objects and they are loaded into
the variables inside the Test Script. The data-driven framework allows us
to create test automation scripts by passing different sets of test data.
Pros: It reduces the number of scripts required. Hence, multiple scenarios
can be tested in less code.
Cons: You will need a highly experienced tester who should be proficient
in various programming languages to completely utilize the design of
this framework.

Recommended for you

Unit 1 Information Storage and Retrieval
Unit 1 Information Storage and RetrievalUnit 1 Information Storage and Retrieval
Unit 1 Information Storage and Retrieval

Introduction to information retrieval, Major challenges in IR

Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model SafeBangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe

For Ad post Contact : adityaroy0215@gmail.com Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe

Lecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............pptLecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............ppt

Biomass energy

rujan timsina
5) The Keyword-Driven Testing Framework
The keyword-Driven Testing framework is also known as table-driven
testing. This framework is suitable only for small projects or
applications. The automation test scripts performed are based on the
keywords specified in the excel sheet of the project.
Pros: A single keyword can be used across multiple test scripts, so the
code is reusable.
Cons: The initial cost of setting up the framework is high, and it is
time-consuming & complex.
6) The Hybrid test Automation Framework
Hybrid Framework is used to combine the benefits of Keyword Driven
and Data-Driven frameworks.
Pros: This type leverages the advantages of all kinds of related
frameworks.
Cons: Tests are fully scripted in a Hybrid Testing Framework thus
increases the automation effort.
Test Automation Strategy
A cost-effective test automation strategy with
a result-oriented approach is always a key to
success in automation testing.
Having a good test automation strategy will
help businesses keep pace with the market and
avoid any major technology failures.
Test Automation Life Cycle
Automation test life cycle has the following phases

Recommended for you

CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE DonatoCONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato

"Le potenzialità del Digital Twin per il settore Water"

Exploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative ReviewExploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative Review

Image recognition, which comes under Artificial Intelligence (AI) is a critical aspect of computer vision, enabling computers or other computing devices to identify and categorize objects within images. Among numerous fields of life, food processing is an important area, in which image processing plays a vital role, both for producers and consumers. This study focuses on the binary classification of strawberries, where images are sorted into one of two categories. We Utilized a dataset of strawberry images for this study; we aim to determine the effectiveness of different models in identifying whether an image contains strawberries. This research has practical applications in fields such as agriculture and quality control. We compared various popular deep learning models, including MobileNetV2, Convolutional Neural Networks (CNN), and DenseNet121, for binary classification of strawberry images. The accuracy achieved by MobileNetV2 is 96.7%, CNN is 99.8%, and DenseNet121 is 93.6%. Through rigorous testing and analysis, our results demonstrate that CNN outperforms the other models in this task. In the future, the deep learning models can be evaluated on a richer and larger number of images (datasets) for better/improved results.

image recognitiondeep learning
Development of Chatbot Using AI/ML Technologies
Development of  Chatbot Using AI/ML TechnologiesDevelopment of  Chatbot Using AI/ML Technologies
Development of Chatbot Using AI/ML Technologies

The rapid advancements in artificial intelligence and natural language processing have significantly transformed human-computer interactions. This thesis presents the design, development, and evaluation of an intelligent chatbot capable of engaging in natural and meaningful conversations with users. The chatbot leverages state-of-the-art deep learning techniques, including transformer-based architectures, to understand and generate human-like responses. Key contributions of this research include the implementation of a context- aware conversational model that can maintain coherent dialogue over extended interactions. The chatbot's performance is evaluated through both automated metrics and user studies, demonstrating its effectiveness in various applications such as customer service, mental health support, and educational assistance. Additionally, ethical considerations and potential biases in chatbot responses are examined to ensure the responsible deployment of this technology. The findings of this thesis highlight the potential of intelligent chatbots to enhance user experience and provide valuable insights for future developments in conversational AI.

thesischatbotai/ml
Automation Feasibility Analysis
In this step, you check the feasibility of automation. This
includes shortlisting the relevant test cases for automation
and selecting the right test tool that fits your requirement.
Test Strategy
Here, you select the test automation framework. You have
multiple options to choose from here. For example, linear
test automation framework, data-driven framework, key-
word driven framework etc.
Environment Set Up
In this phase, you set up the testing environment and
acquire the required hardware and software to execute the
automated test cases.
Test Script Development
In this step, you start creating the automation test scripts.
Make sure that the scripts that you have written are
reusable, well-structured and well documented.
Test Case Execution
In this step, you execute the test cases that you have
written previously.
Test Result Generation and Analysis
In this last phase of test automation life cycle, you analyze
the output of test cases and share the reports with
stakeholders
Building Blocks of Test
Automation Strategy
The prime objective of any
software project is to get a high-
quality output while reducing
the cost and the time required
for completing the project. A
good test automation strategy
helps companies achieve that.
Below is the list of building
blocks of automation test
strategy:
Scope of Automation
Defining a project scope includes outlining timelines and milestones
for each sprint in the project. Two most important things here are:
Shortlisting the test cases to automate
• One of the best models that can help you with that task is Mike
Cohn’s “Test Automation Pyramid”. According to the pyramid, unit
tests are quick to write.
• They have the highest ROI(Return of Investment) and should ideally
form the backbone of your automation testing strategy. Regression
test should be your next priority.
• Next, you need to check functionality and other quality
characteristics with functional testing.
• Then comes UI(User Interface) tests. They are expensive, require
heavy maintenance, and return the highest number of false
positives/negatives.

Recommended for you

Online music portal management system project report.pdf
Online music portal management system project report.pdfOnline music portal management system project report.pdf
Online music portal management system project report.pdf

The iMMS is a unique application that is synchronizing both user experience and copyrights while providing services like online music management, legal downloads, artists’ management. There are several other applications available in the market that either provides some specific services or large scale integrated solutions. Our product differs from the rest in a way that we give more power to the users remaining within the copyrights circle.

computer technologyscience and technologyproject management
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...

Pre-trained Large Language Models (LLM) have achieved remarkable successes in several domains. However, code-oriented LLMs are often heavy in computational complexity, and quadratically with the length of the input code sequence. Toward simplifying the input program of an LLM, the state-of-the-art approach has the strategies to filter the input code tokens based on the attention scores given by the LLM. The decision to simplify the input program should not rely on the attention patterns of an LLM, as these patterns are influenced by both the model architecture and the pre-training dataset. Since the model and dataset are part of the solution domain, not the problem domain where the input program belongs, the outcome may differ when the model is trained on a different dataset. We propose SlimCode, a model-agnostic code simplification solution for LLMs that depends on the nature of input code tokens. As an empirical study on the LLMs including CodeBERT, CodeT5, and GPT-4 for two main tasks: code search and summarization. We reported that 1) the reduction ratio of code has a linear-like relation with the saving ratio on training time, 2) the impact of categorized tokens on code simplification can vary significantly, 3) the impact of categorized tokens on code simplification is task-specific but model-agnostic, and 4) the above findings hold for the paradigm–prompt engineering and interactive in-context learning and this study can save reduce the cost of invoking GPT-4 by 24%per API query. Importantly, SlimCode simplifies the input code with its greedy strategy and can obtain at most 133 times faster than the state-of-the-art technique with a significant improvement. This paper calls for a new direction on code-based, model-agnostic code simplification solutions to further empower LLMs.

code simplification
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen FramesUnblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen Frames

In the realm of Android development, the main thread is our stage, but too often, it becomes a battleground where performance issues arise, leading to ANRS, frozen frames, and sluggish Uls. As we strive for excellence in user experience, understanding and optimizing the main thread becomes essential to prevent these common perforrmance bottlenecks. We have strategies and best practices for keeping the main thread uncluttered. We'll examine the root causes of performance issues and techniques for monitoring and improving main thread health as wel as app performance. In this talk, participants will walk away with practical knowledge on enhancing app performance by mastering the main thread. We'll share proven approaches to eliminate real-life ANRS and frozen frames to build apps that deliver butter smooth experience.

androidperformance
Selecting the right test automation tool
• You need to select one out of the several test automation tools
available in the market. That can be a difficult task.
• In order to select the tool that fits best for your project, first, you
need to understand your project requirements thoroughly.
• Identify your budget. Select the tools that fit your requirement and
within your budget. Then you can shortlist based on other
parameters such as licensing cost of the tool, maintenance cost,
training and support, tools extensibility, performance and stability
Test Automation Environment
• Setting up your test environment is another building block of test
automation strategy. You can establish your automation test
environment
• First by identifying the requirements of the test environment
• Then by acquiring the required tools with their licenses.
• You can also consider the data that is part of test cases like:
• Where to store the test data?
• Should the data be masked?
• What happens to the data after testing?
• Test automation is like a deterministic game, where, known inputs
will produce predictable outputs. A stable and predictable test
environment is a prerequisite for successful test automation.
Test Automation Approach
When choosing a test automation approach, there are three areas to
consider: Processes, Technology, and Roles
Process
Your automation roll out must always be a well-defined and
structural process.
Technology
Here you figure out everything about the applications that you want
to automate. Figure out which technology they are based on and
whether your test automation platform supports these technologies.
Risk Analyses
As we know risk analysis is an essential part of project planning in
general, but it is important to consider it in the test automation as
well. By considering a few viable parameters you can create a risk
document. The parameters would be something like:
Description – A crisp explanation of what the risk is?
Risk Level – What will happen if the risk becomes a reality? How
hard will it hit the project?
Probability – Likeness of the risk turning to reality
Mitigation – What actions can be taken to resolve the risk?
Cost Estimate – What would be the cost of mitigating the risk?
One important thing here is that the risk document is
dynamic. Risks will be added and removed to the list as the project
evolves.

Recommended for you

kiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinkerkiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinker

Kiln

Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...

This study aimed to profile the coffee shops in Talavera, Nueva Ecija, to develop a standardized checklist for aspiring entrepreneurs. The researchers surveyed 10 coffee shop owners in the municipality of Talavera. Through surveys, the researchers delved into the Owner's Demographic, Business details, Financial Requirements, and other requirements needed to consider starting up a coffee shop. Furthermore, through accurate analysis, the data obtained from the coffee shop owners are arranged to derive key insights. By analyzing this data, the study identifies best practices associated with start-up coffee shops’ profitability in Talavera. These findings were translated into a standardized checklist outlining essential procedures including the lists of equipment needed, financial requirements, and the Traditional and Social Media Marketing techniques. This standardized checklist served as a valuable tool for aspiring and existing coffee shop owners in Talavera, streamlining operations, ensuring consistency, and contributing to business success.

coffee shopcheckliststartup
IWISS Catalog 2024
IWISS Catalog 2024IWISS Catalog 2024
IWISS Catalog 2024

A brand new catalog for the 2024 edition of IWISS. We have enriched our product range and have more innovations in electrician tools, plumbing tools, wire rope tools and banding tools. Let's explore together!

iwissicrimpcable tool
Test Execution and Management
• A test automation strategy should also define the process of
execution and management of test cases. Text execution should
outline things like day-to-day tasks and procedures related to
automation. Consider the below suggestions when executing test
cases:
• Before you add any automated test cases to the regression suite,
run and verify multiple times to ensure they run as expected
• Define a set of best practices that make test cases resistant to
changes in the system which is being automated
• Use pipeline orchestrator (Jenkins, TFS, Bamboo, TeamCity, etc.)
or a scheduling tool to execute test cases in parallel
• Assign status ‘Pass’ or ‘Fail’ to the test case after execution. , this
status is assigned to the test cases automatically as per defined
success criteria
• If the status is ‘Fail’, perform failure analysis
Failure Analysis and Reporting Results
• Having a plan for how to analyze the failed test cases and resolve
them is a critical part of test automation strategy.
• Often time is taken to notify the failure, analyze it and resolve it
much longer than you anticipate.
• Having a well-defined process for this can save a lot of time and
effort for the development team.
• Outline how different errors should be handled. These errors can
be:
• Issues with test environment – Inform DevOps team about it
• A bug in an application under test – Flaf a bug for the
development team
• A bug in automation scripts – Create a task for the testing team
Myths about Automated Testing
Time to bust some myths surrounding test automation-
100% automation is possible – Barring a few very specific applications,
100% automation is just not possible. Exploratory test cases, usability test
cases are some of the examples of test cases that can’t be automated.
Automation will eat the manual testing jobs – It is true that with the
advent and rise of automation testing and different tools, there is a shift to
the requirement of full-stack or dual role testers – who can work on both
manual and automation testing. But automation will never be able to
completely eliminate the need for manual testing.
Developer makes better automation testers – While a developer might
have a slight edge on the coding part but still a tester will be able to think
from a testing perspective.
Automation is expensive – When done correctly, automation can reduce
the overall testing effort and resource requirement. Thus saving the
project cost in the long run.

More Related Content

Similar to Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs

M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
Alex
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
Mindtree Ltd.
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Presentation1
Presentation1Presentation1
Presentation1
anuvip
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
kalichargn70th171
 
Automation testing
Automation testingAutomation testing
Automation testing
Mona M. Abd El-Rahman
 
Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide
TestingXperts
 
Test automation
Test automationTest automation
Test automation
Sadani Rodrigo
 
Qa case study
Qa case studyQa case study
Qa case study
hopperdev
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
Neeraj Kumar Singh
 
Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...
GerieOwen
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
pavelpopov43
 
Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the Technologies
QASymphony
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
Sundar Sritharan
 
A Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdfA Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdf
pCloudy
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
Mahesh Kodituwakku
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
Fayis-QA
 
Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
Vibrant Technologies & Computers
 

Similar to Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs (20)

M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
Presentation1
Presentation1Presentation1
Presentation1
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide
 
Test automation
Test automationTest automation
Test automation
 
Qa case study
Qa case studyQa case study
Qa case study
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the Technologies
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
A Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdfA Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdf
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
 

Recently uploaded

MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K SchemeMSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
Anwar Patel
 
Unit 1 Information Storage and Retrieval
Unit 1 Information Storage and RetrievalUnit 1 Information Storage and Retrieval
Unit 1 Information Storage and Retrieval
KishorMahale5
 
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model SafeBangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
bookhotbebes1
 
Lecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............pptLecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............ppt
RujanTimsina1
 
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE DonatoCONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
Servizi a rete
 
Exploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative ReviewExploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative Review
sipij
 
Development of Chatbot Using AI/ML Technologies
Development of  Chatbot Using AI/ML TechnologiesDevelopment of  Chatbot Using AI/ML Technologies
Development of Chatbot Using AI/ML Technologies
maisnampibarel
 
Online music portal management system project report.pdf
Online music portal management system project report.pdfOnline music portal management system project report.pdf
Online music portal management system project report.pdf
Kamal Acharya
 
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
YanKing2
 
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen FramesUnblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Sinan KOZAK
 
kiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinkerkiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinker
hamedmustafa094
 
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
IJAEMSJORNAL
 
IWISS Catalog 2024
IWISS Catalog 2024IWISS Catalog 2024
IWISS Catalog 2024
Iwiss Tools Co.,Ltd
 
Lecture 6 - The effect of Corona effect in Power systems.pdf
Lecture 6 - The effect of Corona effect in Power systems.pdfLecture 6 - The effect of Corona effect in Power systems.pdf
Lecture 6 - The effect of Corona effect in Power systems.pdf
peacekipu
 
Press Tool and It's Primary Components.pdf
Press Tool and It's Primary Components.pdfPress Tool and It's Primary Components.pdf
Press Tool and It's Primary Components.pdf
Tool and Die Tech
 
Trends in Computer Aided Design and MFG.
Trends in Computer Aided Design and MFG.Trends in Computer Aided Design and MFG.
Trends in Computer Aided Design and MFG.
Tool and Die Tech
 
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
PradeepKumarSK3
 
Germany Offshore Wind 010724 RE (1) 2 test.pptx
Germany Offshore Wind 010724 RE (1) 2 test.pptxGermany Offshore Wind 010724 RE (1) 2 test.pptx
Germany Offshore Wind 010724 RE (1) 2 test.pptx
rebecca841358
 
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model SafePaharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
aarusi sexy model
 
PMSM-Motor-Control : A research about FOC
PMSM-Motor-Control : A research about FOCPMSM-Motor-Control : A research about FOC
PMSM-Motor-Control : A research about FOC
itssurajthakur06
 

Recently uploaded (20)

MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K SchemeMSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme MSBTE K Scheme
 
Unit 1 Information Storage and Retrieval
Unit 1 Information Storage and RetrievalUnit 1 Information Storage and Retrieval
Unit 1 Information Storage and Retrieval
 
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model SafeBangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
Bangalore @ℂall @Girls ꧁❤ 0000000000 ❤꧂@ℂall @Girls Service Vip Top Model Safe
 
Lecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............pptLecture 3 Biomass energy...............ppt
Lecture 3 Biomass energy...............ppt
 
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE DonatoCONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
CONVEGNO DA IRETI 18 giugno 2024 | PASQUALE Donato
 
Exploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative ReviewExploring Deep Learning Models for Image Recognition: A Comparative Review
Exploring Deep Learning Models for Image Recognition: A Comparative Review
 
Development of Chatbot Using AI/ML Technologies
Development of  Chatbot Using AI/ML TechnologiesDevelopment of  Chatbot Using AI/ML Technologies
Development of Chatbot Using AI/ML Technologies
 
Online music portal management system project report.pdf
Online music portal management system project report.pdfOnline music portal management system project report.pdf
Online music portal management system project report.pdf
 
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
Natural Is The Best: Model-Agnostic Code Simplification for Pre-trained Large...
 
Unblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen FramesUnblocking The Main Thread - Solving ANRs and Frozen Frames
Unblocking The Main Thread - Solving ANRs and Frozen Frames
 
kiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinkerkiln burning and kiln burner system for clinker
kiln burning and kiln burner system for clinker
 
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
Profiling of Cafe Business in Talavera, Nueva Ecija: A Basis for Development ...
 
IWISS Catalog 2024
IWISS Catalog 2024IWISS Catalog 2024
IWISS Catalog 2024
 
Lecture 6 - The effect of Corona effect in Power systems.pdf
Lecture 6 - The effect of Corona effect in Power systems.pdfLecture 6 - The effect of Corona effect in Power systems.pdf
Lecture 6 - The effect of Corona effect in Power systems.pdf
 
Press Tool and It's Primary Components.pdf
Press Tool and It's Primary Components.pdfPress Tool and It's Primary Components.pdf
Press Tool and It's Primary Components.pdf
 
Trends in Computer Aided Design and MFG.
Trends in Computer Aided Design and MFG.Trends in Computer Aided Design and MFG.
Trends in Computer Aided Design and MFG.
 
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
21EC63_Module1B.pptx VLSI design 21ec63 MOS TRANSISTOR THEORY
 
Germany Offshore Wind 010724 RE (1) 2 test.pptx
Germany Offshore Wind 010724 RE (1) 2 test.pptxGermany Offshore Wind 010724 RE (1) 2 test.pptx
Germany Offshore Wind 010724 RE (1) 2 test.pptx
 
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model SafePaharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Paharganj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
 
PMSM-Motor-Control : A research about FOC
PMSM-Motor-Control : A research about FOCPMSM-Motor-Control : A research about FOC
PMSM-Motor-Control : A research about FOC
 

Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs

  • 1. Module 4 Automation testing: Basics, Significance, Components, Process of Test Automation, Strategies, Automated tests, Examples of test automation, Test Automation maintainance, Automation test frameworks-types, tools.
  • 2. • Automation Testing or Test Automation is a software testing technique that performs using special automated testing software tools to execute a test case suite. • The automation testing software can also enter test data into the System Under Test, compare expected and actual results and generate detailed test reports. • Software Test Automation demands considerable investments of money and resources
  • 3. • Successive development cycles will require execution of same test suite repeatedly. Using a test automation tool, it’s possible to record this test suite and re-play it as required. • Once the test suite is automated, no human intervention is required. • This improved ROI of Test Automation. • The goal of Automation is to reduce the number of test cases to be run manually and not to eliminate Manual Testing altogether.
  • 4. Why Test Automation? • Test Automation is the best way to increase the effectiveness, test coverage, and execution speed in software testing. Automated software testing is important due to the following reasons: • Manual Testing of all workflows, all fields, all negative scenarios is time and money consuming • It is difficult to test for multilingual sites manually • Test Automation in software testing does not require Human intervention. You can run automated test unattended • Test Automation increases the speed of test execution • Automation helps increase Test Coverage • Manual Testing can become boring and hence error- prone.
  • 5. Which Test Cases to Automate? • Test cases to be automated can be selected using the following criterion to increase the automation ROI • High Risk – Business Critical test cases • Test cases that are repeatedly executed • Test Cases that are very tedious or difficult to perform manually • Test Cases which are time-consuming • The following category of test cases are not suitable for automation: • Test Cases that are newly designed and not executed manually at least once • Test Cases for which the requirements are frequently changing • Test cases which are executed on an ad-hoc basis.
  • 6. Automated Testing Process: Following steps are followed in an Automation Process Step 1) Test Tool Selection Step 2) Define scope of Automation Step 3) Planning, Design and Development Step 4) Test Execution Step 5) Maintenance
  • 7. Define the scope of Automation The scope of automation is the area of your Application Under Test which will be automated. Following points help determine scope: • The features that are important for the business • Scenarios which have a large amount of data • Common functionalities across applications • Technical feasibility • The extent to which business components are reused • The complexity of test cases • Ability to use the same test cases for cross-browser testing
  • 8. Significance of Automation in Testing • Software testing is essentially an important part of the software development life cycle (SDLC) and should be taken up to ensure quality software. • Earlier manual testing was the major mode of testing but with advanced applications and connected devices in place, it is essential to have Test Automation to ensure faster and quality releases. • Even smaller and mid-sized companies in their quest to have good quality products continue to adopt test automation best practices to deliver high-performing products to their clients. • For enterprises, with automation in testing in place, there is a faster feedback cycle and that brings faster validation at various phases in product development.
  • 9. Significance of Automation in Testing • The other benefit of automation testing is the testing procedure becomes automated, as the test scripts are run by the test automation tools without much interference of QA. • Test automation also helps enterprises to improve the communication between DevOps, QA teams and product owners who depend on the results of these automated tests as these results are more reliable than the manual testing results. • It is more important to note that automation testing is best suitable for applications that need to be tested for various versions, platforms, and operating systems. • Test automation involves the usage of tests that are repeatable and can be run many times to test various conditions and scenarios.
  • 10. What are the Benefits of Automation Testing? Qualitative Benefits of Automation in Testing – Speeds up the testing cycle with automated runs – Reduces test execution time effectively – Increases test coverage on each testing cycle – Ensures ease of test case maintenance Quantitative Benefits of Automation in Testing – Generates quicker ROI – Reduces QA cycle times by up to 80% – Lowers the overall QA costs up to 60% – Improves organizational efficiency – Ensures cost optimization – Delivers faster time to market – Helps improve the business bottom line
  • 11. What are the Various Components of Automation Testing? • Automated unit tests • Automated web services tests • Automated API tests • Automated GUI tests
  • 12. Automated unit tests: These tests are primarily designed and crafted to test the software code. These tests categorically search for script errors, or if any bugs or any other issues within the written code. Automated web services tests: These tests are useful to test the user interface part of the web services. Protocols like SOAP and REST are used to test a web service. This sort of testing determines the XML request and validates the response against the request sent which is achieved by the web services testing.
  • 13. Automated API tests: • These tests allow the software to communicate effectively with other software applications. These API tests help to check the functionality and security of underlying layers. • In API Testing, instead of using standard user inputs(keyboard) and outputs, you use software to send calls to the API, get output, and note down the system’s response.
  • 14. Set-up of API Test environment • API Testing is different than other software testing types as GUI is not available, and yet you are required to setup initial environment that invokes API with a required set of parameters and then finally examines the test result. • Hence, Setting up a testing environment for API automation testing seems a little complex. • Database and server should be configured as per the application requirements. • Once the installation is done, the API Function should be called to check whether that API is working.
  • 15. Automated GUI tests: These tests focus on testing the graphical user interface of the application under test. It involves checking the screens with various controls like menus, buttons, icons, and all types of toolbars, menu bars dialogue boxes, and windows.
  • 16. What is the Actual Process of Test Automation? 1. Evaluate to understand the need for automation based on project type 2. Define automation goals and priorities 3. Plan automated testing strategy 4. Select the right automation tool & framework based upon the project requirements 5. Decide on what test cases to automate 6. Develop good quality test data 7. Create automated tests more resistant to UI changes 8. Execute the tests for the test scripts developed 9. Test early and often with CI/CD pattern 10. Maintain the test scripts
  • 17. Some of the Most commonly used Test Automation tools are:
  • 18. Selenium: Selenium is one of the most popular test automation tool and is the preferred tool for web automation testing for DevOps. Selenium offers two parts of its software, Web driver and IDE (Integrated Development Environment). Selenium automation testing is also one of the most preferred automation testing in the market these days. Appium: It is an open-source test automation framework that can be used with native, hybrid and mobile web applications to test them. It facilitates to make use of preferred test practices, frameworks, and tools. It is preferred to automate any mobile app from any language and any test framework. Cucumber: It is an Open source automation testing tool that revolves around behavior-driven development.
  • 19. Ranorex: This is a unique test automation tool that can be used to test web apps, desktop or mobile applications. TestComplete: This is the first automation testing tool that has AI with a visual recognition engine that can test with or without scripts and the tool can be used to test desktop, mobile, and web applications extensively. Microfocus UFT: The Unified Functional testing tool (UFT Tool) is used in regressive and functional test automation. It also supports API and web services testing, continuous testing, support for testing ERP and CRM applications.
  • 20. Apache JMeter: This is the most popular performance testing tool that perfectly measures the performance of your software. It is built on java and runs functional tests to measure the performance of web applications. Tosca: This is a very effective testing tool that can be used for end-to- end testing as it supports functional testing, load testing, risk-based testing, test data management and also app testing.
  • 21. Business Benefits with a well-defined Test Automation Approach
  • 22. What Does an Automation Tester Do? • The QA automation tester and the automation test engineers are the main people involved to achieve test automation initiatives. They know how to automate for the successful roll-out of quality products for businesses. • The QA automation tester is responsible for designing and writing test automation scripts as the first phase and they use various types of test automation frameworks to achieve successful test automation. • They run test scripts to ensure all the scenarios are successfully tested and they have a close association with the developers and other QA analysts. • They log bugs and issues in various test management tools such that the developers work on these bugs and fix them. • Once again automated regression testing is done to ensure the new functionalities do not affect the functionalities of existing features.
  • 23. Framework for Automation A framework is set of automation guidelines which help in Maintaining consistency of Testing • Improves test structuring • Minimum usage of code • Less Maintenance of code • Improve re-usability • Non Technical testers can be involved in code • The training period of using the tool can be reduced • Involves Data wherever appropriate
  • 24. Test Automation Framework Types • Linear Automation Framework • Modular Driven Framework • Behavior Driven framework • Data-Driven Framework • Keyword-Driven Framework • Hybrid Testing Framework
  • 25. 1) Linear Automation Framework The linear Automation framework is commonly used in the testing of small applications. This framework is also called as a Record and playback framework. Pros: There is no need to write custom code, so expertise in test automation is not necessary. Cons: The data is hardcoded in the test script; hence, the test cases cannot be re-run with multiple sets. You need to make some changes if the data is altered.
  • 26. 2) Modular Driven Framework In this Framework, the tester can create test scripts module wise by breaking down the whole application into smaller modules as per the client requirements and create test scripts individually. Pros: Modular driven framework ensures the division of scripts that leads to easier maintenance and scalability. You can write independent test scripts. Cons: The modular driven framework requires additional time in analyzing the test cases and identifying reusable flows.
  • 27. 3) Behavior Driven Development Framework Behavior Driven Development framework is to create a platform, which allows every person, like Developers, Testers, business analyst, etc., to participate actively. It also increases collaboration between the tester and the developers on your project. Pros: You can use non-technical, natural language to create test specifications on this behavior-driven testing. Cons: To work with this framework, sufficient technical skills as well as prior experience in Test driven development is required.
  • 28. 4) Data-driven Testing Framework Generally, Test Data is read from the external files like Excel Files, Text Files, CSV Files, ODBC Sources, DAO Objects and they are loaded into the variables inside the Test Script. The data-driven framework allows us to create test automation scripts by passing different sets of test data. Pros: It reduces the number of scripts required. Hence, multiple scenarios can be tested in less code. Cons: You will need a highly experienced tester who should be proficient in various programming languages to completely utilize the design of this framework.
  • 29. 5) The Keyword-Driven Testing Framework The keyword-Driven Testing framework is also known as table-driven testing. This framework is suitable only for small projects or applications. The automation test scripts performed are based on the keywords specified in the excel sheet of the project. Pros: A single keyword can be used across multiple test scripts, so the code is reusable. Cons: The initial cost of setting up the framework is high, and it is time-consuming & complex.
  • 30. 6) The Hybrid test Automation Framework Hybrid Framework is used to combine the benefits of Keyword Driven and Data-Driven frameworks. Pros: This type leverages the advantages of all kinds of related frameworks. Cons: Tests are fully scripted in a Hybrid Testing Framework thus increases the automation effort.
  • 31. Test Automation Strategy A cost-effective test automation strategy with a result-oriented approach is always a key to success in automation testing. Having a good test automation strategy will help businesses keep pace with the market and avoid any major technology failures.
  • 32. Test Automation Life Cycle Automation test life cycle has the following phases
  • 33. Automation Feasibility Analysis In this step, you check the feasibility of automation. This includes shortlisting the relevant test cases for automation and selecting the right test tool that fits your requirement. Test Strategy Here, you select the test automation framework. You have multiple options to choose from here. For example, linear test automation framework, data-driven framework, key- word driven framework etc. Environment Set Up In this phase, you set up the testing environment and acquire the required hardware and software to execute the automated test cases.
  • 34. Test Script Development In this step, you start creating the automation test scripts. Make sure that the scripts that you have written are reusable, well-structured and well documented. Test Case Execution In this step, you execute the test cases that you have written previously. Test Result Generation and Analysis In this last phase of test automation life cycle, you analyze the output of test cases and share the reports with stakeholders
  • 35. Building Blocks of Test Automation Strategy The prime objective of any software project is to get a high- quality output while reducing the cost and the time required for completing the project. A good test automation strategy helps companies achieve that. Below is the list of building blocks of automation test strategy:
  • 36. Scope of Automation Defining a project scope includes outlining timelines and milestones for each sprint in the project. Two most important things here are: Shortlisting the test cases to automate • One of the best models that can help you with that task is Mike Cohn’s “Test Automation Pyramid”. According to the pyramid, unit tests are quick to write. • They have the highest ROI(Return of Investment) and should ideally form the backbone of your automation testing strategy. Regression test should be your next priority. • Next, you need to check functionality and other quality characteristics with functional testing. • Then comes UI(User Interface) tests. They are expensive, require heavy maintenance, and return the highest number of false positives/negatives.
  • 37. Selecting the right test automation tool • You need to select one out of the several test automation tools available in the market. That can be a difficult task. • In order to select the tool that fits best for your project, first, you need to understand your project requirements thoroughly. • Identify your budget. Select the tools that fit your requirement and within your budget. Then you can shortlist based on other parameters such as licensing cost of the tool, maintenance cost, training and support, tools extensibility, performance and stability
  • 38. Test Automation Environment • Setting up your test environment is another building block of test automation strategy. You can establish your automation test environment • First by identifying the requirements of the test environment • Then by acquiring the required tools with their licenses. • You can also consider the data that is part of test cases like: • Where to store the test data? • Should the data be masked? • What happens to the data after testing? • Test automation is like a deterministic game, where, known inputs will produce predictable outputs. A stable and predictable test environment is a prerequisite for successful test automation.
  • 39. Test Automation Approach When choosing a test automation approach, there are three areas to consider: Processes, Technology, and Roles Process Your automation roll out must always be a well-defined and structural process. Technology Here you figure out everything about the applications that you want to automate. Figure out which technology they are based on and whether your test automation platform supports these technologies.
  • 40. Risk Analyses As we know risk analysis is an essential part of project planning in general, but it is important to consider it in the test automation as well. By considering a few viable parameters you can create a risk document. The parameters would be something like: Description – A crisp explanation of what the risk is? Risk Level – What will happen if the risk becomes a reality? How hard will it hit the project? Probability – Likeness of the risk turning to reality Mitigation – What actions can be taken to resolve the risk? Cost Estimate – What would be the cost of mitigating the risk? One important thing here is that the risk document is dynamic. Risks will be added and removed to the list as the project evolves.
  • 41. Test Execution and Management • A test automation strategy should also define the process of execution and management of test cases. Text execution should outline things like day-to-day tasks and procedures related to automation. Consider the below suggestions when executing test cases: • Before you add any automated test cases to the regression suite, run and verify multiple times to ensure they run as expected • Define a set of best practices that make test cases resistant to changes in the system which is being automated • Use pipeline orchestrator (Jenkins, TFS, Bamboo, TeamCity, etc.) or a scheduling tool to execute test cases in parallel • Assign status ‘Pass’ or ‘Fail’ to the test case after execution. , this status is assigned to the test cases automatically as per defined success criteria • If the status is ‘Fail’, perform failure analysis
  • 42. Failure Analysis and Reporting Results • Having a plan for how to analyze the failed test cases and resolve them is a critical part of test automation strategy. • Often time is taken to notify the failure, analyze it and resolve it much longer than you anticipate. • Having a well-defined process for this can save a lot of time and effort for the development team. • Outline how different errors should be handled. These errors can be: • Issues with test environment – Inform DevOps team about it • A bug in an application under test – Flaf a bug for the development team • A bug in automation scripts – Create a task for the testing team
  • 43. Myths about Automated Testing Time to bust some myths surrounding test automation- 100% automation is possible – Barring a few very specific applications, 100% automation is just not possible. Exploratory test cases, usability test cases are some of the examples of test cases that can’t be automated. Automation will eat the manual testing jobs – It is true that with the advent and rise of automation testing and different tools, there is a shift to the requirement of full-stack or dual role testers – who can work on both manual and automation testing. But automation will never be able to completely eliminate the need for manual testing. Developer makes better automation testers – While a developer might have a slight edge on the coding part but still a tester will be able to think from a testing perspective. Automation is expensive – When done correctly, automation can reduce the overall testing effort and resource requirement. Thus saving the project cost in the long run.