SlideShare a Scribd company logo
© 2015 Maveryx srl.
All rights reserved.
Keyword-Driven Testing
What is Keyword-Driven Testing
How to Create Keyword-Driven Tests
Keyword-Driven Testing by examples
Overview
Definitions of Keyword-Driven Testing
Keyword-driven testing: A scripting technique that uses data files to
contain not only test data and expected results, but also keywords
related to the application being tested. The keywords are
interpreted by special supporting scripts that are called by the
control script for the test.
[ISTQB – Glossary Standard Glossary of Terms used in Software Testing Version 2.4]
Keyword-Driven Testing is a way of describing test cases by using a
predefined set of Keywords. These Keywords are names which are
associated with a set of actions that are required to perform a
specific step in a test case. By using keywords to describe test steps
instead of natural language, test cases can be easier to understand,
to maintain and to automate.
[ISO/IEC/IEEE 29119-5: Keyword-Driven Testing]
What is Keyword-Driven Testing
Keyword-driven testing, also known as table-driven testing or
action word based testing, is a software testing methodology
suitable for both manual and automated testing
The basic idea in Keyword-Driven Testing is to provide a set of
reusable “building blocks”, referred to as Keywords, which can be
used to create manual or automated test cases without requiring
detailed knowledge of programming or test tool expertise
Goals of Keyword-Driven Testing
The final goal of Keyword-Driven Testing is to provide a
comprehensive set of keywords so that all required test cases can
be entirely composed of these keywords
Keyword-Driven Testing
In Keyword-driven testing every
(testing) action like a mouse
click, keystrokes, opening or
closing a browser or other
actions is described by a
“keyword” such as Click,
TypeText, Select, OpenBrowser,
Login, …
The actions include interactions with the User Interface,
verification, specific actions to set up a test scenario …
What are Keywords
A keyword is a synonym of a “function” (in the context
of programming languages) doing “something”
A keyword is a defined combination of one or more
actions on a test object
Keywords define actions that drive or get information
“from – to” test objects
Keyword and Arguments
Keywords may or may not take arguments and may or
may not return a value
void TypeText <text> ⇒ e.g. TypeText “Hello World!”
void StopApplication <>
string GetText<>
void Login<UserName , Password> ⇒ e.g. Login “Joe”,
“21Joe74.”
Keywords
Keywords are usually characterized by:
an action-descriptive keyword name (using at least one verb)
none, one, or more arguments
a return value
at a lower level, each keyword is associated with a detailed set
of actions that describes the exact steps to be performed
for GUI applications, each keyword is associated with one (or
more) GUI objects
Hierarchy of Keywords
Keywords can refer to actions at different abstraction levels
Low level keyword : a keyword responsible only for one
(or very few) atomic actions and is not composed from
other keywords ⇒ e.g. Click, TypeText, Select, …
High level keyword : a keyword responsible for complex
activities, that may be composed from other keywords
⇒ e.g. OpenBrowser, Login, …
Keyword-Driven Test Cases
A keyword-driven test is a sequence of high level and low
level keywords, including the keyword arguments, as
applicable, which are composed to describe the actions
of a test case
Roles in Keyword-Driven Testing
Keyword-driven testing is a testing methodology that separates
the test creation process into design and implementation stages
It allows the involvement of additional professionals, e.g.
business analysts, in the test (automation) process
Business analysts / testers will only work with keywords and test data
Specialized test automation programmers will implement each of the
keywords
Keyword-Driven Automation
A test automation approach where test data and also keywords
instructing how to use the data are read from an external data
source
Each keyword needs to be associated with at least one command,
test script or function, which implement the actions associated
with that keyword
When test cases are executed keywords are interpreted by a test
library which is called by a test automation framework
Keyword-Driven Automation
Keyword-Driven Automation
A Keyword-Driven Testing framework for automated test
execution shall :
1. Parse the test case / file
2. Interpret the sequence of keywords.
For each keyword :
Call the respective command / script / function,
which execute the actions related with the
keyword
3. Provide execution results at the keyword level
Pros & Cons
Advantages of Keyword-driven testing /1
Test cases become clear and understandable
Concise, readable, maintainable (easy to modify) …
Tests can be developed without programming knowledge
Not dependent on a specific tool or programming language
Pros & Cons
Advantages of Keyword-driven testing /2
Tests can be developed earlier in the software development
life cycle even before the application is delivered for testing
by using existing keyword libraries
by defining new keywords
High degree of reusability
New test cases can reuse existing keywords
Pros & Cons
Disadvantages of Keyword-driven testing
High initial investment : developing the keywords and its related
functionalities might take longer
Personnel has to be trained to use keywords for test case
specification
Moderately high learning curve initially
Require knowledge of meta-languages
Pros & Cons
Disadvantages of Keyword-driven testing
Difficult to implement the framework
Significant upfront investment for the design and
implementation of the framework
High automation expertise required
Keyword limitations restrict the complexity of test cases
…
How to Create Keyword-Driven Tests
Major activities involved in Keyword driven Testing:
1. Identifying keywords (low level ⇒ high level)
2. Implementing the keywords as executables
3. Composing test cases
4. Creating the driver scripts
5. Executing the automation test scripts
The example application
The Test Tool – Maveryx
Maveryx is a
professional, test
automation tool for
functional and
regression testing of
Java™ & Android™
applications.
The Test Case
Test Case
1. Enter username
2. Enter Password
3. Click "Login" button
4. Check the results
5. Click “OK" button
Keyword-Driven Testing Step #1
1. Identifying keywords
2. Implementing the
keywords
3. Composing test cases
4. Creating the driver
scripts
5. Executing the
automation test scripts
Test Case
1. Enter username
2. Enter Password
3. Click "Login"
button
4. Check the results
5. Click “OK" button
Keyword
1. Set_Text
2. Click
3. Has_Text
Keyword-Driven Testing Step #2
1. Identifying keywords
2. Implementing the
keywords
3. Composing test cases
4. Creating the driver
scripts
5. Executing the
automation test scripts
Keyword-Driven Testing Step #3
1. Identifying keywords
2. Implementing the
keywords
3. Composing test cases
4. Creating the driver
scripts
5. Executing the
automation test scripts
Test Case
1. Enter username
2. Enter Password
3. Click "Login" button
4. Check the results
5. Click “OK" button
Anatomy of the test case
Keyword-Driven Testing Step #4
1. Identifying keywords
2. Implementing the
keywords
3. Composing test cases
4. Creating the driver
scripts
5. Executing the
automation test scripts
Keyword-Driven Testing Step #5
1. Identifying keywords
2. Implementing the
keywords
3. Composing test cases
4. Creating the driver
scripts
5. Executing the
automation test scripts
Keyword + Data Driven
${file path} {testdata name} {data id}
High Level Keywords
Keyword implementation
Lessons Learned
1. Keyword-Driven Testing is a software testing methodology
that uses keywords (or action words) to symbolize a
functionality to be tested
2. A keyword is defined as the set of actions that must be
performed during the execution of one or more test cases
Lessons Learned
3. Keywords can refer to actions at different abstraction levels
Low level keyword → High level keyword
4. With Maveryx you can separate much of the programming
work of test automation from the actual test design
© 2015 Maveryx srl.
All rights reserved.
About Maveryx…
Maveryx is a professional, award-winning test automation tool for
functional and regression testing of Java™ & Android™ applications.
Maveryx provides testers with automated testing capabilities for
functional, regression, GUI, Keyword-driven and keyword-driven
testing.
Maveryx
No GUI Maps
Intelligent Objects Recognition
Keyword-driven testing
Keyword-driven Testing
Assertion-based CheckPoints
Distributed testing
Single tool for Java & Android
Standard Test Logging
Built on Java & JUnit
Advanced Test API
Test Data Generation Tool
Extension plugins
Eclipse plugin
Android ADT plugin
…
Key Features
© 2014 Maveryx srl.
All rights reserved.
No GUI Maps
No Recording. No Object Spy.
No Object Maps. Nothing.
o No GUI MAP needed to create and run the test scripts
o No Object Repository to learn & maintain, maintain, maintain…
o No pre-recording or screen capture
o Independent of screen coordinates and resolutions
⇒ Test scripts immediately executable!
o A.I. Artificial Intelligence. Advanced Searching Algorithms to identify
UI objects directly at runtime during test execution, like humans do..
o Automatically accommodate UI changes without changing the scripts
o “Geolocation” of objects in the User Interface (TOP, BOTTOM, LEFT, RIGHT, UP,
DOWN, NEAR-TO …)
Intelligent Objects Recognition
© 2014 Maveryx srl.
All rights reserved.
TOP
BOTTOM
L
E
F
T
R
I
G
H
T
CENTER
o Code-free Keyword-driven Testing
o Keyword testing driven from Excel™ sheets and XML files
o No coding required ⇒ short time to implement test scripts
o Keyword-driven testing
o Dedicated scripting API for Keyword-driven testing
o Varying set of data sources : Excel™ sheets , CSV & XML files
Codeless Test Automation
© 2014 Maveryx srl.
All rights reserved.
© 2014 Maveryx srl.
All rights reserved.
“One Script” Technology
Write Once, Run Many. Maveryx allows
creating scripts that can be run without
modification against any Android apps,
as well as Java desktop applications on
all platforms.
o Tests can be executed on Android Virtual Devices (AVDs) or Real
Devices ⇒ No Rooting!
o devices connected to the local PC [via USB cable or Wi-Fi]
o devices connected remotely to a mobile device lab
o Support for all versions of Android
o Support for almost all UI Elements
o …
© 2014 Maveryx srl.
All rights reserved.
Mobile Testing
The industry like us
Winner.
© 2014 Maveryx srl.
All rights reserved.
Useful Links
o Maveryx – http://www.maveryx.com
o User guide – http://www.maveryx.com/en/support/learn-
more/user-documentation.html
o Forum – http://www.maveryx.com/en/forum/index.html
o Training – http://www.maveryx.com/en/services/training.html
Thank You!
• www.maveryx.com
• sales@maveryx.com
• info@maveryx.com
Ad

