SlideShare a Scribd company logo
© 2019 Maveryx srl.
All rights reserved.
Enhanced test automation
for Web and Desktop apps
Software Testing Forum 2019
Alfonso Nocella
© 2019 Maveryx srl.
All rights reserved.
Maveryx is the Italian testing automation company that
provides one of the most advanced testing automation
solution worldwide.
Introduction
Today
• 14 Released Versions
• 25K Downloads
• 40K Contacts
2009
Open
Source
2010
1° Release
2012
Become a
Company
2013
ATI
Innovation
Award
2015
Trading
with
World
Leader
Company
© 2019 Maveryx srl.
All rights reserved.
• Creating and maintaining test artefacts (maps, objects
repositories, recordings, etc…): huge cost in terms of
time and effort;
• Instrumenting the AUT (Application Under Test) code
• AUTs in different technologies need different tools
Challenges (1)
© 2019 Maveryx srl.
All rights reserved.
Does automation necessarily be complicated and expensive?
The Application Under
Test is required to start
developing tests
Start late, finish later!
50%
Time
• Acquisition €2K-16K
• Know-how €10K-25K
• Maintenance cost
unpredictable
Costs reduction is
hard to achieve
Cost
Automation does not
replace completely
manual testing
Useless activities
instead of increasing
functional coverage
Quality
Challenges (2)
© 2019 Maveryx srl.
All rights reserved.
The Idea
A technology able to operate as a person
– no artefact
– no code instrumentation
– no programming skills.
A technology able to test AUTs from design
– no matter the development technology
– no matter the execution environment
© 2019 Maveryx srl.
All rights reserved.
Robot
System Under Observation
Viewer
ModelController
Decision
Support
System
Data
Commands
The Technology
© 2019 Maveryx srl.
All rights reserved.
The Maveryx Test Automation Framework
innovates automated testing for:
 Functional Testing
 Regression Testing
 Keyword-Driven Testing
 Data-Driven Testing
 Continuous Integration
The Framework
© 2019 Maveryx srl.
All rights reserved.
 No GUI Maps or Object Repositories
 No pre-recording or UI element capture
 No AUT code instrumentation
 No programming skills needed
 Recognition of objects in the User Interface by Images
Inspection «On-The-Fly»
© 2019 Maveryx srl.
All rights reserved.
 Inspection & recognition at runtime
 One script to test them all
 Testers will be testers
 Multi-Platform
The Framework is an expert tool operating as a senior human tester
So innovative ?!
© 2019 Maveryx srl.
All rights reserved.
A Case Study
Functional
Requirements
Prototype Beta GA
1 9 18 27 36
Beta GA
45
Design
Development
Test Execution
Test Development
Design
Development
Test Record
Test Development
Test Execution
With Maveryx
Without
© 2019 Maveryx srl.
All rights reserved.
Test automation runs in
parallel with software
development
Short time-to-market:
early start, earlier finish!
Time
Accuracy improved by:
• test objects recognition
• accommodating
changes
• error recovering
Tests resilient to
frequent changes
Quality
• Std. technologies
• Easy to learn & use
• No maintenance cost
Reduced all the
automation costs
Cost
Challanges won
© 2019 Maveryx srl.
All rights reserved.
 Your team can save a lot of
time that can be spent to
increase test coverage
 You can cut effort & costs of
test creation & maintenance,
releasing earlier
 Everyone in your team can
play a significant role
Testers
 No code, or learn and use
complex XPath Locators, or
Matchers, etc…
 No effort to capture and
maintain any Object
Repository, GUI Map, etc…
 Java & C# scripting, or
