SlideShare a Scribd company logo
1 of 30
Download to read offline
© 2020 Maveryx srl.
All rights reserved.
Codeless Web testing:
a keyword-driven example
with Excel
Alfonso Nocella
© 2020 Maveryx srl.
All rights reserved.
Summary
• Benefits;
• Limits;
• Challenges;
• The Idea;
• A Keywords-driven Example;
© 2020 Maveryx srl.
All rights reserved.
Saving Time: less time to execute tests and improved
communication with other departments
Reducing Costs: fewer resources are spent on testing
Improving Functional Coverage: using saved time to
improve test coverage
Faster Time to Market
Benefits (1)
© 2020 Maveryx srl.
All rights reserved.
Reusability of Test Suite: once you have defined your
suite, it’s very straightforward to reuse tests
Improved Accuracy: automated tests produce the same
result every time
Faster Feedback Cycle: without automation, feedback
for newly developed features can take a while
Less Stress on QA Team
Benefits (2)
© 2020 Maveryx srl.
All rights reserved.
GUI ID are not fixed or consistent: missing GUI element
IDs, IDs dynamically updated and in general frequent
changes in ID are quite common
Dynamic Contents: GUI or content of the application
changes too frequently resulting in changes of locators
and thus failures of the scripts
Compatibility issues: when executing test scripts in
different browsers.
Limits (1)
© 2020 Maveryx srl.
All rights reserved.
Synchronization Issues: many times elements take
time to load because of the application structure,
network bandwidth, etc. If web elements are not
founded timely during script execution, the test fails
How much to Automate: automating everything can
become a pain later in maintenance and execution
Learning curve: test automation tool know how and
programming skillset of the team
Limits (2)
© 2020 Maveryx srl.
All rights reserved.
Following we will challenge some of those limits:
• GUI ID are not fixed or consistent and Dynamic
Contents are typically challenged by creating and
mantaining maps, object repositories, etc, or by
Instrumenting the AUT code
• Compatibility issues are generally challenged by
creating and maintaing different test suite or test data
sources
Challenges (1)
© 2020 Maveryx srl.
All rights reserved.
• How much to Automate: to reduce maintenance very
often some functionality have to be tested non
automatically or not 100% automatically
• Learning curve: generally to reduce the know how time
acquisition and involve all the tester team, even non
programmers, generally a record and playback
approach is preferred to other, introducing statical
artefacts
Challenges (2)
© 2020 Maveryx srl.
All rights reserved.
• Creating and maintaining test artefacts (maps, objects
repositories, recordings, etc…)
• Instrumenting the AUT (Application Under Test) code
• AUTs in different technologies and different browsers
Challenges (3)
© 2020 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
© 2020 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»
© 2020 Maveryx srl.
All rights reserved.
Codeless Testing
• No programming skills are needed;
• Easy to learn and use;
• Promotes an improved functional coverage;
• Favours the participation of all the stakeholders;
© 2020 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
© 2020 Maveryx srl.
All rights reserved.
Create and run a keyword-driven test
1. Create a Maveryx Web AUT Launch File
2. Write the test case
3. Run the test
© 2020 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
© 2020 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
© 2020 Maveryx srl.
All rights reserved.
The Sample AUT
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 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
© 2020 Maveryx srl.
All rights reserved.
Thank you
alfonso.nocella@maveryx.com

More Related Content

Similar to Codeless Web testing: a keyword-driven example with Excel

Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerQA or the Highway
 
End the Guesswork: How to Test the Right Devices, Platforms & User Conditions
End the Guesswork: How to Test the Right Devices, Platforms & User ConditionsEnd the Guesswork: How to Test the Right Devices, Platforms & User Conditions
End the Guesswork: How to Test the Right Devices, Platforms & User ConditionsPerfecto by Perforce
 
Mobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest TeamsMobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest TeamsPerfecto by Perforce
 
Model-Based Testing for ALM Octane: Better tests, built faster
Model-Based Testing for ALM Octane: Better tests, built faster Model-Based Testing for ALM Octane: Better tests, built faster
Model-Based Testing for ALM Octane: Better tests, built faster Curiosity Software Ireland
 
