Top Banner
Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks
21

Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Mar 26, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Future of Test Automation Tools & Infrastructure

Anand Bagmar

ThoughtWorks

Page 2: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Custom frameworks

Record & Playback

Core Framework

Evolution

Page 3: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Custom Frameworks

• Hybrid

Page 4: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

What is next?

Behavior Driven Development (BDD)

Custom Frameworks

Record & Playback

Core Framework

Evolution

Page 5: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

UI advancements !!!

Page 6: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

The present!!!

Page 7: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Web catching up …

Page 8: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Gesture based technology

The future!!!

Page 9: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Spatial operating environment Professor John Underkoffler - MIT

Page 10: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Sixth Sense Technology Pranav Mistry

Page 11: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

What we need to do?

AND ….

Think big!!

What this means for us?

Page 12: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

UDD UI Driven Development

Page 13: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Features

• Result Analysis

• Charts & Graphs

• Archive

• Regular debugger functions

• Advanced debugger

• Execute tests • From within or

command line

• Create run command

• Remote machine(s) or locally

• Discovery

• Author

• Publish

• Plugin Manager

IDE Runtime

Report Debug

Page 14: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Plugins

UDD xPath Utilities

Discovery tools

Custom Reporting –

Trend analysis

Test data generators

Scheduling Language / framework

agnostic

Integration with external

tools & repositories

Omniture Testing

Page 15: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Discovery

Search & buy ticket

Login

Get credentials Get credentials from external user data file

Go to login page

Login

Search

Get search criteria

Get criteria from external search

data file

Query

Return results

Buy ticket

Login

Select ticket Get search results

Enter ticket details

Enter payment options

Get card details from external

data file

Checkout

Page 16: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Creating new Tests

Login

Load page Make

selection from

results

View results

Enter criteria

Checkout

Enter ticket details

Select ticket Login

Search

Checkout

Page 17: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

How do we get there?

• Write better structured / layered code

• Reusability – productize it

• Use external libraries instead of copying the

code directly.

Page 18: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Example 1 – Omniture Testing

• Generic approach

• Minimum existing test modification

Omniture_Methods.setRequiresOmnitureTesting();

• Test data defined in easy-to-understand XML

• Can test multiple set of Omniture sections.

• Extracted into a jar for easier reuse.

Page 19: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Example 2 – Custom Listener

• Control test execution flow

• Handle test dependencies

• Critical Test Failures

• Richer reports

Page 20: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework

Example 3 – Reporting

• Provide visibility “due” for Test automation

• Use the metrics that matter

• Subscription / RSS feed

• Archive

Page 21: Future of Test Automation Tools & Infrastructure · Future of Test Automation Tools & Infrastructure Anand Bagmar ThoughtWorks . Custom frameworks Record & Playback Core Framework