Keywords & Blocks for non
programmers
Managers
© 2019 Maveryx srl.
All rights reserved.
• Taking advantage of the coding skills;
• Using constructs, statements, etc…
• Using the OOP features (e.g. inheritance,
polymorphism, recursion, etc… );
• Using design patterns;
Test Scripting
© 2019 Maveryx srl.
All rights reserved.
Scripting: Java Example
© 2019 Maveryx srl.
All rights reserved.
Scripting: C# Example
© 2019 Maveryx srl.
All rights reserved.
Scriptless Testing
• No programming skills are needed;
• Easy to learn and use;
• Promotes an improved functional coverage;
• Favours the participation of all the stakeholders;
© 2019 Maveryx srl.
All rights reserved.
Test Case :
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: “logged in”
6. Click “OK" button
7. Close the Application
Scriptless: Excel Example
© 2019 Maveryx srl.
All rights reserved.
Test Case :
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the label: “logged in”
6. Click “OK" button
7. Close the Application
Scriptless: Blockly Example
© 2019 Maveryx srl.
All rights reserved.
Data-Driven Testing allows writing the test
cases as scripts those read their data from
external files or db
One script to drive the tests and changing the
data you can create any number of test cases
Data-Driven Testing
© 2019 Maveryx srl.
All rights reserved.
Extension plugin mechanism & interfaces
to support custom controls
to add new keyword (action) libraries
API extension
to create new Test API
Add-ons
© 2019 Maveryx srl.
All rights reserved.
Create and run a keyword-driven test
1. Create a new Maveryx Test Project
2. Write the test case
3. Run the test
© 2019 Maveryx srl.
All rights reserved.
1. Select File → New → Maveryx Test Project
In the Maveryx Test Project window
1. enter the Project name (e.g.
"PasswordDemoTest")
2. in the JRE section make sure that
Java/JRE 8 or higher is selected
2. Click Finish
Create New Test Project
© 2019 Maveryx srl.
All rights reserved.
1. Select File → New → Maveryx Test
Class
In the Maveryx Test Class window
1. enter a name for the Package (e.g.
"com.maveryx.demo")
2. enter a Name for the test class /
script (e.g. “PasswordDemoTest”)
2. Click Finish
Create New Test Script
© 2019 Maveryx srl.
All rights reserved.
Set the full path (pathName) to
the AUT launch file.
e.g. private final String pathName =
"C:/Maveryx/demo/AUT/PasswordDemo.xml";
The static method
startApplication(pathName)
in class Bootstrap launches the AUT
The static method stop() in class
Bootstrap closes the AUT.
Test Script "stub"
© 2019 Maveryx srl.
All rights reserved.
To execute a Java Application-Under-Test it is necessary to create the
related AUT launch file.
Java AUT Launch File
© 2019 Maveryx srl.
All rights reserved.
To execute a MFC or .NET Application-Under-Test it is necessary
to create the related AUT launch file.
MFC & .Net AUT Launch File
Set the absolute or relative path to your AUT executable file
© 2019 Maveryx srl.
All rights reserved.
To execute a Web Application-Under-Test it is necessary to
create the related AUT launch file.
Web AUT Launch File
Set the path of the browser
you want to use for your tests
Set the URL of the AUT
© 2019 Maveryx srl.
All rights reserved.
Create and run a keyword-driven test
1. Create a new Maveryx Test Project
2. Write the test case
3. Run the test
© 2019 Maveryx srl.
All rights reserved.
The Sample AUT
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: Hi "username”
6. Click “OK" button
7. Close the Application
Test Case #001
© 2019 Maveryx srl.
All rights reserved.
7. Close the AUT
6. Click “OK" button
5. Check the results
4. Click "Login" button
3. Enter Password
2. Enter username
1. Start the AUT
Close
Has_Text
Click
Set_Text
Start
Keywords
Test Case
Identify Keywords
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: “Hi
alfonso”
6. Click “OK" button
7. Close the Application
Keyword Data / Input Description
START AUT lauch file path Launch the AUT
Design Test step 1
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: “Hi
alfonso”
6. Click “OK" button
7. Close the Application
Keyword Data /
Input
Description
SET_TEXT Text Set the text into a text field
Design Test step 2 & 3
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: “Hi
alfonso”
6. Click “OK" button
7. Close the Application
Keyword Data /
Input
Description
CLICK Click the button
Design Test step 4
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: “Hi
alfonso”
6. Click “OK" button
7. Close the Application Keyword Data /
Input
Description
HAS_TEXT Text Check whether the given
LABEL has the actual Text
Design Test step 5
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results:
“logged in”
6. Click “OK" button
7. Close the Application
Keyword Data /
Input
Description
CLICK Click the button
Design Test step 6
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results:
“logged in”
6. Click “OK" button
7. Close the Application
Keyword Data / Input Description
CLOSE Close the AUT
Design Test step 7
© 2019 Maveryx srl.
All rights reserved.
Create and run a keyword-driven test
1. Create a new Maveryx Test Project
2. Write the test case
3. Run the test
© 2019 Maveryx srl.
All rights reserved.
a. Create a new object
KeywordDrivenTestManager
b. Call the method run()
specifying the path of the
Excel file
Create the Driver Script
© 2019 Maveryx srl.
All rights reserved.
1. Click on the test class or package you
want to run
2. Select File → Run As → JUnit Test
Run a Test Script
© 2019 Maveryx srl.
All rights reserved.
Alternatively
By command line KeywordDrivenTestingCLI with the following arguments:
For example:
KeywordDrivenTestingCLI –o "C:Report" "C:Testtest001.xls"
The test script C:Testtest001.xls is executed and the test report is stored
in C:Report
Or:
KeywordDrivenTestingCLI –o "C:Report" –e
"C:Testtest001.xls " "C:Test"
All test scripts in C:Test (including subfolders) are executed except
C:Testtest001.xls and the test report is stored in C:Report
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Start the Application
2. Enter valid username
3. Enter valid Password
4. Click “Login” button
5. Check the results: Hi "username”
6. Click “OK" button
7. Close the Application
Test Case #001
© 2019 Maveryx srl.
All rights reserved.
6. Click “OK" button
5. Check the label
4. Click "Login" button
3. Enter Password
1. Enter username
Assert
Button
Text
BlocksTest Case
Identify Blocks
Label
SetText
Action
Click
GetText
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Enter valid username
2. Enter valid Password
3. Click “Login” button
4. Check label: “Hi Admin”
5. Click “OK" button
Design Test step 2 & 3
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Enter valid username
2. Enter valid Password
3. Click “Login” button
4. Check label: “Hi Admin”
5. Click “OK" button
Design Test step 4
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Enter valid username
2. Enter valid Password
3. Click “Login” button
4. Check label: “Hi Admin”
5. Click “OK" button
Design Test step 5
© 2019 Maveryx srl.
All rights reserved.
Test Case : TC_01
1. Enter valid username
2. Enter valid Password
3. Click “Login” button
4. Check label: “Hi Admin”
5. Click “OK" button
Design Test step 6
© 2019 Maveryx srl.
All rights reserved.
Customer Case
© 2019 Maveryx srl.
All rights reserved.
The team develops Mission Computing Software for
an airborne command and control platform.
• This project was the major mid-life upgrade and the
team wanted to introduce automated testing.
• The challenge was to find a tool that it could
integrate with a large existing codebase quickly and
efficiently, that would provide a robust framework
for the testing of additional new features.
Boeing Defence Australia
© 2019 Maveryx srl.
All rights reserved.
“Maveryx’s unique innovative technology made the tool selection
task less difficult. Their technology, as opposed to other
established GUI automated test tools, promotes efficiency for a
start from scratch test automation solution on a legacy
application by not having to spend a long time developing an
object repository.”
BDA
Paul D. Ellis, Principal Software Engineer at
© 2019 Maveryx srl.
All rights reserved.
Nightly GUI automated test runs:
– Unit testing;
– Build Verification Testing;
Weekly collaborative automated test runs.
The code-base is instrumented for memory error
detection and code coverage.
Maveryx is used to drive the execution paths of the
instrumented executables and libraries.
DBA Environment
© 2019 Maveryx srl.
All rights reserved.
Thank you