Curiosity and Testery Present: Hitting the right test coverage for CI/CD
Curiosity and Testery Present: Hitting the right test coverage for CI/CDCuriosity and Testery Present: Hitting the right test coverage for CI/CD
Curiosity and Testery Present: Hitting the right test coverage for CI/CDCuriosity Software Ireland
 
IDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxIDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxwilcockiris
 
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity Software Ireland
 
5WCSQ - Quality Improvement by the Real-Time Detection of the Problems
5WCSQ - Quality Improvement by the Real-Time Detection of the Problems5WCSQ - Quality Improvement by the Real-Time Detection of the Problems
5WCSQ - Quality Improvement by the Real-Time Detection of the ProblemsTakanori Suzuki
 
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.pdfMaveryx
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCodecamp Romania
 
Sydney mule soft meetup 30 april 2020
Sydney mule soft meetup   30 april 2020Sydney mule soft meetup   30 april 2020
Sydney mule soft meetup 30 april 2020Royston Lobo
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureRik Marselis
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarPerfecto by Perforce
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal Technology Solutions
 
Creative Automation with Galen Framework
Creative Automation with Galen FrameworkCreative Automation with Galen Framework
Creative Automation with Galen Framework'Ashmeet Sehgal'
 

Similar to Codeless Web testing: a keyword-driven example with Excel (20)

Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
End the Guesswork: How to Test the Right Devices, Platforms & User Conditions
End the Guesswork: How to Test the Right Devices, Platforms & User ConditionsEnd the Guesswork: How to Test the Right Devices, Platforms & User Conditions
End the Guesswork: How to Test the Right Devices, Platforms & User Conditions
 
Mobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest TeamsMobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest Teams
 
Model-Based Testing for ALM Octane: Better tests, built faster
Model-Based Testing for ALM Octane: Better tests, built faster Model-Based Testing for ALM Octane: Better tests, built faster
Model-Based Testing for ALM Octane: Better tests, built faster
 
Curiosity and Testery Present: Hitting the right test coverage for CI/CD
Curiosity and Testery Present: Hitting the right test coverage for CI/CDCuriosity and Testery Present: Hitting the right test coverage for CI/CD
Curiosity and Testery Present: Hitting the right test coverage for CI/CD
 
IDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxIDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docx
 
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
Curiosity software Ireland and Perfecto present: achieving in-sprint regressi...
 
5WCSQ - Quality Improvement by the Real-Time Detection of the Problems
5WCSQ - Quality Improvement by the Real-Time Detection of the Problems5WCSQ - Quality Improvement by the Real-Time Detection of the Problems
5WCSQ - Quality Improvement by the Real-Time Detection of the Problems
 
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
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditech
 
Test Policy and Practices
Test Policy and PracticesTest Policy and Practices
Test Policy and Practices
 
Model-Based Testing for Cypress
Model-Based Testing for CypressModel-Based Testing for Cypress
Model-Based Testing for Cypress
 
Sydney mule soft meetup 30 april 2020
Sydney mule soft meetup   30 april 2020Sydney mule soft meetup   30 april 2020
Sydney mule soft meetup 30 april 2020
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Creative Automation with Galen Framework
Creative Automation with Galen FrameworkCreative Automation with Galen Framework
Creative Automation with Galen Framework
 
Agile testing
Agile testingAgile testing
Agile testing
 

More from 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 exampleMaveryx
 
Web testing
Web testingWeb testing
Web testingMaveryx
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven TestingMaveryx
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven TestingMaveryx
 
Testing Android applications with Maveryx
Testing Android applications with MaveryxTesting Android applications with Maveryx
Testing Android applications with MaveryxMaveryx
 
Testing Java applications with Maveryx
Testing Java applications with MaveryxTesting Java applications with Maveryx
Testing Java applications with MaveryxMaveryx
 
Maveryx - Product Presentation
Maveryx - Product PresentationMaveryx - Product Presentation
Maveryx - Product PresentationMaveryx
 

More from Maveryx (7)

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
 
Web testing
Web testingWeb testing
Web testing
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
 