More Related Content

What's hot (20)

Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
Mikhail Subach
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
doai tran
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
Sun Technlogies
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
ikhwanhayat
 
Unit testing JavaScript: Jasmine & karma intro
Unit testing JavaScript: Jasmine & karma introUnit testing JavaScript: Jasmine & karma intro
Unit testing JavaScript: Jasmine & karma intro
Maurice De Beijer [MVP]
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
Maveryx
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru
 
Unit tests & TDD
Unit tests & TDDUnit tests & TDD
Unit tests & TDD
Dror Helper
 
Angular Unit Testing
Angular Unit TestingAngular Unit Testing
Angular Unit Testing
Shailendra Chauhan
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
Directi Group
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
Mesut Günes
 
Unit Testing vs Integration Testing
Unit Testing vs Integration TestingUnit Testing vs Integration Testing
Unit Testing vs Integration Testing
Rock Interview
 
Effective test coverage Techniques
Effective test coverage TechniquesEffective test coverage Techniques
Effective test coverage Techniques
Phanindra Kishore
 
Automation Testing Syllabus - Checklist
Automation Testing Syllabus - ChecklistAutomation Testing Syllabus - Checklist
Automation Testing Syllabus - Checklist
Sunil Kumar Gunasekaran
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
automation testing benefits
automation testing benefitsautomation testing benefits
automation testing benefits
nazeer pasha
 