More Related Content

PDF
DevOps_Automation White Paper
PDF
A day in the life with devops automation
PPTX
Going Scriptless: Implementing Model-Based Test Automation in a Large Enterpr...
PDF
IoT Software Testing Challenges: The IoT World Is Really Different
PDF
Continuous Quality: DevOps with Quality by Josh Eastman
PDF
Deliver Flawless Mobile Apps Faster with CI/CD & CT
PDF
DOES14 - Stephen Elliot - IDC - Delivering DevOps Business Metrics that Matter
PDF
Test What Matters Most
DevOps_Automation White Paper
A day in the life with devops automation
Going Scriptless: Implementing Model-Based Test Automation in a Large Enterpr...
IoT Software Testing Challenges: The IoT World Is Really Different
Continuous Quality: DevOps with Quality by Josh Eastman
Deliver Flawless Mobile Apps Faster with CI/CD & CT
DOES14 - Stephen Elliot - IDC - Delivering DevOps Business Metrics that Matter
Test What Matters Most

What's hot (20)

PDF
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
PDF
Software Quality as a Competitive Differentiator
PDF
Instill a DevOps Testing Culture in Your Team and Organization
PPT
Susan windsor soft test 16th november 2005
PDF
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
PPTX
Continuous testing webinar 041017 slideshare
PDF
DevOps the Big Picture for Testers by Joseph Ours
PDF
Software Quality as a Competitive Differentiator
PDF
Better Software East 2016: Evolving Automated to Continuous
PDF
ABC's of Service Virtualization
PDF
Testing a Microservices Architecture
PPTX
Maturing your path toward DevOps with Continuous Testing
PDF
Is BDD Worth It? Considerations for Advanced Test Automation
PDF
Testing in a Continuous Delivery Pipeline: Faster, Better, Cheaper
PPTX
Model-Based Testing for Cypress
PDF
Testing in an Agile World: The Current State and Future Possibilities
PDF
Accelerate Agile Development with Service Virtualization - Czech Test
PDF
Ten10 Seminar: Test Automation, Tooling and the Future (slides)
PDF
10 Steps To Secure Agile Development
PDF
10 Things You Might Not Know: Continuous Integration
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Software Quality as a Competitive Differentiator
Instill a DevOps Testing Culture in Your Team and Organization
Susan windsor soft test 16th november 2005
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
Continuous testing webinar 041017 slideshare
DevOps the Big Picture for Testers by Joseph Ours
Software Quality as a Competitive Differentiator
Better Software East 2016: Evolving Automated to Continuous
ABC's of Service Virtualization
Testing a Microservices Architecture
Maturing your path toward DevOps with Continuous Testing
Is BDD Worth It? Considerations for Advanced Test Automation
Testing in a Continuous Delivery Pipeline: Faster, Better, Cheaper
Model-Based Testing for Cypress
Testing in an Agile World: The Current State and Future Possibilities
Accelerate Agile Development with Service Virtualization - Czech Test
Ten10 Seminar: Test Automation, Tooling and the Future (slides)
10 Steps To Secure Agile Development
10 Things You Might Not Know: Continuous Integration
Ad

