SlideShare a Scribd company logo
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?

More Related Content

PDF
Introduction to UI Automation Framework
PPTX
UI Test Automation - Maximizing ROI by Minimizing Maintenance Costs
PPT
Eclipse UI automation
PDF
Getting Started With Coded UI testing: Building Your First Automated Test
PPTX
Visual regression with applitools eyes
PPTX
Test automation within a scrum process
PPTX
Lap Around Visual Studio 2010 Ultimate And TFS 2010
PDF
10 Benefits of Automated Testing
Introduction to UI Automation Framework
UI Test Automation - Maximizing ROI by Minimizing Maintenance Costs
Eclipse UI automation
Getting Started With Coded UI testing: Building Your First Automated Test
Visual regression with applitools eyes
Test automation within a scrum process
Lap Around Visual Studio 2010 Ultimate And TFS 2010
10 Benefits of Automated Testing

What's hot (20)

PPTX
Udvid din test portefølje med coded ui test og cloud load test
PPTX
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
PPTX
Tests supporting multiple mobile platforms
PDF
XCUITest Introduction: Test Automation University
PPTX
Gauge from an end user's perspective-fathima harris
PPT
Automation
PPT
Automation
PPTX
ISTQB Foundation and Selenium Java Automation Testing
PDF
Test automation_strategy_for_legacysystems
PPTX
Choosing the Best Open Source Test Automation Tool for You
PDF
Advance appium workshop.pptx
PPTX
Test Automation Made Easy
PPTX
What is an Automation Framework ?
PDF
6 Weeks of RPA Series: Automate Excel and email with ease
PDF
NSTC2019: Choosing CI Friendly Mobile Automation Framework
PPTX
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
PPTX
UiPath Test Suite
PPTX
Failure and Success in Software Automation by Oleksandr Reminnyi
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...
Tests supporting multiple mobile platforms
XCUITest Introduction: Test Automation University
Gauge from an end user's perspective-fathima harris
Automation
Automation
ISTQB Foundation and Selenium Java Automation Testing
Test automation_strategy_for_legacysystems
Choosing the Best Open Source Test Automation Tool for You
Advance appium workshop.pptx
Test Automation Made Easy
What is an Automation Framework ?
6 Weeks of RPA Series: Automate Excel and email with ease
NSTC2019: Choosing CI Friendly Mobile Automation Framework
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
UiPath Test Suite
Failure and Success in Software Automation by Oleksandr Reminnyi
Ad

Viewers also liked (7)

KEY
Effectively Using UI Automation
PDF
UI test automation techniques by an example of JavaFX UI
PDF
Web UI test automation instruments
PDF
UI Test Automation Effectiveness
PPTX
Coded UI - Test automation Practices from the Field
PPTX
UI Automation Quirks
PDF
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Effectively Using UI Automation
UI test automation techniques by an example of JavaFX UI
Web UI test automation instruments
UI Test Automation Effectiveness
Coded UI - Test automation Practices from the Field
UI Automation Quirks
Behavior Driven UI Automation (Agile Testing Days 2017, Potsdam)
Ad

Similar to Challenges faced in UI automation (20)

PPTX
Getting Started with Coded UI Testing: Building Your First Automated Test
PPTX
Introductie Visual Studio ALM 2012
PPTX
Introductie Visual Studio ALM 2012
PDF
2024-11-19 UI Automation at Contentserv Sergej Mudruk
PPTX
Practicing Agile in Offshore Environment
PPTX
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
PPTX
Mobile App Development: Off the-Shelf vs Platform
PPTX
Automation Testing with Test Complete
PPTX
Practical Software Testing Tools
PDF
SauceCon 2017: Making Your Mobile App Automatable
PPTX
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
PPTX
Lean-Agile Development with SharePoint - Bill Ayers
PDF
New trends in testing automation
PDF
Introduction to Test Automation - Technology and Tools
PPTX
10 Reasons You MUST Consider Pattern-Aware Programming
PPTX
A Day in the Life: Developer Enhancements with Visual Studio 2012
PPTX
Making software development processes to work for you
PDF
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
PPT
Innovative Test Automation Solution
PPTX
Streamlining Testing with Visual Studio 2012
Getting Started with Coded UI Testing: Building Your First Automated Test
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
2024-11-19 UI Automation at Contentserv Sergej Mudruk
Practicing Agile in Offshore Environment
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery
Mobile App Development: Off the-Shelf vs Platform
Automation Testing with Test Complete
Practical Software Testing Tools
SauceCon 2017: Making Your Mobile App Automatable
Unit testing, UI testing and Test Driven Development in Visual Studio 2012
Lean-Agile Development with SharePoint - Bill Ayers
New trends in testing automation
Introduction to Test Automation - Technology and Tools
10 Reasons You MUST Consider Pattern-Aware Programming
A Day in the Life: Developer Enhancements with Visual Studio 2012
Making software development processes to work for you
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Innovative Test Automation Solution
Streamlining Testing with Visual Studio 2012

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
KodekX | Application Modernization Development
PPTX
Spectroscopy.pptx food analysis technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Programs and apps: productivity, graphics, security and other tools
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Electronic commerce courselecture one. Pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KodekX | Application Modernization Development
Spectroscopy.pptx food analysis technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Programs and apps: productivity, graphics, security and other tools
The AUB Centre for AI in Media Proposal.docx
Electronic commerce courselecture one. Pdf
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Understanding_Digital_Forensics_Presentation.pptx
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity

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