Design Patterns.ppt
Design Patterns.pptDesign Patterns.ppt
Design Patterns.ppt
TanishaKochak
 
Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
Mikhail Subach
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
doai tran
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
ikhwanhayat
 
Unit testing JavaScript: Jasmine & karma intro
Unit testing JavaScript: Jasmine & karma introUnit testing JavaScript: Jasmine & karma intro
Unit testing JavaScript: Jasmine & karma intro
Maurice De Beijer [MVP]
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
Maveryx
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru
 
Unit tests & TDD
Unit tests & TDDUnit tests & TDD
Unit tests & TDD
Dror Helper
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
Directi Group
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
Mesut Günes
 
Unit Testing vs Integration Testing
Unit Testing vs Integration TestingUnit Testing vs Integration Testing
Unit Testing vs Integration Testing
Rock Interview
 
Effective test coverage Techniques
Effective test coverage TechniquesEffective test coverage Techniques
Effective test coverage Techniques
Phanindra Kishore
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
automation testing benefits
automation testing benefitsautomation testing benefits
automation testing benefits
nazeer pasha
 
Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 

Viewers also liked (20)

Testing Java applications with Maveryx
Testing Java applications with MaveryxTesting Java applications with Maveryx
Testing Java applications with Maveryx
Maveryx
 
