07 selenium and fitnesse integration - qai global …minisites.qaiglobalservices.com/stc2012/paper_...
TRANSCRIPT
![Page 1: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/1.jpg)
Selenium and FitNesse Integration
Kafeel Ahmad
Fiserv India Pvt Ltd.
20-October-201220-October-2012
![Page 2: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/2.jpg)
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
![Page 3: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/3.jpg)
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.
![Page 4: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/4.jpg)
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
![Page 5: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/5.jpg)
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
![Page 6: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/6.jpg)
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
![Page 7: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/7.jpg)
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
![Page 8: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/8.jpg)
Integration Approach For Selenium with FitNesse
© 2012 Fiserv, Inc. or its affiliates. 8
![Page 9: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/9.jpg)
Sample Test in FitNesse
© 2012 Fiserv, Inc. or its affiliates. 9
![Page 10: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/10.jpg)
Scenario Library
© 2012 Fiserv, Inc. or its affiliates. 10
![Page 11: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/11.jpg)
Test Execution
© 2012 Fiserv, Inc. or its affiliates. 11
![Page 12: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/12.jpg)
Test Results
© 2012 Fiserv, Inc. or its affiliates. 12
![Page 13: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/13.jpg)
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
![Page 14: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/14.jpg)
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
![Page 15: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/15.jpg)
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
![Page 16: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/16.jpg)
Questions?
![Page 17: 07 Selenium and Fitnesse Integration - QAI Global …minisites.qaiglobalservices.com/stc2012/Paper_ Best_Practice/07... · FitNesse, Selenium and Selenesse • Fitnesse is a lightweight,](https://reader031.vdocuments.net/reader031/viewer/2022022608/5b8895827f8b9a435b8e1b5b/html5/thumbnails/17.jpg)
Thank You
Kafeel Ahmad
Fiserv India Pvt Ltd.
20-October-201220-October-2012