SlideShare una empresa de Scribd logo
1 de 12
Product Workshop
Series
Challenges faced in UI Automation
Srinivas Kantipudi
Progress Software
Hysea Workshop on
Software Products’ Testing
Sep 27, 2008 @ Microsoft
What is QuickTest Professional
• Automation testing tool
• Scripting language built on top of VBScript
• Fairly intuitive for technical user
Common misconceptions about GUI automation
tools
• Record and playback tools
• Can automate any UI with GUI automation tools
• UI Automation tools cannot find bugs
Challenges faced in UI Automation
• Lack of awareness of tools
• Limitations of UI Automation tools
• Constant UI changes
• Increase in complexity of Products
• Error handling/Synchronization issues
• Other challenges
Lack of awareness of Tools
• Can not effectively use the features
=>Increase in maintenance
• Tend to automate the easiest way
=>Scripts break often
=>Increase in maintenance
• No consideration to create reusable Actions
=>Hundreds of scripts with many duplicates
=>Increase in maintenance
Limitations of UI Automation tools
• Every Window/Object needs to be unique
• Problems with Images and Colors
• Limitations with drag and drop functionality
• Limitation with complex UI controls
Common problems with QTP object recognition
– Problems In Recognizing Tabs, Toolbars
– Problems In Recognizing the Intellisense
– Problems with recognizing child objects within
embedded frames
Constant UI changes
• Changes in each version
• Changes in third party tools used within the
product
To overcome challenges faced by constant UI
changes
• Use shared object repository effectively
• Make your code modular, use reusable actions
• Code efficiently
• Avoid recording
Error handling/Synchronization issues
• Object synchronization timeout
• Timing issues with using VBScript objects
Error Handling
• Recovery scenarios
• On Error conditions
• When error occurs during run session
Increase in complexity of Products
• Embedded frames
• Embedding other products within our products
• Complex UIs – Flow diagrams, Business process
diagrams, Mapping tools
Other Challenges
• Maintenance of scripts
• Time taken to develop effective automation
• Time taken for ROI
• Maintaining the coding standards
• Choosing the right framework
• Designing the right infrastructure
Why is Automation not finding bugs
Analyze Product -
Manual
Design Test –
Manual
Run Test 1st
time –
Manual
Evaluate Results –
Manual
Report 1st bug –
Manual
Document test –
Manual
Re-run the test –
MACHINE
Evaluate result -- Machine plus
manual if there’s any
mismatch
Conclusion
• Choose the right framework
• Start with designing
• Maintain coding standards
• Code efficiently
• Improve reusability
• Parameterize hard coded values
• Avoid recording
• Document the code
• Learn from past experience
Questions
Questions?

Más contenido relacionado

La actualidad más candente

Gauge from an end user's perspective-fathima harris
Gauge from an end user's perspective-fathima harrisGauge from an end user's perspective-fathima harris
Gauge from an end user's perspective-fathima harris
VodqaBLR
 
Test automation_strategy_for_legacysystems
Test automation_strategy_for_legacysystemsTest automation_strategy_for_legacysystems
Test automation_strategy_for_legacysystems
VodqaBLR
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Sriram Angajala
 

La actualidad más candente (20)

Udvid din test portefølje med coded ui test og cloud load test
Udvid din test portefølje med coded ui test og cloud load testUdvid din test portefølje med coded ui test og cloud load test
Udvid din test portefølje med coded ui test og cloud load test
 
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
 
Tests supporting multiple mobile platforms
Tests supporting multiple mobile platformsTests supporting multiple mobile platforms
Tests supporting multiple mobile platforms
 
XCUITest Introduction: Test Automation University
XCUITest Introduction: Test Automation University XCUITest Introduction: Test Automation University
XCUITest Introduction: Test Automation University
 
Gauge from an end user's perspective-fathima harris
Gauge from an end user's perspective-fathima harrisGauge from an end user's perspective-fathima harris
Gauge from an end user's perspective-fathima harris
 
Test Automation Ground Up
Test Automation Ground UpTest Automation Ground Up
Test Automation Ground Up
 
Automation
AutomationAutomation
Automation
 
Automation
Automation Automation
Automation
 
ISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation TestingISTQB Foundation and Selenium Java Automation Testing
ISTQB Foundation and Selenium Java Automation Testing
 
Test automation with trends
Test automation with trendsTest automation with trends
Test automation with trends
 
Test automation_strategy_for_legacysystems
Test automation_strategy_for_legacysystemsTest automation_strategy_for_legacysystems
Test automation_strategy_for_legacysystems
 
Choosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for YouChoosing the Best Open Source Test Automation Tool for You
Choosing the Best Open Source Test Automation Tool for You
 
Advance appium workshop.pptx
Advance appium workshop.pptxAdvance appium workshop.pptx
Advance appium workshop.pptx
 
Test Automation Made Easy
Test Automation Made EasyTest Automation Made Easy
Test Automation Made Easy
 
What is an Automation Framework ?
What is an Automation Framework ?�What is an Automation Framework ?�
What is an Automation Framework ?
 
6 Weeks of RPA Series: Automate Excel and email with ease
6 Weeks of RPA Series: Automate Excel and email with ease6 Weeks of RPA Series: Automate Excel and email with ease
6 Weeks of RPA Series: Automate Excel and email with ease
 
NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework NSTC2019: Choosing CI Friendly Mobile Automation Framework
NSTC2019: Choosing CI Friendly Mobile Automation Framework
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
 
UiPath Test Suite
UiPath Test Suite UiPath Test Suite
UiPath Test Suite
 
Failure and Success in Software Automation by Oleksandr Reminnyi
Failure and Success in Software Automation by Oleksandr ReminnyiFailure and Success in Software Automation by Oleksandr Reminnyi
Failure and Success in Software Automation by Oleksandr Reminnyi
 