Keyword driven testing
Keyword driven testingKeyword driven testing
Keyword driven testing
automated-testing.info
 
Understanding System and Architecture for Big Data
Understanding System and Architecture for Big DataUnderstanding System and Architecture for Big Data
Understanding System and Architecture for Big Data
IBM India Smarter Computing
 
Winrunner
WinrunnerWinrunner
Winrunner
akshayanvi
 
Service workers - Velocity 2016 Training
Service workers - Velocity 2016 TrainingService workers - Velocity 2016 Training
Service workers - Velocity 2016 Training
Patrick Meenan
 
Squish slidedeck 2016_Q2_V1
Squish slidedeck 2016_Q2_V1Squish slidedeck 2016_Q2_V1
Squish slidedeck 2016_Q2_V1
Amanda Burma
 
Squish slidedeck
Squish slidedeckSquish slidedeck
Squish slidedeck
Amanda Burma
 
froglogic Squish (Qt edition)
froglogic Squish (Qt edition)froglogic Squish (Qt edition)
froglogic Squish (Qt edition)
Amanda Burma
 
Automation Testing with TestComplete
Automation Testing with TestCompleteAutomation Testing with TestComplete
Automation Testing with TestComplete
RomSoft SRL
 
Script Driven Testing using TestComplete
Script Driven Testing using TestCompleteScript Driven Testing using TestComplete
Script Driven Testing using TestComplete
srivinayak
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
Testing The Keyword Method
Testing The Keyword MethodTesting The Keyword Method
Testing The Keyword Method
EmmaDyck
 
Test Complete
Test CompleteTest Complete
Test Complete
RomSoft SRL
 
Keyword Driven Testing using TestComplete
Keyword Driven Testing using TestCompleteKeyword Driven Testing using TestComplete
Keyword Driven Testing using TestComplete
srivinayak
 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
Better End-to-End Testing with Page Objects Model using Protractor
Better End-to-End Testing with Page Objects Model using ProtractorBetter End-to-End Testing with Page Objects Model using Protractor
Better End-to-End Testing with Page Objects Model using Protractor
Kasun Kodagoda
 
Sharing the pain using Protractor
Sharing the pain using ProtractorSharing the pain using Protractor
Sharing the pain using Protractor
Anand Bagmar
 
Test Data - Food for your Test Automation Framework
Test Data - Food for your Test Automation FrameworkTest Data - Food for your Test Automation Framework
Test Data - Food for your Test Automation Framework
Anand Bagmar
 
Protractor: Tips & Tricks
Protractor: Tips & TricksProtractor: Tips & Tricks
Protractor: Tips & Tricks
Sergey Bolshchikov
 
○○したら受託開発が180°変わった(10分版)
○○したら受託開発が180°変わった(10分版)○○したら受託開発が180°変わった(10分版)
○○したら受託開発が180°変わった(10分版)
Atsushi Harada
 
Testing Java applications with Maveryx
Testing Java applications with MaveryxTesting Java applications with Maveryx
Testing Java applications with Maveryx
Maveryx
 
Understanding System and Architecture for Big Data
Understanding System and Architecture for Big DataUnderstanding System and Architecture for Big Data
Understanding System and Architecture for Big Data
IBM India Smarter Computing
 
Service workers - Velocity 2016 Training
Service workers - Velocity 2016 TrainingService workers - Velocity 2016 Training
Service workers - Velocity 2016 Training
Patrick Meenan
 
Squish slidedeck 2016_Q2_V1
Squish slidedeck 2016_Q2_V1Squish slidedeck 2016_Q2_V1
Squish slidedeck 2016_Q2_V1
Amanda Burma
 
froglogic Squish (Qt edition)
froglogic Squish (Qt edition)froglogic Squish (Qt edition)
froglogic Squish (Qt edition)
Amanda Burma
 