Similar to Stf 2019 workshop - enhanced test automation for web and desktop apps (20)

PDF
Codeless Web testing: a keyword-driven example with Excel
PDF
Maveryx presentation
PDF
Keywords-driven testing vs Scripted automation
PDF
Testing Java applications with Maveryx
PDF
How to easily design and automate test cases.pdf
PDF
Data Driven Testing
PDF
Testing Android applications with Maveryx
PDF
User Interface Testing. What is UI Testing and Why it is so important?
PDF
Keyword Driven Testing
PDF
Web testing
PPTX
Automated testing web application
PDF
Improving ROI with Scriptless Test Automation
PDF
Exploring No Mans Land with Keyword-Driven Testing
PDF
Automated software testing complete guide
PPT
FT 2009 Highspeed Test Automation
PPT
Finance & Testing 2009 Highspeed Testautomation
PDF
Test automation
PDF
Mastering Software Test Automation: A Comprehensive Guide for Beginners and E...
PPTX
Automation testing
PPT
Testing Frameworks
Codeless Web testing: a keyword-driven example with Excel
Maveryx presentation
Keywords-driven testing vs Scripted automation
Testing Java applications with Maveryx
How to easily design and automate test cases.pdf
Data Driven Testing
Testing Android applications with Maveryx
User Interface Testing. What is UI Testing and Why it is so important?
Keyword Driven Testing
Web testing
Automated testing web application
Improving ROI with Scriptless Test Automation
Exploring No Mans Land with Keyword-Driven Testing
Automated software testing complete guide
FT 2009 Highspeed Test Automation
Finance & Testing 2009 Highspeed Testautomation
Test automation
Mastering Software Test Automation: A Comprehensive Guide for Beginners and E...
Automation testing
Testing Frameworks
Ad

