SlideShare a Scribd company logo
Data-driven Test Automation Saturday, September 24, 2011 Open Source in .NET Microsoft Open Day Why not WatiN-ation? Rizwanur Rashid A software testing professional. Living in Dhaka, Bangladesh. He has completed his graduation from  AIUB . Currently he is working as QA Engineer in SoftwarePeople. Till today he has earned Five years of hand on working experience in Software Testing and QA field. Being a QA he still loves  to develop. Probably he is the only QA who has done  MCPD.  In leisure mostly he love to play with PHP.  His blog  RizViews . QA Engineer Rizwan got hand on exeperience in QA and Testing field. He has worked in some renowned software firm like BIPL, ENOSIS etc.  Now days he is working on automation. He is trying to simplify the testing tasks using tools.   SoftwarePeople   SoftwarePeople is an ambitious company which values talent, expertise and motivation above all.  Rizwan is working in SoftwarePeople form January, 2011. In this organization he is working on the automation of the product of this company.
Automation Obstacles Project Complexity High Price of Tool Script Complexity Skilled Resource Too much change Time constraints
Where WatiN Fits Free of cost! Developed in Native C#. Total Control. Supports almost all latest web technologies. Record and Playback.
Brief of WatiN W eb  A pplication  T esting in . N ET Opensource Framework for testing Developed in C#.NET Current version 2.1.0.1196 Will Support .NET version 4.
Data-driven Automation Customized Data File. Test scenarios Test Data. Expected data/message/value Convention over Configuration
Convention Test Case File Name and Class Name should be same. Test Case ID column will be Test Method name. Data Set in a specific format.
Test Case
Test Case – Important Columns Column Description Test Case ID Also will be used as test method name. Skip Execution To skip execution of current step. Test Data Data to feed in the input/selection control. Expected Result To verify the actual result. Observed Result Data collected from the application. Status Pass/Fail or whatever you decide.
Code Architecture
Project - TestHarness_UI Main class for GUI Validations Prepares Environment Collect Test Scenarios
Project – WatiNTest Decides Test to Execute Contains Test Classes Contains Test Status in Cache
Project – QAHelper Contains Utility Methods Structure of Test Case Reads Data File Provides Input in the Page
Project - Logger Provides HTML log Will control all logging TBD Excel CSV XML
Configuration
 
TBD Enhance Logging (Text/Excel/Information) Remove dependency of the data file row number. Enhance Performance. Test in multi browser More Testing
WatiN Limitations Missing Safari Support. Don't have any straight forward approach to handle AJAX requests and responses. Can't automate Silverlight applications. Firefox driver still have to provide feature to handle  Web Modals  (IE driver is fine). Recording tool is not up to the mark.
Happy Ending! Questions? Discussions Feedback
Reference http://watin.org/ http://www.codeproject.com/KB/aspnet/WatiN.aspx http://www.rizviews.com/?p=140

More Related Content

PPT
Hybrid Automation Framework Development introduction
PPT
Test Automation Framework Development Introduction
PDF
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
PPTX
ISTQB Advanced Level Test Automation Engineering Training
PPT
Test Automation Framework Designs
PPTX
Selenium Tutorial for Beginners | Automation framework Basics
PPTX
Framework For Automation Testing Practice Sharing
PPTX
Framework for Web Automation Testing
Hybrid Automation Framework Development introduction
Test Automation Framework Development Introduction
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
ISTQB Advanced Level Test Automation Engineering Training
Test Automation Framework Designs
Selenium Tutorial for Beginners | Automation framework Basics
Framework For Automation Testing Practice Sharing
Framework for Web Automation Testing

What's hot (20)

PDF
Ivan Pashko - Simplifying test automation with design patterns
PPTX
ISTQB Advanced Test Automation Engineering (CTAL-TAE) Q&A
PPT
Designing a Test Automation Framework By Quontra solutions
PPTX
Selenium training eduxfactor
PPTX
Test automation framework
PPTX
Automation test scripting techniques
PDF
Developing a test automation strategy by Brian Bayer
PDF
Test automation methodologies
PPTX
j meter
PPTX
Guideline for euivalence class testing
PPT
Hybrid Automation Framework Developement
PPTX
Selenium Test Automation
PPT
Test Automation Framework Online Training by QuontraSolutions
PPT
Automation test scripting guidelines
PPT
Automation Framework/QTP Framework
PPTX
IGT's Intelligent Automation Framework
PPTX
Mobile Test Automation Framework : Presented By Shankar Garg
PPT
Test automation principles, terminologies and implementations
PDF
Automation Framework Design
DOCX
Katalon studio vs selenium comparision
Ivan Pashko - Simplifying test automation with design patterns
ISTQB Advanced Test Automation Engineering (CTAL-TAE) Q&A
Designing a Test Automation Framework By Quontra solutions
Selenium training eduxfactor
Test automation framework
Automation test scripting techniques
Developing a test automation strategy by Brian Bayer
Test automation methodologies
j meter
Guideline for euivalence class testing
Hybrid Automation Framework Developement
Selenium Test Automation
Test Automation Framework Online Training by QuontraSolutions
Automation test scripting guidelines
Automation Framework/QTP Framework
IGT's Intelligent Automation Framework
Mobile Test Automation Framework : Presented By Shankar Garg
Test automation principles, terminologies and implementations
Automation Framework Design
Katalon studio vs selenium comparision
Ad

