agility in testing: agiile testing and selenium

32
Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skilful execution; it represents the wise choice of many alternatives. William A Foster

Upload: anand-ramdeo

Post on 19-Jan-2015

5.005 views

Category:

Technology


0 download

DESCRIPTION

Agile software development is everywhere. Organisations and teams have started adopting ‘agile’development practices to allow flexible requirement and encourage more cooperation betweenprogrammers and customers. This leads to increased customer satisfaction as well as more rapidrelease of functional software.The agile development practice requires ‘Agile Testing’. Agile testing involves:• Testing as early as possible and as quickly as possible• Testing from the customer/business perspective.• Testing often as the working software is delivered at the end of every iteration.This demands a lot of effort from the testers. The situation often gets worse as the testing time isnot accounted properly in the iteration and also due to the delayed delivery of the software testershave to work harder to get on top of the iterations. This leads to Testing team always laggingbehind in the iteration and always developing a backlog of stories/bugs to test.One of the ways to address this issue in Agile testing is to have as much automation as possible.Using of open source tools such as selenium would help a lot in Agile testing.But even selenium could not work wonders by itself unless there is a proper approach to Agiletesting and automation by the Project.This workshop will address the two issues highlighted above. It will first list and raise all theissues generally faced by the testing team in Agile Environment and then would suggest ways toorganise the Agile testing. This workshop will also familiarise the users with the best practices tobe used in ‘Selenium’ automation. These best practices would help them to automate storiesquickly and effectively and at the same time allow the automation framework to be flexibleenough to respond to the frequent changes in the software which are part of agile development.Thus the testing team will always be on top of the iterations rather than lagging behind andbuilding backlog.

TRANSCRIPT

Page 1: Agility In Testing: Agiile Testing and Selenium

Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skilful execution; it represents the wise choice of many alternatives. William A Foster

Page 2: Agility In Testing: Agiile Testing and Selenium

'Agility' in Testing: Agile Testing and Selenium

Agility In Testing: Agile Testing and

SeleniumKomal JoshiDirector:Atlantis Software [email protected]

Anand RamdeoHead of QA: Gcap [email protected]

Page 3: Agility In Testing: Agiile Testing and Selenium

'Agility' in Testing: Agile Testing and Selenium

Agile – What & Why ? Testing in Agile World

Exercise -1

Same old Story, isn't it?

Exercise - 2

Automation Challenges In Agile

Helpful Tips

Automation – Approaches & Selenium

Questions

Page 4: Agility In Testing: Agiile Testing and Selenium

Komal Joshi & Anand [email protected] www.testinggeek.com

‘Agility’ in testing: Agile Testing and Selenium What

is Agile

Page 5: Agility In Testing: Agiile Testing and Selenium

‘Agility’ in testing: Agile Testing and Selenium What is Agile...... Lets

try Again

Komal Joshi & Anand [email protected] www.tesetinggeek.com

Page 6: Agility In Testing: Agiile Testing and Selenium

Agile is flexible requirements

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 7: Agility In Testing: Agiile Testing and Selenium

Agile is More Co-operation

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 8: Agility In Testing: Agiile Testing and Selenium

Rapid Delivery

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 9: Agility In Testing: Agiile Testing and Selenium

Agile Testing is...

Should have tested Early

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 10: Agility In Testing: Agiile Testing and Selenium

And also

Test fromCustomer

Perspective

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 11: Agility In Testing: Agiile Testing and Selenium

Very Important

Test often

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 12: Agility In Testing: Agiile Testing and Selenium

Exercise -1

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 13: Agility In Testing: Agiile Testing and Selenium

Exercise -1

You are part of a team with couple of developers and business analyst working on a

cutting edge web application involving databases, flash, AJAX and what not. This application is being

developed in Agile fashion, how would you Approach testing for this?

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 14: Agility In Testing: Agiile Testing and Selenium

Is this how you feel

Things are changing every day, existing

features are changing continuously, we didNot estimate bug fixes and how do I know

If we are good enough to go live?

.

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 15: Agility In Testing: Agiile Testing and Selenium

Same old Story, isn't it?

Changing requirements

Late delivery Configurationmatrix

TestingEstimation

Requirements not clear

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 16: Agility In Testing: Agiile Testing and Selenium

Tester is locked in an endless loop

Business

Developers

Testers

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 17: Agility In Testing: Agiile Testing and Selenium

Is there any better way?

Pair up with Business

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 18: Agility In Testing: Agiile Testing and Selenium

Automate sensibly and make it pay you

Testers automate while Developers are working

on code

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 19: Agility In Testing: Agiile Testing and Selenium

Interact

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 20: Agility In Testing: Agiile Testing and Selenium

How great softwares are delivered?

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 21: Agility In Testing: Agiile Testing and Selenium

Testers can be in control!!

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 22: Agility In Testing: Agiile Testing and Selenium

Exercise 2

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 23: Agility In Testing: Agiile Testing and Selenium

Exercise 2

Lets do the same exercise and see whatWould you change and how would you

Do it better?

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 24: Agility In Testing: Agiile Testing and Selenium

Challenges of Agile Automation

Frequent Changes

Limited resources

Automation Time

Delivery TimeWhat you have

faced?

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Tester

Page 25: Agility In Testing: Agiile Testing and Selenium

Make Your Automation

Trustworthy

Adaptable to Changes

Robust

Visible & Actionable

Integrated with CI

What else??

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 26: Agility In Testing: Agiile Testing and Selenium

And how do we do that with Selenium?

DRY & KISS

Explore your optionsSeparation of

Concern

Invest in DSL

Use developers

What else??

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 27: Agility In Testing: Agiile Testing and Selenium

Some Helpful Tips

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 28: Agility In Testing: Agiile Testing and Selenium

Defects + Scripts

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 29: Agility In Testing: Agiile Testing and Selenium

Quick & dirty is not always bad.

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 30: Agility In Testing: Agiile Testing and Selenium

Monitor your application

Row 1 Row 2 Row 3 Row 4

0

2

4

6

8

10

12

Column 1Column 2Column 3

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 31: Agility In Testing: Agiile Testing and Selenium

Prioritize and classify

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium

Page 32: Agility In Testing: Agiile Testing and Selenium

Questions??

How can we help you?

Komal Joshi & Anand [email protected] www.tesetinggeek.com

‘Agility’ in testing: Agile Testing and Selenium