This document discusses test automation, including the purpose of test automation, the test automation process, and the test automation pyramid. The key points are:
1. Test automation aims to improve test efficiency, provide wider test coverage, reduce costs, and speed up testing.
2. The test automation process involves defining the test scope, designing tests, coding tests, setting up the test environment, running tests, and maintaining automation over time.
3. The test automation pyramid illustrates that unit tests should form the base, as they are quick to write and run, while user interface tests are at the top as they are more complex and time-consuming.
Test Automation Improvement by Machine Learning Jasst'21 TokyoSadaaki Emura
We have challenging issue in test automation operation.
Test automation fail by bug and not bug reason.
I think one of the main reason is temporary accident.
When test automation fail by this temporary accident, test will be success by running test again usually.
This re-run operation is boaring task and big task for test automation operation
To eliminate this kind issue and improve operation, we built system categorize issue by machine learning, re-run test only when fail reason is temporary accident.
In this session , I show you these below
- What's test automation issue in daily operation
- How to resolve this issue. store big data, learning, system architecture etc.
- Actual result for improvement
5 Considerations When Adopting Automated TestingBhupesh Dahal
Most organizations have realized the benefits of and need for test automation—but is your investment being wisely utilized? Are you unknowingly building a test automation suite that will end up costing more than your actual product? Are you building a legacy test automation framework that may be ready to retire before you reap the benefits?
This presentation will discuss five points of consideration that will help your organization answer these questions and mitigate risks that they bring into light.
Test Automation Improvement by Machine Learning Jasst'21 TokyoSadaaki Emura
We have challenging issue in test automation operation.
Test automation fail by bug and not bug reason.
I think one of the main reason is temporary accident.
When test automation fail by this temporary accident, test will be success by running test again usually.
This re-run operation is boaring task and big task for test automation operation
To eliminate this kind issue and improve operation, we built system categorize issue by machine learning, re-run test only when fail reason is temporary accident.
In this session , I show you these below
- What's test automation issue in daily operation
- How to resolve this issue. store big data, learning, system architecture etc.
- Actual result for improvement
5 Considerations When Adopting Automated TestingBhupesh Dahal
Most organizations have realized the benefits of and need for test automation—but is your investment being wisely utilized? Are you unknowingly building a test automation suite that will end up costing more than your actual product? Are you building a legacy test automation framework that may be ready to retire before you reap the benefits?
This presentation will discuss five points of consideration that will help your organization answer these questions and mitigate risks that they bring into light.
Automation Framework - gFast: generic Framework for Automated Software Testing - QTP Framework
The Most sophisticated frameworks in Automation Testing is Designed with highly experienced Automation Consultants of Heyday Software Solution for all the areas. This makes us to make the impossible things to make possible very fast with our proprietary framework "gFAST".This is a QTP Framework
About gFAST: generic Framework for Automated Software Testing
****************
Developed on Quick Test Professional supporting all Platforms(addin's) with KeyWord Driven Framework.
Key Features
****************
* Better ROI
* Internationalization Support
* Supports Multiple Projects/TestSuites/TestCases
* 24/7 Automatic Regression Tests Running Facility
* Generates Email Reports
* Generates Test Logs
* Simple way to Create Test Cases(without any new QTP Scripts development)
* Easy to Create Test Cases with Test Cases Generator
* Easy way to Create Tests With Excel/Text files facility)
* Easy to Maintain.(Whole Framework will Have 3 QTP script Files -Driver and Two
Controllers and Libraries.)
* Screen Capturing on Error for Each of the Test Cases
* Global Configuration Files
* Multiple Browser windows support
* Easy to build automation for the Projects
Our Frameworks:
Selenium Framework
WATIR RUBY Framework
Silk Framework
Winrunner Framework
QTP Framework
Generic Automation Framework
Perl Automation Framework
End-to-End Test Automation for Both Horizontal and Vertical ScaleErdem YILDIRIM
Slides from my talk at Selenium Camp Test Automation Conference - 2017
https://seleniumcamp.com/talk/end-to-end-test-automation-for-both-horizontal-and-vertical-scale/
Test automation (TA) activity has become a key critical work to guarantee the quality of system under test (SUT) by driving test and also development effort effectively. To bring this efficiency to projects, companies are investing on TA projects in a more motivated way. The question here is how we should design the automation strategy to handle complex TA projects together effectively. It can be done by automating test scenarios as E2E (end to end). Vertical E2E TA consists of; automating Test Data Preparation Phase and Unit, Integration and UI tests. For horizontal E2E TA; UI and Integration test cases, which are automated, designed as integrated real user scenarios. I will tell about the prerequisites, principles and key factors to have E2E automated tests. And also I will share hands on experienced E2E test automation projects that Selenium was the key tool.
Working in many companies as consultant, delivery manager or tech lead I have always seen the same mistakes made in test automation process. I could count successful cases on fingers of one hand. Sometimes people don’t understand the true value of test automation, sometimes just could not organize this process spending lots of money and time without any significant result. I want to share 5 top mistakes aggregated from whole my practice and solutions I recommend for them.
Roman iovlev battle - JDI vs Selenide - Selenium CampРоман Иовлев
The Battle on Selenium Camp conferece February 2017
http://seleniumcamp.com/talk/qa-livecoding-battle-typed-element-framework-jdi-vs-untyped-elements-framework-selenide/
Why typed elements (like Buttons, Images, Checkboxes, Links etc.) are bad practice in UI tests? Or are non-typed elements (like SelenideElement for ´em all!) more evil? Is it better to have predefined Element hierarchy or not?
Alexei and Roman have delivered a sound theoretical battle earlier at Heisenbug-2016 Conference in Moscow. But were everything said just words? The both QA wrestlers are still standing behind their concepts and are willing to prove their point at live coding sessions before the judging audience! In this QA Battle the parties will solve problems using a typed framework JDI and an non-typed one – Selenide, commenting their actions. The audience will decide with their votes which of the concept was better.
Lightning Talks by Globant - Automation (This app runs by itself ) Globant
When you add new features to your application a lot of things can happen. Do you believe that the app is able to test itself by using automation? Just imagine testing everything manually due to that change. Do you know how many people will be needed to complete this process? The power of automated testing in the development lifecycle allows us things such as scheduling, and executing tests at any time with a big scope on thousands of mobile devices, websites and multiple browsers simultaneously making sure everything is working as expected.
Automation Framework - gFast: generic Framework for Automated Software Testing - QTP Framework
The Most sophisticated frameworks in Automation Testing is Designed with highly experienced Automation Consultants of Heyday Software Solution for all the areas. This makes us to make the impossible things to make possible very fast with our proprietary framework "gFAST".This is a QTP Framework
About gFAST: generic Framework for Automated Software Testing
****************
Developed on Quick Test Professional supporting all Platforms(addin's) with KeyWord Driven Framework.
Key Features
****************
* Better ROI
* Internationalization Support
* Supports Multiple Projects/TestSuites/TestCases
* 24/7 Automatic Regression Tests Running Facility
* Generates Email Reports
* Generates Test Logs
* Simple way to Create Test Cases(without any new QTP Scripts development)
* Easy to Create Test Cases with Test Cases Generator
* Easy way to Create Tests With Excel/Text files facility)
* Easy to Maintain.(Whole Framework will Have 3 QTP script Files -Driver and Two
Controllers and Libraries.)
* Screen Capturing on Error for Each of the Test Cases
* Global Configuration Files
* Multiple Browser windows support
* Easy to build automation for the Projects
Our Frameworks:
Selenium Framework
WATIR RUBY Framework
Silk Framework
Winrunner Framework
QTP Framework
Generic Automation Framework
Perl Automation Framework
End-to-End Test Automation for Both Horizontal and Vertical ScaleErdem YILDIRIM
Slides from my talk at Selenium Camp Test Automation Conference - 2017
https://seleniumcamp.com/talk/end-to-end-test-automation-for-both-horizontal-and-vertical-scale/
Test automation (TA) activity has become a key critical work to guarantee the quality of system under test (SUT) by driving test and also development effort effectively. To bring this efficiency to projects, companies are investing on TA projects in a more motivated way. The question here is how we should design the automation strategy to handle complex TA projects together effectively. It can be done by automating test scenarios as E2E (end to end). Vertical E2E TA consists of; automating Test Data Preparation Phase and Unit, Integration and UI tests. For horizontal E2E TA; UI and Integration test cases, which are automated, designed as integrated real user scenarios. I will tell about the prerequisites, principles and key factors to have E2E automated tests. And also I will share hands on experienced E2E test automation projects that Selenium was the key tool.
Working in many companies as consultant, delivery manager or tech lead I have always seen the same mistakes made in test automation process. I could count successful cases on fingers of one hand. Sometimes people don’t understand the true value of test automation, sometimes just could not organize this process spending lots of money and time without any significant result. I want to share 5 top mistakes aggregated from whole my practice and solutions I recommend for them.
Roman iovlev battle - JDI vs Selenide - Selenium CampРоман Иовлев
The Battle on Selenium Camp conferece February 2017
http://seleniumcamp.com/talk/qa-livecoding-battle-typed-element-framework-jdi-vs-untyped-elements-framework-selenide/
Why typed elements (like Buttons, Images, Checkboxes, Links etc.) are bad practice in UI tests? Or are non-typed elements (like SelenideElement for ´em all!) more evil? Is it better to have predefined Element hierarchy or not?
Alexei and Roman have delivered a sound theoretical battle earlier at Heisenbug-2016 Conference in Moscow. But were everything said just words? The both QA wrestlers are still standing behind their concepts and are willing to prove their point at live coding sessions before the judging audience! In this QA Battle the parties will solve problems using a typed framework JDI and an non-typed one – Selenide, commenting their actions. The audience will decide with their votes which of the concept was better.
Lightning Talks by Globant - Automation (This app runs by itself ) Globant
When you add new features to your application a lot of things can happen. Do you believe that the app is able to test itself by using automation? Just imagine testing everything manually due to that change. Do you know how many people will be needed to complete this process? The power of automated testing in the development lifecycle allows us things such as scheduling, and executing tests at any time with a big scope on thousands of mobile devices, websites and multiple browsers simultaneously making sure everything is working as expected.
In this Quality Assurance Training session, you will learn about Automation Tools Overview. Topic covered in this session are:
• SQL Basic Operators and Function
• Software Testing Tool – Overview
• Advantage- Automation
• Disadvantage - Automation
• Grouping of Automation Tool
• Functional Tool
• Source Code Testing Tool
• Performance Tool
• Test Management Tool
• Security Testing Tool
For more information, about this quality assurance training, visit this link: https://www.mindsmapped.com/courses/quality-assurance/software-testing-training-with-hands-on-project-on-e-commerce-application/
Continuous Integration, Deploy, Test From Beginning To End 2014Clever Moe
Frank Cohen, CTO/Founder at Appvance, teaches developers and testers how to become more closely aligned with easily deployable and configurable tools such as Jenkins CI and performance testing platforms. Learn how to: * Merge Agile SDLC and Performance Testing * Speed-up test operations by configuring Jenkins for automatic build, deploy, and tests * Instantly identify functional and performance issues using Jenkins as a performance dashboard * Use effective choices in Jenkins deployment – in the cloud, hosted, or in your datacenter
STARWest: Use Jenkins For Continuous Load Testing And Mobile Test AutomationClever Moe
Frank Cohen's session from the STARWest (Software Test Automation) conference, October 2014. Building mobile apps and Ajax apps effectively requires a blended approach to test automation. Frank Cohen, CTO/Founder at Appvance, shows how to leverage the best application performance test methodology with test tools to deliver excellent Ajax, iOS and Android apps. Learn how to: * Effectively choose a mobile testing method for Agile shops * Reduce costs by choosing the best tools (Appium, Jenkins, Appvance PerformanceCloud) * Scale-up your mobile testing to thousands of test suites automatically * The mix-and-match mobile testing methodology for just-in-time performance testing
Use Jenkins For Continuous Load Testing And Mobile Test AutomationClever Moe
Building mobile apps and Ajax apps effectively requires a blended approach to test automation. Frank Cohen, CTO/Founder at Appvance, shows how to leverage the best application performance test methodology with test tools to deliver excellent Ajax, iOS and Android apps. Learn how to: * Effectively choose a mobile testing method for Agile shops * Reduce costs by choosing the best tools (Appium, Jenkins, Appvance PerformanceCloud) * Scale-up your mobile testing to thousands of test suites automatically * The mix-and-match mobile testing methodology for just-in-time performance testing
In this session you will learn:
Software Testing Tool – Overview
Advantage- Automation
Disadvantage - Automation
Grouping of Automation Tool
Functional Tool
Source Code Testing Tool
Performance Tool
Test Management Tool
Security Testing Tool
For more information: https://www.mindsmapped.com/courses/quality-assurance/qa-software-testing-training-for-beginners/
Clean Code in Test Automation Differentiating Between the Good and the BadKnoldus Inc.
This session focuses on the principles of writing clean, maintainable, and efficient code in the context of test automation. The session will highlight the characteristics that distinguish good test automation code from bad, ultimately leading to more reliable and scalable testing frameworks.
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
Learn through Experience -- We differentiate our training and development program by delivering Role-Based training instead of Product-based training. Ultimately, our goal is to deliver the best IT Training to our clients.
In this training, attendees learn:
Introduction to Automation
• What is automation
• Advantages of automation & Disadvantages of automation
• Different types of Automation Tools
• What to automate in projects
• When to start automation. Scope for automation testing in projects
• About open-source automation tools
Introduction to Selenium
• What is selenium
• Why selenium
• Advantage and Disadvantages of selenium
Selenium components
• Selenium IDE
• Selenium RC
• Selenium WebDriver
• Selenium Grid
Selenium IDE
• Introduction to IDE
• IDE Installation
• Installation and uses of Firepath, Firebug & Debug bar
• Property & value of elements
• Selenium commands
• Assertions & Verification
• Running, pausing and debugging script
• Disadvantages of selenium IDE
• How to convert selenium IDE Scripts into other languages
Locators
• Tools to identify elements/objects
• Firebug
• IE Developer tools
• Google Chrome Developer tools
• Locating elements by ID
• Finding elements by name
• Finding elements by link text
• Finding elements by XPath
• Finding Elements by using CSS
• Summary
Selenium RC
• What is selenium RC
• Advantages of RC, Architecture
• What is Eclipse/IntelliJ, Selenium RC configure with Eclipse/IntelliJ
• Creating, running & debugging RC scripts
Java Concepts
• Introduction to OOPs concepts and Java
• Installation: Java, Eclipse/IntelliJ, selenium, TestNg/JUnit
• operators in java
• Data types in java
• Conditional statements in java
• Looping statements in java
• Output statements in java
• Classes & Objects
• Collection Framework
• Regular Expressions
• Exception Handling
• Packages, Access Specifiers /Modifiers
• String handling
• Log4J for logging
Selenium Web Driver with Java
• Introduction to WebDriver
• Advantages
• Different between RC and WebDriver
• Selenium WebDriver- commands
• Generate scripts in Eclipse/IntelliJ. Run Test Scripts.
• Debugging Test Script
• Database Connections
• Assertions, validations
• Working with Excel
• Pass the data from Excel
• Working with multiple browser
• Window Handling, Alert/confirm & Popup Handling
• Mouse events
• Wait mechanism
• Rich Web Handling: Calendar handing, Auto suggest, Ajax, browser forward/back navigation, keyboard events, certificate handling, event listeners
TestNg/JUnit Framework
• What is TestNg/JUnit
• Integrate the Selenium Scripts and Run from TestNg/JUnit
• Reporting Results and Analysis
• Run Scripts from multiple programs
• Parallel running using TestNg/JUnit
Automation Framework development in Agile testing
• Introduction to Frame W
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/
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfDiana Gray, MBA
UiPath Test Suite Family of Products
In Part 2 of Test Automation using UiPath Test Suite - Developer Series, we'll cover,
- UiPath Test Manager: Manage tests with comprehensive test planning, defect reporting, role-based access controls, and requirement traceability
- UiPath Studio: Automate tests and test data generation by leveraging UiPath production-grade automation capabilities
UiPath Orchestrator: Distribute tests to schedule, monitor, and store dynamic test data and test execution & analyze detailed results
- UiPath Test Robots: Execute tests on multiple machines in parallel and receive reports back
- Guidance in setting the environment for Test Automation
Speakers: Atul Trikha , Sreenivasa Adathakula
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.
Why we need software testing?
- Find / prevent bug
- No more nightmare when you deploy to production
- Preserve product quality
End to End Test
- Testing the complete functionality of some application
- Real application
this slide is presentation in JaSST'22 Tohoku.
we faced 3 times challanging issue about test automation and resolved .
explain these issue and how to resolve it and what effective is gotton.
1st issue : process issue
2nd issue : scripting issue
3rd issue : maintenance issue
Test automation need operation.
- test automation keep latest specification.
- test automation is fragile. investigation is needed.
- test automation performance should be monitoring and improve it if low performance happened.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfKamal Acharya
The College Bus Management system is completely developed by Visual Basic .NET Version. The application is connect with most secured database language MS SQL Server. The application is develop by using best combination of front-end and back-end languages. The application is totally design like flat user interface. This flat user interface is more attractive user interface in 2017. The application is gives more important to the system functionality. The application is to manage the student’s details, driver’s details, bus details, bus route details, bus fees details and more. The application has only one unit for admin. The admin can manage the entire application. The admin can login into the application by using username and password of the admin. The application is develop for big and small colleges. It is more user friendly for non-computer person. Even they can easily learn how to manage the application within hours. The application is more secure by the admin. The system will give an effective output for the VB.Net and SQL Server given as input to the system. The compiled java program given as input to the system, after scanning the program will generate different reports. The application generates the report for users. The admin can view and download the report of the data. The application deliver the excel format reports. Because, excel formatted reports is very easy to understand the income and expense of the college bus. This application is mainly develop for windows operating system users. In 2017, 73% of people enterprises are using windows operating system. So the application will easily install for all the windows operating system users. The application-developed size is very low. The application consumes very low space in disk. Therefore, the user can allocate very minimum local disk space for this application.
Forklift Classes Overview by Intella PartsIntella Parts
Discover the different forklift classes and their specific applications. Learn how to choose the right forklift for your needs to ensure safety, efficiency, and compliance in your operations.
For more technical information, visit our website https://intellaparts.com
Automobile Management System Project Report.pdfKamal Acharya
The proposed project is developed to manage the automobile in the automobile dealer company. The main module in this project is login, automobile management, customer management, sales, complaints and reports. The first module is the login. The automobile showroom owner should login to the project for usage. The username and password are verified and if it is correct, next form opens. If the username and password are not correct, it shows the error message.
When a customer search for a automobile, if the automobile is available, they will be taken to a page that shows the details of the automobile including automobile name, automobile ID, quantity, price etc. “Automobile Management System” is useful for maintaining automobiles, customers effectively and hence helps for establishing good relation between customer and automobile organization. It contains various customized modules for effectively maintaining automobiles and stock information accurately and safely.
When the automobile is sold to the customer, stock will be reduced automatically. When a new purchase is made, stock will be increased automatically. While selecting automobiles for sale, the proposed software will automatically check for total number of available stock of that particular item, if the total stock of that particular item is less than 5, software will notify the user to purchase the particular item.
Also when the user tries to sale items which are not in stock, the system will prompt the user that the stock is not enough. Customers of this system can search for a automobile; can purchase a automobile easily by selecting fast. On the other hand the stock of automobiles can be maintained perfectly by the automobile shop manager overcoming the drawbacks of existing system.
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
5. Purpose of Test Automation
What test automation does
• Set up test preconditions (build server, docker, set up app, create test data etc)
• Execute tests
• Validation (compare actual outcomes to expected outcomes)
@いらすとや
6. Purpose of Test Automation
What effect comes
• Improve test efficiency
• Provide wider function coverage (improve test coverage)
• Reduce the total test cost
• Speed up test execution , quick feedback , increase the test cycle
@いらすとや
7. Advantages & Disadvantage Test Automation
Advantage
• Run test repeatedly, faster
• Can do test that cannot be done by manual (complex, wide coverage, repeat)
• Reduce human operation error, improve consistency of tests
• Effective and efficient use of testing resource
Disadvantage
• Additional cost for scripting and maintenance
• Require additional technologies , skills
• Need maintenance ( update script, run stable )
• Test can be more complex
• Additional investigation for errors by automation
Limitation
• Not all manual tests can be automated
• Can only check machine-understandable results
• can only check actual results with test oracle prepared (compare)
• Cannot do exploratory testing
9. Tool depend on Test level
@wikipedia
• Requirements and architecture phase
• Check documentation format, proofreading
• Ex. RedPen, ClearDoc
• Implementation
• Statistic analysis
• check coding rule, bug, security issue
• Ex. Coverity , Adlint
• Dynamic analysis (Unit test)
• Check program specification by unit level, white-box
• Ex. Junit, PHPinit
• Integration test and verification
• Check interface level (API)
• Ex. SoapUI
• System Verification and Validation
• Check End to End level, load test, security test
• Ex. Selenium, Appium, Ranorex, UFT
10. End to End test automation tool
How to
recognize object
License Technical skill
Ranorex Id, XPath Not free Middle level
UFT Id, XPath Not free Middle level
Selenium IDE Id, XPath Free Low level
Eggplant Image Not free Middle level
Selenium +
Webdriver
Id, XPath Free High level
13. Test Automation process
1. Test scope
2. Test design
3. Coding design
4. Setup scripting environment (System Under Test)
5. Script code
6. Check test automation
7. Run test automation, evolve into Continuous Integration
8. Maintain test automation
14. Test Automation process
1.Test scope
Decide which area , function should be automated
• Collaborate with manual testing
• Consider cost and building time
Sample standard
• No scope automation cannot do test
• No scope the functions scripting is complex
• No scope scenario reproduce is difficult
• No scope test is seldom used
• No scope the functions specification is changed frequently
15. Test Automation process
2.Test design
Test automation is same as app.
That’s why test automation specification is needed.
Test design is same as this specification.
• Basically same as manual test design / scenario
• Clarify step, what is validated and what is expectation for machine to understand
• Clarify what is not automated (constraint) in this step to cover it by manual testing
16. Test Automation process
3.Coding design
Consider architecture same as app programing
• Simple code, coding rule
• Maintainability (library , object oriented re-usable)
• Performance ( minimum steps )
• Data driven ( data and script are separated )
• Keyword driven ( encapsulation steps )
• Consistency ( initialize, tear down )
• Sensitive and robust
17. Data driven
Capture
1. Input ‘testuser001’ in userid
2. Input ‘abcdefg’ in password
3. Click ‘login’
Data driven
1. Input $userid in userid
2. Input $password in password
3. Click ‘login’
Data source
userid , password
testuser001 , abcdefg
testuser002 , hijklmn
Separate step and data
Reusability
Maintainability
18. Sensitive and robust
How volume do test automation validate?
Sensitive
• Compare many information to validate
• Coding cost increase
• Easy to fail by little change UI
Robust
• Limit little information to compare
• Coding cost is a small
• Difficult to fail by little change UI
• Miss bug often
19. Test Automation process
4.Setup scripting environment (System Under Test)
build test environment
• Script test code based on this environment
• If this system does not work, it’s difficult to script code
• If system UI include DOM level was changed , code might be remade
5.Script code
• Recognize object by id, XPath, image etc.
• Build step
• Set validation that compare actual with expectation
20. When can we start scripting ?
Ex. Waterfall model
requireme
nt
Design coding test release
Class, id 設計する?
Build environment
When is system stable ?
Actually we can
start scripting
21. Test Automation process
6.Check test automation
• Run script and check if test automation is correct
• Basically if app has bug, test automation might not be correct even if it works successfully
• Need to do failed test pattern
• Check if report is enough
7.Run test automation, evolve into Continuous Integration
• Do test
• Use for contentious integration
22. Test Automation process
8.Maintain test automation
• Increase coverage
• Up-to-date app specification
• Up-to-date test automation tool version, test device version
• Monitor test results from CI
• Monitor performance , tune up script
• Check flaky test script, investigate and fix it
• Delete unused , un-useful test script
• Reduce task dependency in CI
• Visualize metrics ( success/failed , performance )
• Keep good data ( delete unnecessary data )
24. Test Automation pyramid
(c) OnTestAutomation
Top Layer : User interface tests
• Scripting test and execution takes long time
• Environment is unstable
Base Layer : Unit tests
• Script test and execute quickly
• Difficult to find integration bugs
• Analyze and fix Bug are easy