Testing Android applications with Maveryx
Testing Android applications with MaveryxTesting Android applications with Maveryx
Testing Android applications with Maveryx
 
Testing Java applications with Maveryx
Testing Java applications with MaveryxTesting Java applications with Maveryx
Testing Java applications with Maveryx
 
Maveryx - Product Presentation
Maveryx - Product PresentationMaveryx - Product Presentation
Maveryx - Product Presentation
 

Recently uploaded

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 

Recently uploaded (20)

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 

Codeless Web testing: a keyword-driven example with Excel

  • 1. © 2020 Maveryx srl. All rights reserved. Codeless Web testing: a keyword-driven example with Excel Alfonso Nocella
  • 2. © 2020 Maveryx srl. All rights reserved. Summary • Benefits; • Limits; • Challenges; • The Idea; • A Keywords-driven Example;
  • 3. © 2020 Maveryx srl. All rights reserved. Saving Time: less time to execute tests and improved communication with other departments Reducing Costs: fewer resources are spent on testing Improving Functional Coverage: using saved time to improve test coverage Faster Time to Market Benefits (1)
  • 4. © 2020 Maveryx srl. All rights reserved. Reusability of Test Suite: once you have defined your suite, it’s very straightforward to reuse tests Improved Accuracy: automated tests produce the same result every time Faster Feedback Cycle: without automation, feedback for newly developed features can take a while Less Stress on QA Team Benefits (2)
  • 5. © 2020 Maveryx srl. All rights reserved. GUI ID are not fixed or consistent: missing GUI element IDs, IDs dynamically updated and in general frequent changes in ID are quite common Dynamic Contents: GUI or content of the application changes too frequently resulting in changes of locators and thus failures of the scripts Compatibility issues: when executing test scripts in different browsers. Limits (1)
  • 6. © 2020 Maveryx srl. All rights reserved. Synchronization Issues: many times elements take time to load because of the application structure, network bandwidth, etc. If web elements are not founded timely during script execution, the test fails How much to Automate: automating everything can become a pain later in maintenance and execution Learning curve: test automation tool know how and programming skillset of the team Limits (2)
  • 7. © 2020 Maveryx srl. All rights reserved. Following we will challenge some of those limits: • GUI ID are not fixed or consistent and Dynamic Contents are typically challenged by creating and mantaining maps, object repositories, etc, or by Instrumenting the AUT code • Compatibility issues are generally challenged by creating and maintaing different test suite or test data sources Challenges (1)
  • 8. © 2020 Maveryx srl. All rights reserved. • How much to Automate: to reduce maintenance very often some functionality have to be tested non automatically or not 100% automatically • Learning curve: generally to reduce the know how time acquisition and involve all the tester team, even non programmers, generally a record and playback approach is preferred to other, introducing statical artefacts Challenges (2)
  • 9. © 2020 Maveryx srl. All rights reserved. • Creating and maintaining test artefacts (maps, objects repositories, recordings, etc…) • Instrumenting the AUT (Application Under Test) code • AUTs in different technologies and different browsers Challenges (3)
  • 10. © 2020 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
  • 11. © 2020 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»
  • 12. © 2020 Maveryx srl. All rights reserved. Codeless Testing • No programming skills are needed; • Easy to learn and use; • Promotes an improved functional coverage; • Favours the participation of all the stakeholders;
  • 13. © 2020 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
  • 14. © 2020 Maveryx srl. All rights reserved. Create and run a keyword-driven test 1. Create a Maveryx Web AUT Launch File 2. Write the test case 3. Run the test
  • 15. © 2020 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
  • 16. © 2020 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
  • 17. © 2020 Maveryx srl. All rights reserved. The Sample AUT
  • 18. © 2020 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
  • 19. © 2020 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
  • 20. © 2020 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
  • 21. © 2020 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
  • 22. © 2020 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
  • 23. © 2020 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
  • 24. © 2020 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
  • 25. © 2020 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
  • 26. © 2020 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
  • 27. © 2020 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
  • 28. © 2020 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
  • 29. © 2020 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
  • 30. © 2020 Maveryx srl. All rights reserved. Thank you alfonso.nocella@maveryx.com