Destacado

Destacado (7)

Effectively Using UI Automation
Effectively Using UI AutomationEffectively Using UI Automation
Effectively Using UI Automation
 
UI test automation techniques by an example of JavaFX UI
UI test automation techniques by an example of JavaFX UIUI test automation techniques by an example of JavaFX UI
UI test automation techniques by an example of JavaFX UI
 
Web UI test automation instruments
Web UI test automation instrumentsWeb UI test automation instruments
Web UI test automation instruments
 
UI Test Automation Effectiveness
UI Test Automation EffectivenessUI Test Automation Effectiveness
UI Test Automation Effectiveness
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the Field
 
UI Automation Quirks
UI Automation QuirksUI Automation Quirks
UI Automation Quirks
 
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
 

Similar a Challenges faced in UI automation

Mobile App Development: Off the-Shelf vs Platform
Mobile App Development: Off the-Shelf vs PlatformMobile App Development: Off the-Shelf vs Platform
Mobile App Development: Off the-Shelf vs Platform
Dipesh Mukerji
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
Vartika Saxena
 
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Unit testing, UI testing and Test Driven Development in Visual Studio 2012Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Jacinto Limjap
 

Similar a Challenges faced in UI automation (20)

Getting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated TestGetting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated Test
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 
Practicing Agile in Offshore Environment
Practicing Agile in Offshore EnvironmentPracticing Agile in Offshore Environment
Practicing Agile in Offshore Environment
 
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate DeliveryScriptless Automation Testing: A Unique Framework To Accelerate Delivery
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
 
Mobile App Development: Off the-Shelf vs Platform
Mobile App Development: Off the-Shelf vs PlatformMobile App Development: Off the-Shelf vs Platform
Mobile App Development: Off the-Shelf vs Platform
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing Tools
 
SauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App AutomatableSauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App Automatable
 
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Unit testing, UI testing and Test Driven Development in Visual Studio 2012Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
 
Lean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill AyersLean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill Ayers
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automation
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
 
10 Reasons You MUST Consider Pattern-Aware Programming
10 Reasons You MUST Consider Pattern-Aware Programming10 Reasons You MUST Consider Pattern-Aware Programming
10 Reasons You MUST Consider Pattern-Aware Programming
 
A Day in the Life: Developer Enhancements with Visual Studio 2012
A Day in the Life: Developer Enhancements with Visual Studio 2012A Day in the Life: Developer Enhancements with Visual Studio 2012
A Day in the Life: Developer Enhancements with Visual Studio 2012
 
Making software development processes to work for you
Making software development processes to work for youMaking software development processes to work for you
Making software development processes to work for you
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
 
Innovative Test Automation Solution
Innovative Test Automation SolutionInnovative Test Automation Solution
Innovative Test Automation Solution
 
Streamlining Testing with Visual Studio 2012
Streamlining Testing with Visual Studio 2012Streamlining Testing with Visual Studio 2012
Streamlining Testing with Visual Studio 2012
 
Development Processes and Tooling
Development Processes and ToolingDevelopment Processes and Tooling
Development Processes and Tooling
 

Ú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@
 

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
+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...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Challenges faced in UI automation

  • 1. Product Workshop Series Challenges faced in UI Automation Srinivas Kantipudi Progress Software Hysea Workshop on Software Products’ Testing Sep 27, 2008 @ Microsoft
  • 2. What is QuickTest Professional • Automation testing tool • Scripting language built on top of VBScript • Fairly intuitive for technical user Common misconceptions about GUI automation tools • Record and playback tools • Can automate any UI with GUI automation tools • UI Automation tools cannot find bugs
  • 3. Challenges faced in UI Automation • Lack of awareness of tools • Limitations of UI Automation tools • Constant UI changes • Increase in complexity of Products • Error handling/Synchronization issues • Other challenges
  • 4. Lack of awareness of Tools • Can not effectively use the features =>Increase in maintenance • Tend to automate the easiest way =>Scripts break often =>Increase in maintenance • No consideration to create reusable Actions =>Hundreds of scripts with many duplicates =>Increase in maintenance
  • 5. Limitations of UI Automation tools • Every Window/Object needs to be unique • Problems with Images and Colors • Limitations with drag and drop functionality • Limitation with complex UI controls Common problems with QTP object recognition – Problems In Recognizing Tabs, Toolbars – Problems In Recognizing the Intellisense – Problems with recognizing child objects within embedded frames
  • 6. Constant UI changes • Changes in each version • Changes in third party tools used within the product To overcome challenges faced by constant UI changes • Use shared object repository effectively • Make your code modular, use reusable actions • Code efficiently • Avoid recording
  • 7. Error handling/Synchronization issues • Object synchronization timeout • Timing issues with using VBScript objects Error Handling • Recovery scenarios • On Error conditions • When error occurs during run session
  • 8. Increase in complexity of Products • Embedded frames • Embedding other products within our products • Complex UIs – Flow diagrams, Business process diagrams, Mapping tools
  • 9. Other Challenges • Maintenance of scripts • Time taken to develop effective automation • Time taken for ROI • Maintaining the coding standards • Choosing the right framework • Designing the right infrastructure
  • 10. Why is Automation not finding bugs Analyze Product - Manual Design Test – Manual Run Test 1st time – Manual Evaluate Results – Manual Report 1st bug – Manual Document test – Manual Re-run the test – MACHINE Evaluate result -- Machine plus manual if there’s any mismatch
  • 11. Conclusion • Choose the right framework • Start with designing • Maintain coding standards • Code efficiently • Improve reusability • Parameterize hard coded values • Avoid recording • Document the code • Learn from past experience