Recently uploaded (20)

PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
medical staffing services at VALiNTRY
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
history of c programming in notes for students .pptx
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PDF
System and Network Administration Chapter 2
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
PTS Company Brochure 2025 (1).pdf.......
How to Choose the Right IT Partner for Your Business in Malaysia
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
medical staffing services at VALiNTRY
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
history of c programming in notes for students .pptx
How to Migrate SBCGlobal Email to Yahoo Easily
Design an Analysis of Algorithms I-SECS-1021-03
Nekopoi APK 2025 free lastest update
System and Network Administration Chapter 2
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Wondershare Filmora 15 Crack With Activation Key [2025
Odoo Companies in India – Driving Business Transformation.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
VVF-Customer-Presentation2025-Ver1.9.pptx
Odoo POS Development Services by CandidRoot Solutions
PTS Company Brochure 2025 (1).pdf.......

Stf 2019 workshop - enhanced test automation for web and desktop apps

  • 1. © 2019 Maveryx srl. All rights reserved. Enhanced test automation for Web and Desktop apps Software Testing Forum 2019 Alfonso Nocella
  • 2. © 2019 Maveryx srl. All rights reserved. Maveryx is the Italian testing automation company that provides one of the most advanced testing automation solution worldwide. Introduction Today • 14 Released Versions • 25K Downloads • 40K Contacts 2009 Open Source 2010 1° Release 2012 Become a Company 2013 ATI Innovation Award 2015 Trading with World Leader Company
  • 3. © 2019 Maveryx srl. All rights reserved. • Creating and maintaining test artefacts (maps, objects repositories, recordings, etc…): huge cost in terms of time and effort; • Instrumenting the AUT (Application Under Test) code • AUTs in different technologies need different tools Challenges (1)
  • 4. © 2019 Maveryx srl. All rights reserved. Does automation necessarily be complicated and expensive? The Application Under Test is required to start developing tests Start late, finish later! 50% Time • Acquisition €2K-16K • Know-how €10K-25K • Maintenance cost unpredictable Costs reduction is hard to achieve Cost Automation does not replace completely manual testing Useless activities instead of increasing functional coverage Quality Challenges (2)
  • 5. © 2019 Maveryx srl. All rights reserved. The Idea A technology able to operate as a person – no artefact – no code instrumentation – no programming skills. A technology able to test AUTs from design – no matter the development technology – no matter the execution environment
  • 6. © 2019 Maveryx srl. All rights reserved. Robot System Under Observation Viewer ModelController Decision Support System Data Commands The Technology
  • 7. © 2019 Maveryx srl. All rights reserved. The Maveryx Test Automation Framework innovates automated testing for:  Functional Testing  Regression Testing  Keyword-Driven Testing  Data-Driven Testing  Continuous Integration The Framework
  • 8. © 2019 Maveryx srl. All rights reserved.  No GUI Maps or Object Repositories  No pre-recording or UI element capture  No AUT code instrumentation  No programming skills needed  Recognition of objects in the User Interface by Images Inspection «On-The-Fly»
  • 9. © 2019 Maveryx srl. All rights reserved.  Inspection & recognition at runtime  One script to test them all  Testers will be testers  Multi-Platform The Framework is an expert tool operating as a senior human tester So innovative ?!
  • 10. © 2019 Maveryx srl. All rights reserved. A Case Study Functional Requirements Prototype Beta GA 1 9 18 27 36 Beta GA 45 Design Development Test Execution Test Development Design Development Test Record Test Development Test Execution With Maveryx Without
  • 11. © 2019 Maveryx srl. All rights reserved. Test automation runs in parallel with software development Short time-to-market: early start, earlier finish! Time Accuracy improved by: • test objects recognition • accommodating changes • error recovering Tests resilient to frequent changes Quality • Std. technologies • Easy to learn & use • No maintenance cost Reduced all the automation costs Cost Challanges won
  • 12. © 2019 Maveryx srl. All rights reserved.  Your team can save a lot of time that can be spent to increase test coverage  You can cut effort & costs of test creation & maintenance, releasing earlier  Everyone in your team can play a significant role Testers  No code, or learn and use complex XPath Locators, or Matchers, etc…  No effort to capture and maintain any Object Repository, GUI Map, etc…  Java & C# scripting, or Keywords & Blocks for non programmers Managers
  • 13. © 2019 Maveryx srl. All rights reserved. • Taking advantage of the coding skills; • Using constructs, statements, etc… • Using the OOP features (e.g. inheritance, polymorphism, recursion, etc… ); • Using design patterns; Test Scripting
  • 14. © 2019 Maveryx srl. All rights reserved. Scripting: Java Example
  • 15. © 2019 Maveryx srl. All rights reserved. Scripting: C# Example
  • 16. © 2019 Maveryx srl. All rights reserved. Scriptless Testing • No programming skills are needed; • Easy to learn and use; • Promotes an improved functional coverage; • Favours the participation of all the stakeholders;
  • 17. © 2019 Maveryx srl. All rights reserved. Test Case : 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “logged in” 6. Click “OK" button 7. Close the Application Scriptless: Excel Example
  • 18. © 2019 Maveryx srl. All rights reserved. Test Case : 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the label: “logged in” 6. Click “OK" button 7. Close the Application Scriptless: Blockly Example
  • 19. © 2019 Maveryx srl. All rights reserved. Data-Driven Testing allows writing the test cases as scripts those read their data from external files or db One script to drive the tests and changing the data you can create any number of test cases Data-Driven Testing
  • 20. © 2019 Maveryx srl. All rights reserved. Extension plugin mechanism & interfaces to support custom controls to add new keyword (action) libraries API extension to create new Test API Add-ons
  • 21. © 2019 Maveryx srl. All rights reserved. Create and run a keyword-driven test 1. Create a new Maveryx Test Project 2. Write the test case 3. Run the test
  • 22. © 2019 Maveryx srl. All rights reserved. 1. Select File → New → Maveryx Test Project In the Maveryx Test Project window 1. enter the Project name (e.g. "PasswordDemoTest") 2. in the JRE section make sure that Java/JRE 8 or higher is selected 2. Click Finish Create New Test Project
  • 23. © 2019 Maveryx srl. All rights reserved. 1. Select File → New → Maveryx Test Class In the Maveryx Test Class window 1. enter a name for the Package (e.g. "com.maveryx.demo") 2. enter a Name for the test class / script (e.g. “PasswordDemoTest”) 2. Click Finish Create New Test Script
  • 24. © 2019 Maveryx srl. All rights reserved. Set the full path (pathName) to the AUT launch file. e.g. private final String pathName = "C:/Maveryx/demo/AUT/PasswordDemo.xml"; The static method startApplication(pathName) in class Bootstrap launches the AUT The static method stop() in class Bootstrap closes the AUT. Test Script "stub"
  • 25. © 2019 Maveryx srl. All rights reserved. To execute a Java Application-Under-Test it is necessary to create the related AUT launch file. Java AUT Launch File
  • 26. © 2019 Maveryx srl. All rights reserved. To execute a MFC or .NET Application-Under-Test it is necessary to create the related AUT launch file. MFC & .Net AUT Launch File Set the absolute or relative path to your AUT executable file
  • 27. © 2019 Maveryx srl. All rights reserved. To execute a Web Application-Under-Test it is necessary to create the related AUT launch file. Web AUT Launch File Set the path of the browser you want to use for your tests Set the URL of the AUT
  • 28. © 2019 Maveryx srl. All rights reserved. Create and run a keyword-driven test 1. Create a new Maveryx Test Project 2. Write the test case 3. Run the test
  • 29. © 2019 Maveryx srl. All rights reserved. The Sample AUT
  • 30. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: Hi "username” 6. Click “OK" button 7. Close the Application Test Case #001
  • 31. © 2019 Maveryx srl. All rights reserved. 7. Close the AUT 6. Click “OK" button 5. Check the results 4. Click "Login" button 3. Enter Password 2. Enter username 1. Start the AUT Close Has_Text Click Set_Text Start Keywords Test Case Identify Keywords
  • 32. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “Hi alfonso” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description START AUT lauch file path Launch the AUT Design Test step 1
  • 33. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “Hi alfonso” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description SET_TEXT Text Set the text into a text field Design Test step 2 & 3
  • 34. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “Hi alfonso” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description CLICK Click the button Design Test step 4
  • 35. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “Hi alfonso” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description HAS_TEXT Text Check whether the given LABEL has the actual Text Design Test step 5
  • 36. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “logged in” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description CLICK Click the button Design Test step 6
  • 37. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: “logged in” 6. Click “OK" button 7. Close the Application Keyword Data / Input Description CLOSE Close the AUT Design Test step 7
  • 38. © 2019 Maveryx srl. All rights reserved. Create and run a keyword-driven test 1. Create a new Maveryx Test Project 2. Write the test case 3. Run the test
  • 39. © 2019 Maveryx srl. All rights reserved. a. Create a new object KeywordDrivenTestManager b. Call the method run() specifying the path of the Excel file Create the Driver Script
  • 40. © 2019 Maveryx srl. All rights reserved. 1. Click on the test class or package you want to run 2. Select File → Run As → JUnit Test Run a Test Script
  • 41. © 2019 Maveryx srl. All rights reserved. Alternatively By command line KeywordDrivenTestingCLI with the following arguments: For example: KeywordDrivenTestingCLI –o "C:Report" "C:Testtest001.xls" The test script C:Testtest001.xls is executed and the test report is stored in C:Report Or: KeywordDrivenTestingCLI –o "C:Report" –e "C:Testtest001.xls " "C:Test" All test scripts in C:Test (including subfolders) are executed except C:Testtest001.xls and the test report is stored in C:Report
  • 42. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Start the Application 2. Enter valid username 3. Enter valid Password 4. Click “Login” button 5. Check the results: Hi "username” 6. Click “OK" button 7. Close the Application Test Case #001
  • 43. © 2019 Maveryx srl. All rights reserved. 6. Click “OK" button 5. Check the label 4. Click "Login" button 3. Enter Password 1. Enter username Assert Button Text BlocksTest Case Identify Blocks Label SetText Action Click GetText
  • 44. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Enter valid username 2. Enter valid Password 3. Click “Login” button 4. Check label: “Hi Admin” 5. Click “OK" button Design Test step 2 & 3
  • 45. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Enter valid username 2. Enter valid Password 3. Click “Login” button 4. Check label: “Hi Admin” 5. Click “OK" button Design Test step 4
  • 46. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Enter valid username 2. Enter valid Password 3. Click “Login” button 4. Check label: “Hi Admin” 5. Click “OK" button Design Test step 5
  • 47. © 2019 Maveryx srl. All rights reserved. Test Case : TC_01 1. Enter valid username 2. Enter valid Password 3. Click “Login” button 4. Check label: “Hi Admin” 5. Click “OK" button Design Test step 6
  • 48. © 2019 Maveryx srl. All rights reserved. Customer Case
  • 49. © 2019 Maveryx srl. All rights reserved. The team develops Mission Computing Software for an airborne command and control platform. • This project was the major mid-life upgrade and the team wanted to introduce automated testing. • The challenge was to find a tool that it could integrate with a large existing codebase quickly and efficiently, that would provide a robust framework for the testing of additional new features. Boeing Defence Australia
  • 50. © 2019 Maveryx srl. All rights reserved. “Maveryx’s unique innovative technology made the tool selection task less difficult. Their technology, as opposed to other established GUI automated test tools, promotes efficiency for a start from scratch test automation solution on a legacy application by not having to spend a long time developing an object repository.” BDA Paul D. Ellis, Principal Software Engineer at
  • 51. © 2019 Maveryx srl. All rights reserved. Nightly GUI automated test runs: – Unit testing; – Build Verification Testing; Weekly collaborative automated test runs. The code-base is instrumented for memory error detection and code coverage. Maveryx is used to drive the execution paths of the instrumented executables and libraries. DBA Environment
  • 52. © 2019 Maveryx srl. All rights reserved. Thank you