Automation Testing with TestComplete
Automation Testing with TestCompleteAutomation Testing with TestComplete
Automation Testing with TestComplete
RomSoft SRL
 
Script Driven Testing using TestComplete
Script Driven Testing using TestCompleteScript Driven Testing using TestComplete
Script Driven Testing using TestComplete
srivinayak
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
Testing The Keyword Method
Testing The Keyword MethodTesting The Keyword Method
Testing The Keyword Method
EmmaDyck
 
Keyword Driven Testing using TestComplete
Keyword Driven Testing using TestCompleteKeyword Driven Testing using TestComplete
Keyword Driven Testing using TestComplete
srivinayak
 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
Better End-to-End Testing with Page Objects Model using Protractor
Better End-to-End Testing with Page Objects Model using ProtractorBetter End-to-End Testing with Page Objects Model using Protractor
Better End-to-End Testing with Page Objects Model using Protractor
Kasun Kodagoda
 
Sharing the pain using Protractor
Sharing the pain using ProtractorSharing the pain using Protractor
Sharing the pain using Protractor
Anand Bagmar
 
Test Data - Food for your Test Automation Framework
Test Data - Food for your Test Automation FrameworkTest Data - Food for your Test Automation Framework
Test Data - Food for your Test Automation Framework
Anand Bagmar
 
○○したら受託開発が180°変わった(10分版)
○○したら受託開発が180°変わった(10分版)○○したら受託開発が180°変わった(10分版)
○○したら受託開発が180°変わった(10分版)
Atsushi Harada
 
Ad

Similar to Keyword Driven Testing (20)

