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

What's hot (20)

PDF
Ivan Pashko - Simplifying test automation with design patterns
Ievgenii Katsan
 
PPTX
ISTQB Advanced Test Automation Engineering (CTAL-TAE) Q&A
HiraQureshi22
 
PPT
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
PPTX
Selenium training eduxfactor
KapilSai3
 
PPTX
Test automation framework
QACampus
 
PPTX
Automation test scripting techniques
Zhu Zhong
 
PDF
Developing a test automation strategy by Brian Bayer
QA or the Highway
 
PDF
Test automation methodologies
Mesut Günes
 
PPTX
j meter
aakar gupte
 
PPTX
Guideline for euivalence class testing
Mani Kanth
 
PPT
Hybrid Automation Framework Developement
Glasdon Falcao
 
PPTX
Selenium Test Automation
BabuDevanandam
 
PPT
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
PPT
Automation test scripting guidelines
Bharathi Krishnamurthi
 
PPT
Automation Framework/QTP Framework
HeyDay Software Solutions
 
PPTX
IGT's Intelligent Automation Framework
greyaudrina
 
PPTX
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
 
PPT
Test automation principles, terminologies and implementations
Steven Li
 
PDF
Automation Framework Design
Kunal Saxena
 
DOCX
Katalon studio vs selenium comparision
Prabhusundar6
 
Ivan Pashko - Simplifying test automation with design patterns
Ievgenii Katsan
 
ISTQB Advanced Test Automation Engineering (CTAL-TAE) Q&A
HiraQureshi22
 
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
Selenium training eduxfactor
KapilSai3
 
Test automation framework
QACampus
 
Automation test scripting techniques
Zhu Zhong
 
Developing a test automation strategy by Brian Bayer
QA or the Highway
 
Test automation methodologies
Mesut Günes
 
j meter
aakar gupte
 
Guideline for euivalence class testing
Mani Kanth
 
Hybrid Automation Framework Developement
Glasdon Falcao
 
Selenium Test Automation
BabuDevanandam
 
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
Automation test scripting guidelines
Bharathi Krishnamurthi
 
Automation Framework/QTP Framework
HeyDay Software Solutions
 
IGT's Intelligent Automation Framework
greyaudrina
 
Mobile Test Automation Framework : Presented By Shankar Garg
oGuild .
 
Test automation principles, terminologies and implementations
Steven Li
 
Automation Framework Design
Kunal Saxena
 
Katalon studio vs selenium comparision
Prabhusundar6
 

Viewers also liked (6)

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

Similar to Data driven automation-with_wati_n (20)

PPTX
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
PPT
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
 
PPTX
Automation Test Framework
Sachin-QA
 
PDF
automation framework
ANSHU GOYAL
 
PDF
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
TEST Huddle
 
PPTX
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
PDF
Choosing right-automation-tool
BabuDevanandam
 
PPT
Test Automation Framework Designs
Test Automaton
 
PPT
Justmeans power point
justmeanscsr
 
PPTX
Soap ui automation
David Harrison
 
PDF
Test automation wipro
ambreprasad77
 
PPTX
Automation solution using jbehave, selenium and hudson
Pankaj Nakhat
 
PDF
Testing Experience - Evolution of Test Automation Frameworks
Łukasz Morawski
 
PDF
Lecture #6. automation testing (andrey oleynik)
Andrey Oleynik
 
PPT
QTP Online Training
QualityPoint Technologies
 
PDF
Test automation
Jitendra Malviya
 
PPTX
Automation Testing with Test Complete
Vartika Saxena
 
PPTX
Automate test, tools, advantages, and disadvantages
Majid Hosseini
 
PDF
Test Automation for Packaged Systems: Yes, You Can!
TechWell
 
PPTX
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
 
Automation Test Framework
Sachin-QA
 
automation framework
ANSHU GOYAL
 
Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010
TEST Huddle
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
DevDay Da Nang
 
Choosing right-automation-tool
BabuDevanandam
 
Test Automation Framework Designs
Test Automaton
 
Justmeans power point
justmeanscsr
 
Soap ui automation
David Harrison
 
Test automation wipro
ambreprasad77
 
Automation solution using jbehave, selenium and hudson
Pankaj Nakhat
 
Testing Experience - Evolution of Test Automation Frameworks
Łukasz Morawski
 
Lecture #6. automation testing (andrey oleynik)
Andrey Oleynik
 
QTP Online Training
QualityPoint Technologies
 
Test automation
Jitendra Malviya
 
Automation Testing with Test Complete
Vartika Saxena
 
Automate test, tools, advantages, and disadvantages
Majid Hosseini
 
Test Automation for Packaged Systems: Yes, You Can!
TechWell
 
Deep Dive Modern Apps Lifecycle with Visual Studio 2012: How to create cross ...
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Ad

Recently uploaded (20)

PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Are there government-backed agri-software initiatives in Limerick.pdf
giselawagner2
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Top Managed Service Providers in Los Angeles
Captain IT
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Français Patch Tuesday - Juillet
Ivanti
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 

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