four crucial tips for automated web 2.0 testing

30
W9 Test Automation 5/1/2013 1:45:00 PM Four Crucial Tips for Automated Web 2.0 Testing Presented by: Jim Holmes Telerik Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ [email protected] www.sqe.com

Upload: techwellpresentations

Post on 13-Jul-2015

48 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Four Crucial Tips for Automated Web 2.0 Testing

W9 Test Automation

5/1/2013 1:45:00 PM

Four Crucial Tips for Automated Web

2.0 Testing

Presented by:

Jim Holmes

Telerik

Brought to you by:

340 Corporate Way, Suite 300, Orange Park, FL 32073

888-268-8770 ∙ 904-278-0524 ∙ [email protected] ∙ www.sqe.com

Page 2: Four Crucial Tips for Automated Web 2.0 Testing

Jim Holmes

The Test Studio evangelist at Telerik, Jim Holmes has more than twenty-five years in the IT field as a PC technician, WAN manager, customer relations manager, developer, and, yes, tester. Jim has previously held jobs in the DoD, software consulting domain, and commercial software product sectors. He has been a long-time advocate of test automation and has delivered software on a wide range of platforms. Jim coauthored the book Windows Developer Power Tools, blogs frequently at FrazzledDad.com, and is the president of the board of directors for the CodeMash conference, held at an indoor water park in Sandusky, Ohio, in the middle of winter.

Page 3: Four Crucial Tips for Automated Web 2.0 Testing

Four Crucial Tips for Web Automation

Page 5: Four Crucial Tips for Automated Web 2.0 Testing

Slides:frazzleddad.com

Samples:github.com/JimHolmes/SE13

Page 6: Four Crucial Tips for Automated Web 2.0 Testing

Three main automation pains

Page 7: Four Crucial Tips for Automated Web 2.0 Testing

Locators

Page 8: Four Crucial Tips for Automated Web 2.0 Testing

Dynamic content

Page 9: Four Crucial Tips for Automated Web 2.0 Testing

data and configuration

Page 10: Four Crucial Tips for Automated Web 2.0 Testing

Ground Rule

Page 11: Four Crucial Tips for Automated Web 2.0 Testing

There’s only one:

Page 12: Four Crucial Tips for Automated Web 2.0 Testing

There are no best practices!

Page 13: Four Crucial Tips for Automated Web 2.0 Testing

Take today’s concepts

Page 14: Four Crucial Tips for Automated Web 2.0 Testing

Learn how to apply in

YOUR SYSTEMS!

Page 15: Four Crucial Tips for Automated Web 2.0 Testing

Locators

Page 16: Four Crucial Tips for Automated Web 2.0 Testing

What’s a DOM?

Page 17: Four Crucial Tips for Automated Web 2.0 Testing

IDsCSSXpathOther Attribs

Page 18: Four Crucial Tips for Automated Web 2.0 Testing

Handling Dynamic / AsyncSituations

Page 19: Four Crucial Tips for Automated Web 2.0 Testing

While keeping your sanity

Page 20: Four Crucial Tips for Automated Web 2.0 Testing

(mostly)

Page 21: Four Crucial Tips for Automated Web 2.0 Testing

Page load lifecycle

Page 22: Four Crucial Tips for Automated Web 2.0 Testing

Along came AJAX

Page 23: Four Crucial Tips for Automated Web 2.0 Testing

And Jquery and backbone and…..

Page 24: Four Crucial Tips for Automated Web 2.0 Testing

Implicit waits

Page 25: Four Crucial Tips for Automated Web 2.0 Testing

Explicit waits

Page 26: Four Crucial Tips for Automated Web 2.0 Testing

Simplify Your Tests via Setup & Teardown

Page 27: Four Crucial Tips for Automated Web 2.0 Testing

Test case granularity

Page 28: Four Crucial Tips for Automated Web 2.0 Testing

Learn the concepts

Page 29: Four Crucial Tips for Automated Web 2.0 Testing

Learn how to apply in

YOUR SYSTEMS