[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Software testing
Software testingSoftware testing
Software testing
KarnatiChandramoules
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
Giovanni Scerra ☃
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
Tester personas
Tester personasTester personas
Tester personas
Johan Hoberg
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Software Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsSoftware Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
QEdge Tech
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation Frameworks
Łukasz Morawski
 
manas expre-01
manas expre-01manas expre-01
manas expre-01
Manas Rout
 
Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
Globant
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
Harish MS
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
Clemens Reijnen
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testing
SwapnilNarayan
 
Your score increases as you pick a category, fill out a long description and ...
Your score increases as you pick a category, fill out a long description and ...Your score increases as you pick a category, fill out a long description and ...
Your score increases as you pick a category, fill out a long description and ...
SENTHILR44
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Testing frameworks
Testing frameworksTesting frameworks
Testing frameworks
Sakthi K
 
Smart acceptance GUI tests with Selenium
Smart acceptance GUI tests with SeleniumSmart acceptance GUI tests with Selenium
Smart acceptance GUI tests with Selenium
Denys Zaiats
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
Giovanni Scerra ☃
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Software Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails ApplicationsSoftware Quality and Test Strategies for Ruby and Rails Applications
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
QEdge Tech
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Testing Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation FrameworksTesting Experience - Evolution of Test Automation Frameworks
Testing Experience - Evolution of Test Automation Frameworks
Łukasz Morawski
 
manas expre-01
manas expre-01manas expre-01
manas expre-01
Manas Rout
 
Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
Globant
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
Harish MS
 
03 test specification and execution
03   test specification and execution03   test specification and execution
03 test specification and execution
Clemens Reijnen
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testing
SwapnilNarayan
 
Your score increases as you pick a category, fill out a long description and ...
Your score increases as you pick a category, fill out a long description and ...Your score increases as you pick a category, fill out a long description and ...
Your score increases as you pick a category, fill out a long description and ...
SENTHILR44
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Testing frameworks
Testing frameworksTesting frameworks
Testing frameworks
Sakthi K
 
Smart acceptance GUI tests with Selenium
Smart acceptance GUI tests with SeleniumSmart acceptance GUI tests with Selenium
Smart acceptance GUI tests with Selenium
Denys Zaiats
 
Ad

More from Maveryx (10)

How to easily design and automate test cases.pdf
How to easily design and automate test cases.pdfHow to easily design and automate test cases.pdf
How to easily design and automate test cases.pdf
Maveryx
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?
Maveryx
 
Testing Banking Applications. Here is a practical example
Testing Banking Applications. Here is a practical exampleTesting Banking Applications. Here is a practical example
Testing Banking Applications. Here is a practical example
Maveryx
 
Web testing
Web testingWeb testing
Web testing
Maveryx
 
Codeless Web testing: a keyword-driven example with Excel
Codeless Web testing: a keyword-driven example with ExcelCodeless Web testing: a keyword-driven example with Excel
Codeless Web testing: a keyword-driven example with Excel
Maveryx
 
Keywords-driven testing vs Scripted automation
Keywords-driven testing vs Scripted automationKeywords-driven testing vs Scripted automation
Keywords-driven testing vs Scripted automation
Maveryx
 
Stf 2019 workshop - enhanced test automation for web and desktop apps
Stf 2019   workshop - enhanced test automation for web and desktop appsStf 2019   workshop - enhanced test automation for web and desktop apps
Stf 2019 workshop - enhanced test automation for web and desktop apps
Maveryx
 
Maveryx presentation
Maveryx presentationMaveryx presentation
Maveryx presentation
Maveryx
 
Testing Android applications with Maveryx
Testing Android applications with MaveryxTesting Android applications with Maveryx
Testing Android applications with Maveryx
Maveryx
 
Maveryx - Product Presentation
Maveryx - Product PresentationMaveryx - Product Presentation
Maveryx - Product Presentation
Maveryx
 
How to easily design and automate test cases.pdf
How to easily design and automate test cases.pdfHow to easily design and automate test cases.pdf
How to easily design and automate test cases.pdf
Maveryx
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?
Maveryx
 
Testing Banking Applications. Here is a practical example
Testing Banking Applications. Here is a practical exampleTesting Banking Applications. Here is a practical example
Testing Banking Applications. Here is a practical example
Maveryx
 
Web testing
Web testingWeb testing
Web testing
Maveryx
 
Codeless Web testing: a keyword-driven example with Excel
Codeless Web testing: a keyword-driven example with ExcelCodeless Web testing: a keyword-driven example with Excel
Codeless Web testing: a keyword-driven example with Excel
Maveryx
 
Keywords-driven testing vs Scripted automation
Keywords-driven testing vs Scripted automationKeywords-driven testing vs Scripted automation
Keywords-driven testing vs Scripted automation
Maveryx
 
Stf 2019 workshop - enhanced test automation for web and desktop apps
Stf 2019   workshop - enhanced test automation for web and desktop appsStf 2019   workshop - enhanced test automation for web and desktop apps
Stf 2019 workshop - enhanced test automation for web and desktop apps
Maveryx
 
Maveryx presentation
Maveryx presentationMaveryx presentation
Maveryx presentation
Maveryx
 
Testing Android applications with Maveryx
Testing Android applications with MaveryxTesting Android applications with Maveryx
Testing Android applications with Maveryx
Maveryx
 
Maveryx - Product Presentation
Maveryx - Product PresentationMaveryx - Product Presentation
Maveryx - Product Presentation
Maveryx
 

Recently uploaded (20)

Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 

Keyword Driven Testing

  • 1. © 2015 Maveryx srl. All rights reserved. Keyword-Driven Testing
  • 2. What is Keyword-Driven Testing How to Create Keyword-Driven Tests Keyword-Driven Testing by examples Overview
  • 3. Definitions of Keyword-Driven Testing Keyword-driven testing: A scripting technique that uses data files to contain not only test data and expected results, but also keywords related to the application being tested. The keywords are interpreted by special supporting scripts that are called by the control script for the test. [ISTQB – Glossary Standard Glossary of Terms used in Software Testing Version 2.4] Keyword-Driven Testing is a way of describing test cases by using a predefined set of Keywords. These Keywords are names which are associated with a set of actions that are required to perform a specific step in a test case. By using keywords to describe test steps instead of natural language, test cases can be easier to understand, to maintain and to automate. [ISO/IEC/IEEE 29119-5: Keyword-Driven Testing]
  • 4. What is Keyword-Driven Testing Keyword-driven testing, also known as table-driven testing or action word based testing, is a software testing methodology suitable for both manual and automated testing The basic idea in Keyword-Driven Testing is to provide a set of reusable “building blocks”, referred to as Keywords, which can be used to create manual or automated test cases without requiring detailed knowledge of programming or test tool expertise
  • 5. Goals of Keyword-Driven Testing The final goal of Keyword-Driven Testing is to provide a comprehensive set of keywords so that all required test cases can be entirely composed of these keywords
  • 6. Keyword-Driven Testing In Keyword-driven testing every (testing) action like a mouse click, keystrokes, opening or closing a browser or other actions is described by a “keyword” such as Click, TypeText, Select, OpenBrowser, Login, … The actions include interactions with the User Interface, verification, specific actions to set up a test scenario …
  • 7. What are Keywords A keyword is a synonym of a “function” (in the context of programming languages) doing “something” A keyword is a defined combination of one or more actions on a test object Keywords define actions that drive or get information “from – to” test objects
  • 8. Keyword and Arguments Keywords may or may not take arguments and may or may not return a value void TypeText <text> ⇒ e.g. TypeText “Hello World!” void StopApplication <> string GetText<> void Login<UserName , Password> ⇒ e.g. Login “Joe”, “21Joe74.”
  • 9. Keywords Keywords are usually characterized by: an action-descriptive keyword name (using at least one verb) none, one, or more arguments a return value at a lower level, each keyword is associated with a detailed set of actions that describes the exact steps to be performed for GUI applications, each keyword is associated with one (or more) GUI objects
  • 10. Hierarchy of Keywords Keywords can refer to actions at different abstraction levels Low level keyword : a keyword responsible only for one (or very few) atomic actions and is not composed from other keywords ⇒ e.g. Click, TypeText, Select, … High level keyword : a keyword responsible for complex activities, that may be composed from other keywords ⇒ e.g. OpenBrowser, Login, …
  • 11. Keyword-Driven Test Cases A keyword-driven test is a sequence of high level and low level keywords, including the keyword arguments, as applicable, which are composed to describe the actions of a test case
  • 12. Roles in Keyword-Driven Testing Keyword-driven testing is a testing methodology that separates the test creation process into design and implementation stages It allows the involvement of additional professionals, e.g. business analysts, in the test (automation) process Business analysts / testers will only work with keywords and test data Specialized test automation programmers will implement each of the keywords
  • 13. Keyword-Driven Automation A test automation approach where test data and also keywords instructing how to use the data are read from an external data source Each keyword needs to be associated with at least one command, test script or function, which implement the actions associated with that keyword When test cases are executed keywords are interpreted by a test library which is called by a test automation framework
  • 15. Keyword-Driven Automation A Keyword-Driven Testing framework for automated test execution shall : 1. Parse the test case / file 2. Interpret the sequence of keywords. For each keyword : Call the respective command / script / function, which execute the actions related with the keyword 3. Provide execution results at the keyword level
  • 16. Pros & Cons Advantages of Keyword-driven testing /1 Test cases become clear and understandable Concise, readable, maintainable (easy to modify) … Tests can be developed without programming knowledge Not dependent on a specific tool or programming language
  • 17. Pros & Cons Advantages of Keyword-driven testing /2 Tests can be developed earlier in the software development life cycle even before the application is delivered for testing by using existing keyword libraries by defining new keywords High degree of reusability New test cases can reuse existing keywords
  • 18. Pros & Cons Disadvantages of Keyword-driven testing High initial investment : developing the keywords and its related functionalities might take longer Personnel has to be trained to use keywords for test case specification Moderately high learning curve initially Require knowledge of meta-languages
  • 19. Pros & Cons Disadvantages of Keyword-driven testing Difficult to implement the framework Significant upfront investment for the design and implementation of the framework High automation expertise required Keyword limitations restrict the complexity of test cases …
  • 20. How to Create Keyword-Driven Tests Major activities involved in Keyword driven Testing: 1. Identifying keywords (low level ⇒ high level) 2. Implementing the keywords as executables 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts
  • 22. The Test Tool – Maveryx Maveryx is a professional, test automation tool for functional and regression testing of Java™ & Android™ applications.
  • 23. The Test Case Test Case 1. Enter username 2. Enter Password 3. Click "Login" button 4. Check the results 5. Click “OK" button
  • 24. Keyword-Driven Testing Step #1 1. Identifying keywords 2. Implementing the keywords 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts Test Case 1. Enter username 2. Enter Password 3. Click "Login" button 4. Check the results 5. Click “OK" button Keyword 1. Set_Text 2. Click 3. Has_Text
  • 25. Keyword-Driven Testing Step #2 1. Identifying keywords 2. Implementing the keywords 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts
  • 26. Keyword-Driven Testing Step #3 1. Identifying keywords 2. Implementing the keywords 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts Test Case 1. Enter username 2. Enter Password 3. Click "Login" button 4. Check the results 5. Click “OK" button
  • 27. Anatomy of the test case
  • 28. Keyword-Driven Testing Step #4 1. Identifying keywords 2. Implementing the keywords 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts
  • 29. Keyword-Driven Testing Step #5 1. Identifying keywords 2. Implementing the keywords 3. Composing test cases 4. Creating the driver scripts 5. Executing the automation test scripts
  • 30. Keyword + Data Driven ${file path} {testdata name} {data id}
  • 31. High Level Keywords Keyword implementation
  • 32. Lessons Learned 1. Keyword-Driven Testing is a software testing methodology that uses keywords (or action words) to symbolize a functionality to be tested 2. A keyword is defined as the set of actions that must be performed during the execution of one or more test cases
  • 33. Lessons Learned 3. Keywords can refer to actions at different abstraction levels Low level keyword → High level keyword 4. With Maveryx you can separate much of the programming work of test automation from the actual test design
  • 34. © 2015 Maveryx srl. All rights reserved. About Maveryx…
  • 35. Maveryx is a professional, award-winning test automation tool for functional and regression testing of Java™ & Android™ applications. Maveryx provides testers with automated testing capabilities for functional, regression, GUI, Keyword-driven and keyword-driven testing. Maveryx
  • 36. No GUI Maps Intelligent Objects Recognition Keyword-driven testing Keyword-driven Testing Assertion-based CheckPoints Distributed testing Single tool for Java & Android Standard Test Logging Built on Java & JUnit Advanced Test API Test Data Generation Tool Extension plugins Eclipse plugin Android ADT plugin … Key Features © 2014 Maveryx srl. All rights reserved.
  • 37. No GUI Maps No Recording. No Object Spy. No Object Maps. Nothing. o No GUI MAP needed to create and run the test scripts o No Object Repository to learn & maintain, maintain, maintain… o No pre-recording or screen capture o Independent of screen coordinates and resolutions ⇒ Test scripts immediately executable!
  • 38. o A.I. Artificial Intelligence. Advanced Searching Algorithms to identify UI objects directly at runtime during test execution, like humans do.. o Automatically accommodate UI changes without changing the scripts o “Geolocation” of objects in the User Interface (TOP, BOTTOM, LEFT, RIGHT, UP, DOWN, NEAR-TO …) Intelligent Objects Recognition © 2014 Maveryx srl. All rights reserved. TOP BOTTOM L E F T R I G H T CENTER
  • 39. o Code-free Keyword-driven Testing o Keyword testing driven from Excel™ sheets and XML files o No coding required ⇒ short time to implement test scripts o Keyword-driven testing o Dedicated scripting API for Keyword-driven testing o Varying set of data sources : Excel™ sheets , CSV & XML files Codeless Test Automation © 2014 Maveryx srl. All rights reserved.
  • 40. © 2014 Maveryx srl. All rights reserved. “One Script” Technology Write Once, Run Many. Maveryx allows creating scripts that can be run without modification against any Android apps, as well as Java desktop applications on all platforms.
  • 41. o Tests can be executed on Android Virtual Devices (AVDs) or Real Devices ⇒ No Rooting! o devices connected to the local PC [via USB cable or Wi-Fi] o devices connected remotely to a mobile device lab o Support for all versions of Android o Support for almost all UI Elements o … © 2014 Maveryx srl. All rights reserved. Mobile Testing
  • 42. The industry like us Winner. © 2014 Maveryx srl. All rights reserved.
  • 43. Useful Links o Maveryx – http://www.maveryx.com o User guide – http://www.maveryx.com/en/support/learn- more/user-documentation.html o Forum – http://www.maveryx.com/en/forum/index.html o Training – http://www.maveryx.com/en/services/training.html