07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_...

Preview:

Citation preview

Selenium and FitNesse Integration

Kafeel Ahmad

Fiserv India Pvt Ltd.

20-October-201220-October-2012

Contents

• Abstract

• Case Study

• Challenges

• Solution

• FitNesse, Selenium and Selenesse

• Integration Approach for Selenium with FitNesse

© 2012 Fiserv, Inc. or its affiliates.

• Integration Approach for Selenium with FitNesse

• Sample test in FitNesse

• Scenario Library

• Test Execution

• Test Results

• Summary

• Conclusion

• References

Abstract

• Multiple automation tools are present

• How to pick right tool for automation

• In this presentation we will discuss the case study done for integrating Selenium and FitNesse.

© 2012 Fiserv, Inc. or its affiliates. 3

Selenium and FitNesse.

Case Study

• Objective

• Perform functional, acceptance and Web Service testing for a Web application in a project.

• Requirements

• Open Source Tools

• Non technical manual testers

© 2012 Fiserv, Inc. or its affiliates. 4

• Non technical manual testers

• Perform UI and Web Services automation

• Support testcases and test scenarios management

• Tools Identified

• Selenium and FitNesse automation tools

Challenges

Integrating Selenium with FitNesse

Automated Scenario Library

Plain Language

© 2012 Fiserv, Inc. or its affiliates. 5

Plain Language

Image Exceptions Handling

Support for Web Services Testing

Solution

Using Selenesse to Integrate Selenium with FitNesse

Providing an automated Scenario Library in FitNesse

Automation Development in Plain Language

© 2012 Fiserv, Inc. or its affiliates. 6

Custom Algorithm and Fixtures for Image Exceptions

Service Library for Web Service Testing

FitNesse, Selenium and Selenesse

• Fitnesse is a lightweight, open-source framework for automated testing

• It helps to collaboratively define and organize acceptance / functional tests

• It works as a Wiki to easily create and edit Scripts and documentation

• Selenium is an open source tool for browser automation.

© 2012 Fiserv, Inc. or its affiliates. 7

• Selenium is an open source tool for browser automation.

• Selenium Tools Suite available:

• Selenium IDE

• Selenium Web driver

• Selenium RC or Remote Control

• Selenium-Grid

• Selenesse is the modern bridge between FitNesse and Selenium

Integration Approach For Selenium with FitNesse

© 2012 Fiserv, Inc. or its affiliates. 8

Sample Test in FitNesse

© 2012 Fiserv, Inc. or its affiliates. 9

Scenario Library

© 2012 Fiserv, Inc. or its affiliates. 10

Test Execution

© 2012 Fiserv, Inc. or its affiliates. 11

Test Results

© 2012 Fiserv, Inc. or its affiliates. 12

Summary

• Web Automation can be written simply in plain English

• Provide feature feedback early in the project cycle

• No automation experts required for test script development.

• Lightweight simple approach for doing acceptance testing.

• Single wiki which acts as a repository

© 2012 Fiserv, Inc. or its affiliates. 13

Conclusion

• With this POC, we were able to fulfill all the requirements of our business partners and it was accepted with lots of appreciations.

• We have successfully implemented it in one of our project and has helped testing project in saving their time and cost by implementing automation development at a very low cost.

© 2012 Fiserv, Inc. or its affiliates. 14

References

• Automation templates and training material available on QMS intranet portal of Fiserv Global Services.

• http://seleniumhq.org/

• http://fitnesse.org/

• https://github.com/marisaseal/selenesse

© 2012 Fiserv, Inc. or its affiliates. 15

Questions?

Thank You

Kafeel Ahmad

Fiserv India Pvt Ltd.

20-October-201220-October-2012

Recommended