SlideShare una empresa de Scribd logo
1 de 12
Automating the Test Execution
1 Mobile World 2 Test Types 3 Test Process
Software Testing - ISTQB Specialist
Mobile Application Tester Exam Preparation
Chapter 5
Neeraj Kumar Singh
4 Platforms,
Tools & Environment
5 Automating
Executions
Automating the Test Execution
Contents
5.1 Automation Approaches
5.2 Automation Methods
5.3 Automation Tools Evaluation
5.4 Approaches for setting up an
Automation Test Lab
Neeraj Kumar Singh
Various automation approaches and frameworks exist that can be used in mobile application testing. The choice of
approach will partly be determined by the type of application.
Two common test automation approaches used are:
 User-agent based testing
 Device-based testing
User-agent based testing utilizes the user-agent identifier string sent by the browser to spoof a particular browser on a
particular device. This approach can be used for executing mobile web applications. Device-based testing on the other
hand involves running the application under test directly on the device. This approach can be used for all types of
mobile applications.
The application type can also determine the test automation framework that would be suitable for that application.
Mobile web can be tested using the usual web application automation tools on the desktop, whilst native apps might
need specific tools. Platform providers may also provide automation tools dedicated for the platform.
Neeraj Kumar Singh
Automating the Test Execution
Automation Approaches
Automation approaches used for conventional applications are often applicable to mobile applications as well. These
include capture/playback, data-driven, keyword-driven and behavior-driven testing.
Key capabilities that a mobile application testing framework should typically include are:
 Object identification
 Object operations
 Test reports
 Application programming interfaces and extendable capabilities
 Adequate documentation
 Integrations with other tools
 Independent of test development practice
Neeraj Kumar Singh
Automating the Test Execution
Automation Approaches
Automating the Test Execution
Contents
5.1 Automation Approaches
5.2 Automation Methods
5.3 Automation Tools Evaluation
5.4 Approaches for setting up an
Automation Test Lab
Neeraj Kumar Singh
To develop automated tests, the tester needs to understand the automation script recording or creation mechanism,
and how to access and interact with the application's graphical objects such as buttons, list boxes, and input fields.
Several methods exist for identifying a graphical object used for the mobile test automation. These include image
recognition, OCR/text recognition, and object recognition (web or native, depending on the app type).
A Mobile Application Tester needs to not only practice the graphical object detection and identification, but also to
understand which object identification method will be the most capable in enabling successful tests to be run on a
large variety of mobile devices, in parallel and continuously.
Neeraj Kumar Singh
Automating the Test Execution
Automation Methods
Key differences between the script creation methods are:
Neeraj Kumar Singh
Automating the Test Execution
Automation Methods
Automating the Test Execution
Contents
5.1 Automation Approaches
5.2 Automation Methods
5.3 Automation Tools Evaluation
5.4 Approaches for setting up an
Automation Test Lab
Neeraj Kumar Singh
To be successful in creating test automation solutions, the test automation teams need to choose an appropriate set of tools.
Understanding the key differences of the available tools and their suitability for the project requirements needs to be
considered.
The evaluation parameters for test automation tools can be broken into two categories:
 Organizational fit
 Technical fit
Organizational fit parameters.
Technical fit parameters include the following:
 Test automation requirements and complexities such as the use of new features like FaceID, fingerprint and chatbots by
the app.
 Test environment requirements, such as varying network conditions, import or creating test data, and server-side
virtualization.
 Test reporting and feedback loop capabilities.
 The ability of the framework to manage and drive execution on a large scale either locally or in a test lab in the cloud.
 Integration of the test framework with other tools used in the organization.
 Support and documentation availability for current and future upgrades.
Neeraj Kumar Singh
Automating the Test Execution
Automation Tools Evaluation
Automating the Test Execution
Contents
5.1 Automation Approaches
5.2 Automation Methods
5.3 Automation Tools Evaluation
5.4 Approaches for setting up an
Automation Test Lab
Neeraj Kumar Singh
When performing mobile application testing, developers and testers have choices around the device test lab they
would use to target their test automation against.
 On-premise device test lab
 Remote device test lab
Various combinations of these approaches can be applied.
On-premise device test labs are generally difficult and time consuming to maintain. Having devices locally in parallel
with emulators and simulators would best serve the early development and testing phases of the mobile app.
Neeraj Kumar Singh
Automating the Test Execution
Approaches for Setting up an Automation Test Lab
When reaching a more advanced stage of the app development, teams need to perform full regression test, functional
tests, and non-functional tests. These tests are best executed on a full device lab. This is where a remote device test
lab is managed, continuously updated, and maintained in the cloud. Such remote device test labs complement an on-
premise device test lab and ensure that sufficient combinations of device and operating system are available and up to
date. By making use of commonly available remote device test labs, teams get access to a larger set of supported
capabilities including richer test reports and advanced test automation capabilities.
Lastly, when executing at scale through a test automation framework or through a continuous integration job (CI),
stability of the overall test lab is key for test efficiency and reliability. Such labs are typically designed to ensure that
devices and operating systems are always available and stable.
Remote device test labs are not always necessary in the later development stages of the app. Well designed and
maintained on-premise device test labs can be as good as or better than any remote device test lab.
Neeraj Kumar Singh
Automating the Test Execution
Approaches for Setting up an Automation Test Lab

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Chapter 2 - White Box Test Techniques
Chapter 2 - White Box Test TechniquesChapter 2 - White Box Test Techniques
Chapter 2 - White Box Test Techniques
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Chapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationChapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test Automation
 
Chapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentChapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation Environment
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycle
 
Chapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesChapter 3 - Analytical Techniques
Chapter 3 - Analytical Techniques
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
 

Similar a Chapter 5 - Automating the Test Execution

Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
Sundar Sritharan
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
QA Programmer
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Own
Gopi Raghavendra
 

Similar a Chapter 5 - Automating the Test Execution (20)

Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Unit 5 st ppt
Unit 5 st pptUnit 5 st ppt
Unit 5 st ppt
 
A Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdfA Comparative Guide to Automation and Manual Testing.pdf
A Comparative Guide to Automation and Manual Testing.pdf
 
Web Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdfWeb Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdf
 
A Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdfA Complete Guide to Rapid Automation Testing.pdf
A Complete Guide to Rapid Automation Testing.pdf
 
Automated software testing complete guide
Automated software testing complete guideAutomated software testing complete guide
Automated software testing complete guide
 
Software testing
Software testingSoftware testing
Software testing
 
Step by-step mobile testing approaches and strategies
Step by-step mobile testing approaches and strategiesStep by-step mobile testing approaches and strategies
Step by-step mobile testing approaches and strategies
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
Test Automation Assessment Checklist.pdf
Test Automation Assessment Checklist.pdfTest Automation Assessment Checklist.pdf
Test Automation Assessment Checklist.pdf
 
Mobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.pptMobile Testing Service Desk_Own.ppt
Mobile Testing Service Desk_Own.ppt
 
Automated Front End Testing_ Navigating Types and Tools for Optimal Web Devel...
Automated Front End Testing_ Navigating Types and Tools for Optimal Web Devel...Automated Front End Testing_ Navigating Types and Tools for Optimal Web Devel...
Automated Front End Testing_ Navigating Types and Tools for Optimal Web Devel...
 
manual & automation testing
manual & automation testingmanual & automation testing
manual & automation testing
 
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
 
Selecting the Right Mobile Test Automation Strategy: Challenges and Principles
Selecting the Right Mobile Test Automation Strategy: Challenges and PrinciplesSelecting the Right Mobile Test Automation Strategy: Challenges and Principles
Selecting the Right Mobile Test Automation Strategy: Challenges and Principles
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
 
Benefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdfBenefits And Challenges of Rapid Automation Testing.pdf
Benefits And Challenges of Rapid Automation Testing.pdf
 
Navigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdfNavigating Automated Testing_ Avoiding Common Pitfalls.pdf
Navigating Automated Testing_ Avoiding Common Pitfalls.pdf
 
BOOST YOUR WEBSITE WITH TOP STRATEGIES TOOLS FOR WEB APP TESTING.pdf
BOOST YOUR WEBSITE WITH TOP STRATEGIES TOOLS FOR WEB APP TESTING.pdfBOOST YOUR WEBSITE WITH TOP STRATEGIES TOOLS FOR WEB APP TESTING.pdf
BOOST YOUR WEBSITE WITH TOP STRATEGIES TOOLS FOR WEB APP TESTING.pdf
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Own
 

Más de Neeraj Kumar Singh

Más de Neeraj Kumar Singh (17)

Chapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsChapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile Applications
 
ISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample Questions
 
ISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' Answers
 
ISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study Material
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software Lifecycle
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team Composition
 
Chapter 5 - Improving the Testing Process
Chapter 5 -  Improving the Testing ProcessChapter 5 -  Improving the Testing Process
Chapter 5 - Improving the Testing Process
 
Chapter 4 - Defect Management
Chapter 4 - Defect ManagementChapter 4 - Defect Management
Chapter 4 - Defect Management
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
ISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question Paper
 
ISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question Paper
 
ISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test Analyst
 
Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical Testing
 
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingChapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
 
ISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question PaperISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question Paper
 
ISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question PaperISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question Paper
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Chapter 5 - Automating the Test Execution

  • 1. Automating the Test Execution 1 Mobile World 2 Test Types 3 Test Process Software Testing - ISTQB Specialist Mobile Application Tester Exam Preparation Chapter 5 Neeraj Kumar Singh 4 Platforms, Tools & Environment 5 Automating Executions
  • 2. Automating the Test Execution Contents 5.1 Automation Approaches 5.2 Automation Methods 5.3 Automation Tools Evaluation 5.4 Approaches for setting up an Automation Test Lab Neeraj Kumar Singh
  • 3. Various automation approaches and frameworks exist that can be used in mobile application testing. The choice of approach will partly be determined by the type of application. Two common test automation approaches used are:  User-agent based testing  Device-based testing User-agent based testing utilizes the user-agent identifier string sent by the browser to spoof a particular browser on a particular device. This approach can be used for executing mobile web applications. Device-based testing on the other hand involves running the application under test directly on the device. This approach can be used for all types of mobile applications. The application type can also determine the test automation framework that would be suitable for that application. Mobile web can be tested using the usual web application automation tools on the desktop, whilst native apps might need specific tools. Platform providers may also provide automation tools dedicated for the platform. Neeraj Kumar Singh Automating the Test Execution Automation Approaches
  • 4. Automation approaches used for conventional applications are often applicable to mobile applications as well. These include capture/playback, data-driven, keyword-driven and behavior-driven testing. Key capabilities that a mobile application testing framework should typically include are:  Object identification  Object operations  Test reports  Application programming interfaces and extendable capabilities  Adequate documentation  Integrations with other tools  Independent of test development practice Neeraj Kumar Singh Automating the Test Execution Automation Approaches
  • 5. Automating the Test Execution Contents 5.1 Automation Approaches 5.2 Automation Methods 5.3 Automation Tools Evaluation 5.4 Approaches for setting up an Automation Test Lab Neeraj Kumar Singh
  • 6. To develop automated tests, the tester needs to understand the automation script recording or creation mechanism, and how to access and interact with the application's graphical objects such as buttons, list boxes, and input fields. Several methods exist for identifying a graphical object used for the mobile test automation. These include image recognition, OCR/text recognition, and object recognition (web or native, depending on the app type). A Mobile Application Tester needs to not only practice the graphical object detection and identification, but also to understand which object identification method will be the most capable in enabling successful tests to be run on a large variety of mobile devices, in parallel and continuously. Neeraj Kumar Singh Automating the Test Execution Automation Methods
  • 7. Key differences between the script creation methods are: Neeraj Kumar Singh Automating the Test Execution Automation Methods
  • 8. Automating the Test Execution Contents 5.1 Automation Approaches 5.2 Automation Methods 5.3 Automation Tools Evaluation 5.4 Approaches for setting up an Automation Test Lab Neeraj Kumar Singh
  • 9. To be successful in creating test automation solutions, the test automation teams need to choose an appropriate set of tools. Understanding the key differences of the available tools and their suitability for the project requirements needs to be considered. The evaluation parameters for test automation tools can be broken into two categories:  Organizational fit  Technical fit Organizational fit parameters. Technical fit parameters include the following:  Test automation requirements and complexities such as the use of new features like FaceID, fingerprint and chatbots by the app.  Test environment requirements, such as varying network conditions, import or creating test data, and server-side virtualization.  Test reporting and feedback loop capabilities.  The ability of the framework to manage and drive execution on a large scale either locally or in a test lab in the cloud.  Integration of the test framework with other tools used in the organization.  Support and documentation availability for current and future upgrades. Neeraj Kumar Singh Automating the Test Execution Automation Tools Evaluation
  • 10. Automating the Test Execution Contents 5.1 Automation Approaches 5.2 Automation Methods 5.3 Automation Tools Evaluation 5.4 Approaches for setting up an Automation Test Lab Neeraj Kumar Singh
  • 11. When performing mobile application testing, developers and testers have choices around the device test lab they would use to target their test automation against.  On-premise device test lab  Remote device test lab Various combinations of these approaches can be applied. On-premise device test labs are generally difficult and time consuming to maintain. Having devices locally in parallel with emulators and simulators would best serve the early development and testing phases of the mobile app. Neeraj Kumar Singh Automating the Test Execution Approaches for Setting up an Automation Test Lab
  • 12. When reaching a more advanced stage of the app development, teams need to perform full regression test, functional tests, and non-functional tests. These tests are best executed on a full device lab. This is where a remote device test lab is managed, continuously updated, and maintained in the cloud. Such remote device test labs complement an on- premise device test lab and ensure that sufficient combinations of device and operating system are available and up to date. By making use of commonly available remote device test labs, teams get access to a larger set of supported capabilities including richer test reports and advanced test automation capabilities. Lastly, when executing at scale through a test automation framework or through a continuous integration job (CI), stability of the overall test lab is key for test efficiency and reliability. Such labs are typically designed to ensure that devices and operating systems are always available and stable. Remote device test labs are not always necessary in the later development stages of the app. Well designed and maintained on-premise device test labs can be as good as or better than any remote device test lab. Neeraj Kumar Singh Automating the Test Execution Approaches for Setting up an Automation Test Lab