Viewers also liked (6)

PPTX
Moving Beyond Access: University Institutional Repositories, Copyright and Di...
PPT
Activity 4
PDF
Open Access and Digital Repositories
PPT
Recreation area plans presentation
DOC
Format laporan ismail
PPSX
Introduction of Intellectual Property Rights to Myanmar
Moving Beyond Access: University Institutional Repositories, Copyright and Di...
Activity 4
Open Access and Digital Repositories
Recreation area plans presentation
Format laporan ismail
Introduction of Intellectual Property Rights to Myanmar
Ad

Similar to Data driven automation-with_wati_n (20)

PPTX
Test automation within a scrum process
PPT
Test Automation Best Practices (with SOA test approach)
PPTX
Automation Test Framework
PDF
automation framework
PDF
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
PDF
Choosing right-automation-tool
PPT
Test Automation Framework Designs
PPT
Justmeans power point
PPTX
Soap ui automation
PDF
Test automation wipro
PPTX
Automation solution using jbehave, selenium and hudson
PDF
Testing Experience - Evolution of Test Automation Frameworks
PDF
Lecture #6. automation testing (andrey oleynik)
PPT
QTP Online Training
PDF
Test automation
PPTX
Automation Testing with Test Complete
PPTX
Automate test, tools, advantages, and disadvantages
PDF
Test Automation for Packaged Systems: Yes, You Can!
PPTX
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Test automation within a scrum process
Test Automation Best Practices (with SOA test approach)
Automation Test Framework
automation framework
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
Choosing right-automation-tool
Test Automation Framework Designs
Justmeans power point
Soap ui automation
Test automation wipro
Automation solution using jbehave, selenium and hudson
Testing Experience - Evolution of Test Automation Frameworks
Lecture #6. automation testing (andrey oleynik)
QTP Online Training
Test automation
Automation Testing with Test Complete
Automate test, tools, advantages, and disadvantages
Test Automation for Packaged Systems: Yes, You Can!
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation theory and applications.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation theory and applications.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Data driven automation-with_wati_n

  • 1. Data-driven Test Automation Saturday, September 24, 2011 Open Source in .NET Microsoft Open Day Why not WatiN-ation? Rizwanur Rashid A software testing professional. Living in Dhaka, Bangladesh. He has completed his graduation from AIUB . Currently he is working as QA Engineer in SoftwarePeople. Till today he has earned Five years of hand on working experience in Software Testing and QA field. Being a QA he still loves to develop. Probably he is the only QA who has done MCPD. In leisure mostly he love to play with PHP. His blog RizViews . QA Engineer Rizwan got hand on exeperience in QA and Testing field. He has worked in some renowned software firm like BIPL, ENOSIS etc. Now days he is working on automation. He is trying to simplify the testing tasks using tools. SoftwarePeople SoftwarePeople is an ambitious company which values talent, expertise and motivation above all. Rizwan is working in SoftwarePeople form January, 2011. In this organization he is working on the automation of the product of this company.
  • 2. Automation Obstacles Project Complexity High Price of Tool Script Complexity Skilled Resource Too much change Time constraints
  • 3. Where WatiN Fits Free of cost! Developed in Native C#. Total Control. Supports almost all latest web technologies. Record and Playback.
  • 4. Brief of WatiN W eb A pplication T esting in . N ET Opensource Framework for testing Developed in C#.NET Current version 2.1.0.1196 Will Support .NET version 4.
  • 5. Data-driven Automation Customized Data File. Test scenarios Test Data. Expected data/message/value Convention over Configuration
  • 6. Convention Test Case File Name and Class Name should be same. Test Case ID column will be Test Method name. Data Set in a specific format.
  • 8. Test Case – Important Columns Column Description Test Case ID Also will be used as test method name. Skip Execution To skip execution of current step. Test Data Data to feed in the input/selection control. Expected Result To verify the actual result. Observed Result Data collected from the application. Status Pass/Fail or whatever you decide.
  • 10. Project - TestHarness_UI Main class for GUI Validations Prepares Environment Collect Test Scenarios
  • 11. Project – WatiNTest Decides Test to Execute Contains Test Classes Contains Test Status in Cache
  • 12. Project – QAHelper Contains Utility Methods Structure of Test Case Reads Data File Provides Input in the Page
  • 13. Project - Logger Provides HTML log Will control all logging TBD Excel CSV XML
  • 15.  
  • 16. TBD Enhance Logging (Text/Excel/Information) Remove dependency of the data file row number. Enhance Performance. Test in multi browser More Testing
  • 17. WatiN Limitations Missing Safari Support. Don't have any straight forward approach to handle AJAX requests and responses. Can't automate Silverlight applications. Firefox driver still have to provide feature to handle Web Modals (IE driver is fine). Recording tool is not up to the mark.
  • 18. Happy Ending! Questions? Discussions Feedback