A brief introduction to test automation covering different automation approaches, when to automate and by whom, commercial vs. open source tools, testability, and so on.
A test automation framework defines an organization's way of doing things. It is a set of assumptions, concepts and tools that provide support for automated software testing.
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
Today we hear a lot of buzz about the latest & greatest test automation tools like Selenium, Rational Functional Tester or HP LoadRunner but to make your test automation effort successful it might take more than just having the right tool. This presentation will try to uncover major pitfalls typically involved with test automation efforts. It will provide guidance on successful strategy as well as differences among third-generation frameworks like keyword-driven, data-driven and hybrid. It will also cover various aspects of SOA test automation
What are the Key drivers for automation? What are the Challenges in Agile automation and How to deal with them? How to automate? Who will automate? Which tool to select? Commercial or open source? What to automate? Which features? Here is what our experience says
A test automation framework defines an organization's way of doing things. It is a set of assumptions, concepts and tools that provide support for automated software testing.
Test Automation Best Practices (with SOA test approach)Leonard Fingerman
Today we hear a lot of buzz about the latest & greatest test automation tools like Selenium, Rational Functional Tester or HP LoadRunner but to make your test automation effort successful it might take more than just having the right tool. This presentation will try to uncover major pitfalls typically involved with test automation efforts. It will provide guidance on successful strategy as well as differences among third-generation frameworks like keyword-driven, data-driven and hybrid. It will also cover various aspects of SOA test automation
What are the Key drivers for automation? What are the Challenges in Agile automation and How to deal with them? How to automate? Who will automate? Which tool to select? Commercial or open source? What to automate? Which features? Here is what our experience says
This is a presentation given at the Hangzhou Scrum Forum 2009, sponsored by Perficient, China. The topic is how to incorporate automated functional testing into an agile project, and also some best practices, tips, and warnings.
www.perficient.com
Test Automation
Test automation is the use of test automation software like Selenium or self-developed testware to execute test cases.
Test automation is mostly used to automate repetitive testing tasks in a formalized way. It is also used to execute tests that would be difficult to perform manually like performance testing.
There are many advantages of test automation that are mostly related to the repeatability of the tests and the speed of test execution. There are a lot of commercial and open source tools available which can be grouped into two main categories; Code-Driven and Graphical User Interface Testing. Thus the key success factor in test automation is selecting the right tool and have a specialized test automation team.
It is to use test automation tools by considering ROI (return on investment). Otherwise it is quite easy to waste big amount of energy, commitment and definitely money.
With more than 500 clients, Keytorc is the leading software testing company in EMEA region that have competencies of automating any kind of software in diverse industries.
For more information about test automation tools and Keytorc’s test automation service you can contact with our performance test engineers: www.keytorc.com or blogs.keytorc.com
Test Otomasyonu:
Test otomasyonu özellikle tekrarlayan ve manuel olarak yapılması zor olan testlerin Selenium gibi test otomasyon araçları kullanılarak ya da özel olarak geliştirilen test otomasyon scriptleri ile yapılmasıdır. Bu bakımdan:
- Regresyon testleri
- Performans testleri
- Yük ve Stres testleri
- Test yönetimi
test otomasyonuna en uygun test tipleri ve aktiviteleridir.
Test otomasyonunun en büyük faydaları:
- testlerin hıznının artırılması
- testlerin kapsamının artırılması
- testlerin doğruluğunun artırılması
- testlerin raporlama kalitesinin artırılmasıdır.
Test otomasyonu doğru araç seçimi yapılmaması, ya da test otomasyonunu bilen uzman bir ekip tarafından yapılmaması durumunda faydadan çok zarar getirmektedir.
EMEA bölgesindeki lider yazılım test firması olan Keytorc’un test otomasyon ekibiyle iletişime geçmek için: www.keytorc.com ya da blogs.keytorc.com
From http://wiki.directi.com/x/AgAa - This is a 24 slide internal presentation covering virtues of Automated Testing vs Manual Testing. Inkeeping with our agile adoption this presentation covers various advantages (11 to be specific) obtained in using TDD and Automated Testing as opposed to Manual Testing
- Understand the principles behind the agile approach to software development
- Differentiate between the testing role in agile projects compared with the role of testers in non-agile projects
- Positively contribute as an agile team member focused on testing
- Appreciate the challenges and difficulties associated with the non-testing activities performed in an agile team
- Demonstrate a range of soft skills required by agile team members
Cucumber is a testing approach/tool and When integrated with Selenium4 forms a great combination as it allows you to write your tests quickly in an English-like language and Selenium allows you to run on various combinations of browsers. In this session, We will learn about BDD, Cucumber, and the advantages of Integrating them with Selenium.
Building a Test Automation Strategy for SuccessLee Barnes
Choosing an appropriate tool and building the right framework are typically thought of as the main challenges in implementing successful test automation. However, long term success requires that other key questions must be answered including:
- What are our objectives?
- How should we be organized?
- Will our processes need to change?
- Will our test environment support test automation?
- What skills will we need?
- How and when should we implement?
In this workshop, Lee will discuss how to assess your test automation readiness and build a strategy for long term success. You will interactively walk through the assessment process and build a test automation strategy based on input from the group. Attend this workshop and you will take away a blue print and best practices for building an effective test automation strategy in your organization.
• Understand the key aspects of a successful test automation function
• Learn how to assess your test automation readiness
• Develop a test automation strategy specific to your organization
This is my complete introductory course for Software Test Automation.If you need full training that includes different automation tools (Selenium, J-Meter, Burp, SOAP UI etc), feel free to contact me by email (amraldo@hotmail.com) or by mobile (+201223600207).
This presentation shows introduction to performance testing open source tool Gatling.
I am working on this tool from more than a year now and loved it's load testing features.
It uncovered many performance issues in our web based software service application.
I made and presented these slides to 20 QA people audience in our organization to show basics of Gatling tool. It also covers main facilities of Gatling for effective performance testing.
Thanks,
er.viral.jain@gmail.com
This is a presentation given at the Hangzhou Scrum Forum 2009, sponsored by Perficient, China. The topic is how to incorporate automated functional testing into an agile project, and also some best practices, tips, and warnings.
www.perficient.com
Test Automation
Test automation is the use of test automation software like Selenium or self-developed testware to execute test cases.
Test automation is mostly used to automate repetitive testing tasks in a formalized way. It is also used to execute tests that would be difficult to perform manually like performance testing.
There are many advantages of test automation that are mostly related to the repeatability of the tests and the speed of test execution. There are a lot of commercial and open source tools available which can be grouped into two main categories; Code-Driven and Graphical User Interface Testing. Thus the key success factor in test automation is selecting the right tool and have a specialized test automation team.
It is to use test automation tools by considering ROI (return on investment). Otherwise it is quite easy to waste big amount of energy, commitment and definitely money.
With more than 500 clients, Keytorc is the leading software testing company in EMEA region that have competencies of automating any kind of software in diverse industries.
For more information about test automation tools and Keytorc’s test automation service you can contact with our performance test engineers: www.keytorc.com or blogs.keytorc.com
Test Otomasyonu:
Test otomasyonu özellikle tekrarlayan ve manuel olarak yapılması zor olan testlerin Selenium gibi test otomasyon araçları kullanılarak ya da özel olarak geliştirilen test otomasyon scriptleri ile yapılmasıdır. Bu bakımdan:
- Regresyon testleri
- Performans testleri
- Yük ve Stres testleri
- Test yönetimi
test otomasyonuna en uygun test tipleri ve aktiviteleridir.
Test otomasyonunun en büyük faydaları:
- testlerin hıznının artırılması
- testlerin kapsamının artırılması
- testlerin doğruluğunun artırılması
- testlerin raporlama kalitesinin artırılmasıdır.
Test otomasyonu doğru araç seçimi yapılmaması, ya da test otomasyonunu bilen uzman bir ekip tarafından yapılmaması durumunda faydadan çok zarar getirmektedir.
EMEA bölgesindeki lider yazılım test firması olan Keytorc’un test otomasyon ekibiyle iletişime geçmek için: www.keytorc.com ya da blogs.keytorc.com
From http://wiki.directi.com/x/AgAa - This is a 24 slide internal presentation covering virtues of Automated Testing vs Manual Testing. Inkeeping with our agile adoption this presentation covers various advantages (11 to be specific) obtained in using TDD and Automated Testing as opposed to Manual Testing
- Understand the principles behind the agile approach to software development
- Differentiate between the testing role in agile projects compared with the role of testers in non-agile projects
- Positively contribute as an agile team member focused on testing
- Appreciate the challenges and difficulties associated with the non-testing activities performed in an agile team
- Demonstrate a range of soft skills required by agile team members
Cucumber is a testing approach/tool and When integrated with Selenium4 forms a great combination as it allows you to write your tests quickly in an English-like language and Selenium allows you to run on various combinations of browsers. In this session, We will learn about BDD, Cucumber, and the advantages of Integrating them with Selenium.
Building a Test Automation Strategy for SuccessLee Barnes
Choosing an appropriate tool and building the right framework are typically thought of as the main challenges in implementing successful test automation. However, long term success requires that other key questions must be answered including:
- What are our objectives?
- How should we be organized?
- Will our processes need to change?
- Will our test environment support test automation?
- What skills will we need?
- How and when should we implement?
In this workshop, Lee will discuss how to assess your test automation readiness and build a strategy for long term success. You will interactively walk through the assessment process and build a test automation strategy based on input from the group. Attend this workshop and you will take away a blue print and best practices for building an effective test automation strategy in your organization.
• Understand the key aspects of a successful test automation function
• Learn how to assess your test automation readiness
• Develop a test automation strategy specific to your organization
This is my complete introductory course for Software Test Automation.If you need full training that includes different automation tools (Selenium, J-Meter, Burp, SOAP UI etc), feel free to contact me by email (amraldo@hotmail.com) or by mobile (+201223600207).
This presentation shows introduction to performance testing open source tool Gatling.
I am working on this tool from more than a year now and loved it's load testing features.
It uncovered many performance issues in our web based software service application.
I made and presented these slides to 20 QA people audience in our organization to show basics of Gatling tool. It also covers main facilities of Gatling for effective performance testing.
Thanks,
er.viral.jain@gmail.com
Gauge is a lightweight open-source, cross-platform test automation tool from ThoughtWorks which provides the ability to author test cases in the business language.
By: Harmeet Singh & Vivek Mahajan
Create the Future - Innovations in TestingAnand Bagmar
My keynote talk delivered in vodQA Pune, Innovations in Testing, on Sat, 6th June 2015, at ThoughtWorks, Pune.
Video available here: https://www.youtube.com/watch?v=EJcaUZYGDic
This talk aims to summarize the typical challenges one encounters in testing mobile applications. At the ThoughtWorks Pune office we have developed multiple mobile applications across various platforms (mobile web, hybrid apps, native apps, apps for tablets etc.). In this talk we will bring together lessons learnt around mobile testing. This talk was done by Vikrant Chauhan and Dubinsky De Soares
Arjuna - Reinventing the Test Automation WheelsRahul Verma
Arjuna is a new generation free test automation engine created by Rahul Verma. It has been coded from scratch, as some would say - it is a reinvention of the test automation wheel. When was a reinvention a bad thing? A wise man once said whatever had to be created has already been created, we just discover it. Arjuna is specifically geared towards today's complex test automation needs while not forgetting the strong foundations laid by its predecessors and teacher in the form of JUnit and TestNG. This presentation happens to be the first formal presentation and hence the official launch of Arjuna by its creator - Rahul Verma.
For enterprise projects, maintaining automation tests suite is always a challenge.
* Detailed walkthru of automation pyramid containing different types of specification driven tests layer.
* Framework built using RSpec, Spinach, Cucumber, webkit and Webdriver with examples
* Process of evolving and building specification tests
* Tips to maintain test suite and minimize test run durations
Bhumika S, Anand Bagmar (Thoughtworks)
How many times do we test the same things at multiple layers, multiple levels, adding time to the build process and testing cycle, delaying the feedback?
We know what to test and how to test, but what is the right place to test it?
In this workshop, we will demonstrate how we, as QA’s, can identify which tests can be classified as unit tests, integration tests, and functional tests. Using a case study, we will see how each component can be tested as part of unit testing; the integration of different parts and the functioning of a software system as a whole, and how functional tests fit into this big picture. We will then bring all these tests together to understand and build the testing pyramid and how it enables us to build the right testing framework with fewer Selenium, i.e., functional tests.
This ppt is done by my dear classmate Sap, almost each ppt I have uploaded is copied from net and other sources.I hope this will b a little useful for students..
Test Automation - Principles and PracticesAnand Bagmar
Slides from my webinar for Sri Lanka Testing Community on - "Test Automation - Principles & Practices".
Details about the webinar can be found from my blog - http://essenceoftesting.blogspot.com
High Performance Software Engineering TeamsLars Thorup
Based on my experiences building high performance engineering teams, this presentation focuses on the technical practices required. These practices centers around automation (build, test and deployment) and increased collaboration between Engineering and QA (TDD, exploratory testing, prioritization, feedback cycles).
● What is Unit Testing?
● Benefits
● What is Test Driven Development?
● What is Behavior Driven Development?
● Categories of (Unit) Tests / Software Testing
Pyramid, Frameworks
● C++, Java, .NET, Perl, PHP frameworks
● Unit-testing Zend Framework application
Test automation - Building effective solutionsArtem Nagornyi
This presentation is answering the questions: how to build an effective test automation framework, select the right tools and organize to whole process?
Following on from the Open Source Jumpstart in April we are running the first event in a series designed to introduce the most common Open Source tools encountered as a professional developer at work or when contributing to OSS projects. The series will show how the concepts taught at University in computing science and software engineering modules can be applied effectively with Open Source tools and help establish a highly agile approach to the whole software development cycle.
Performance Test Automation With GatlingKnoldus Inc.
Gatling is a lightweight dsl written in scala by which you can treat your performance test as a production code means you can easily write a readable code to test the performance of an application it s a framework based on Scala, Akka and Netty.
See what pitfalls companies are facing when running Liferay portal. In the previous year, our company has audited 5 real-life projects based on Liferay Portal which are now running in production mode and serving many users. The audits were focused on architecture, infrastructure, technical design and implementation. During the presentation, we will show you common anti-patterns we have found during the audits and their impacts and consequences on the portal.
Front-end Testing (manual, automated, you name it) - Erich Jagomägis - Develo...MobileMonday Estonia
Presented on Monday, 12 September 2016 at MobileMonday Estonia: "Back to Basics - Testing"
http://www.momoestonia.com/2016/09/mobilemonday-back-to-basics-testing.html
Building Sustainable Software: An Introduction to Software EngineeringMuhammad Shehata
Introduction to software engineering and project management methodologies like Waterfall and Agile. In addition to discussing some practices and tools like Version Control Systems, CI/CD, Code reviews and testing strategies.
Have you ever wondered what the best way would be to test emails? Or how you would go about testing a messaging queue?
Making sure your components are correctly interacting with each other is both a tester and developer’s concern. Join us to get a better understanding of what you should test and how, both manually and automated.
This session is the first ever in which we will have two units working together to give you a nuanced insight on all aspects of integration testing. We’ll start off exploring the world of integration testing, defining the terminology, and creating a general understanding of what phases and kinds of testing exist. Later on we’ll delve into integration test automation, ranging from database integration testing to selenium UI testing and even as far as LDAP integration testing.
We have a wide variety of demos prepared where we will show you how easy it is to test various components of your infrastructure. Some examples:
- Database testing (JPA)
- Arquillian, exploring container testing, EJB testing and more
- Email testing
- SOAP testing using SoapUI
- LDAP testing
- JMS testing
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
2. Scope
● Dynamic vs. static
● Functional vs. non-functional
● Acceptance vs. unit (vs. module vs. integration)
● Frameworks vs. drivers
● Running tests vs. generating tests
● Full scale automation vs. helping manual
testing
● Test execution vs. test management
3. Different scripting approaches
● Record and playback
● Linear scripting
● Modular scripting
● Data-driven testing
● Keyword-driven testing
4. Record and playback
● Capture interaction with system and replay it
● Popular approach among commercial tools
6. Record and playback: Benefits
● Very easy and fast to create initially
● No programming skills needed
7. Record and playback: Problems
● Does not test anything unless checkpoints added
● Very fragile
● Often single change in UI can break all tests
● Hard to maintain
● Plenty of separate test scripts
● No modularity or reuse
● System must be ready before automation can start
● Does not support acceptance test driven development (ATDD)
8. Record and playback: Summary
● Seldom a good approach in general
● Never a good basis for large scale automation
9. Linear scripting
● Non-structured scripts interact directly with the
system under test (SUT)
● Can use any programming language
● Also produced by capture and replay tools
11. Linear scripting: Benefits
● Fast to create initially
● Flexible
● Can use common scripting languages
● No license costs
12. Linear scripting: Problems
● Creating tests requires programming skills
● Very fragile
● One change in the system may break all scripts
● Hard to maintain
● Plenty of test scripts
● No modularity or reuse
16. Modular scripting: Benefits
● Reuse of code
● Creating new tests gets faster
● Maintainability
● Changes require fixes in smaller areas
● Driver scripts are simple
● Even novice programmers can understand and edit
● Creating new ones is not hard either
17. Modular scripting: Problems
● Building test library requires initial effort
● Takes time
● Requires programming skills
● Test data embedded into scripts
● Requires some understanding of programming
● New tests require new driver scripts
18. Modular scripting: Summary
● Good for simple tasks
● Works also in larger usage if everyone who
needs to understand tests can program
● Not good for non-programmers
19. Data-driven testing
● Test data taken out of test scripts
● Customarily presented in tabular format
● One driver script can execute multiple similar tests
● New driver script still needed for different kinds of tests
21. Data-driven testing: Benefits
● Test libraries provide modularity
● Same benefits as with modular scripting
● Creating and editing existing tests is very easy
● No programming skills needed
● Maintenance responsibilities can be divided
● Testers are responsible for the test data
● Programmers are responsible for automation code
22. Data-driven testing: Problems
● Test cases are similar
● For example '1 + 2 = 3' and '1 * 2 = 2'
● New kinds of tests need new driver script
● For example '1 * 2 + 3 = 6'
● Creating driver scripts requires programming skills
● Initial effort creating parsers and other reusable
components can be big
23. Data-driven testing: Summary
● Good solution even for larger scale use
● New kinds of tests requiring programming is a
minus
● May be an overkill for simple needs
24. Keyword-driven testing
● Not only test data but also directives (keywords)
telling how to use the data taken out of the test
scripts
● Keywords and the test data associated with them
drive test execution
26. Keyword-driven testing: Benefits
● All same benefits as with data-driven testing
● Non-programmers can create and edit tests
● Separation of test data and code
● Tests can be constructed freely from keywords
● Non-programmers can create also new kinds of tests
● With suitable keywords also data-driven tests possible
● All tests can be executed by one framework
● No need to create and maintain separate driver scripts
28. Keyword-driven testing: Summary
● Very good solution for large scale use
● Use existing solutions if you can
● May be an overkill for simple needs
29. Interacting with the SUT
● Testability
● Testing through GUI
● Testing below GUI
● Other interfaces
30. Testability
● The hardest part of automation is interacting
with the system under test
● Especially hard with GUIs
● Programming APIs are easiest
● Important to make the system easy to test
● Some common guidelines
● Add identifiers to GUI widgets
● Textual outputs should be easy to parse
● Consider providing automation interfaces
31. Testing through GUI
● Same interface as normal users use
● Can be technically challenging or impossible
● Not all GUI technologies have good tools available
● Often fragile tests
● Often relative slow to execute
● Good approach to use when feasible
32. Testing below GUI
● Automating through business layer often easy
● Tests typically run very fast
● But you still need to test the GUI
● Test the GUI is wired correctly to the business logic
● GUIs always have some functionality of their own
● Pragmatic hybrid solution:
● Test overall functionality below the GUI
● Some end-to-end tests through the GUI—not
necessarily even automated
33. Other interfaces
● Not all systems have a GUI
● Many systems have multiple interfaces
● Programming APIs, databases, server interfaces,
command line, …
● Automation framework which can utilize different
drivers works well in these situations
● Non-GUI interfaces generally easy to automate
● Most of them targeted for machines
● Test library is just another client
34. When to automate and by whom?
● After development by separate team
● During development collaboratively
35. Automation after development
● Often by different team
● In worst case on a different floor, building, or continent
● Communication problems
● Typical in waterfall-ish projects
● Slow feedback loop
● Testability problems can be show stoppers
● Often hard to get testability hooks added afterwards
● May need to resort to complicated and fragile solutions
36. Collaborative automation
● Automation considered an integral part of
development
● Collaboration between testers and programmers
● Typical in Agile projects
● In acceptance test driven development (ATDD)
automation started before implementation
● Testability normally not a problem
● Programmers can create testability hooks
● Testability and available tooling can be taken into
account even with technology decisions
38. Version control
● Test data and code should be stored the same
way as production code
● Recommended to store tests with the
production code
● Easy to get an old version of the software with
related tests
● Lot of great open source alternatives available
● Subversion, Git, Mercurial, …
● No excuse not to use
39. Continuous integration
● Key to full scale automation
● Tests are run automatically when
● New tests are added
● Code is changed
● Can also have scheduled test runs
● Useful if running all tests takes time
● Great open source solutions available
● Jenkins/Hudson, Cruise Control, BuildBot, …
● Custom scripts and cron jobs can be retired
41. Commercial tools
● Good ones tend to be expensive
● But not all expensive are good
● Even cheap licenses can prevent full team collaboration
● Often hard to integrate with
● Other automation tools (especially from other vendors)
● Version control and continuous integration
● Hard or impossible to customize
● Risk of product or company discontinuation
42. Open source tools
● Large variety
● Some are great—others not so
● Normally easy to integrate with other tools
● Free, as in beer, is good
● Everyone can use freely
● Free, as in speech, is good
● Can be customize freely
● Can never really die
43. Freeware tools
● Getting rare nowadays
● Most free tools are also open source
● No license costs
● Tend to be easier to integrate with other tools
than commercial
● Hard or impossible to customize
● Risk of discontinuation
44. Generic skills to learn
● Scripting languages
● Python, Ruby, Perl, Javascript, ...
● Regular expressions
● A must when parsing textual outputs
● XPath and CSS selectors
● A must when doing web testing
● SQL
● A must with databases
● Using version control
45. Is manual testing still needed?
● YES!!
● Avoid scripted manual testing
● Automate it instead
● Concentrate on exploratory testing
● Machines are great for running regression tests
● Humans are great for finding new defects