SlideShare a Scribd company logo
Firewatir Script Generator Angrez Singh Proteans Software Solutions Pvt. Ltd
Motivation Web Applications are increasingly ubiquitous as a functionality delivery paradigm. Testing  Web Applications is important Most testers not used to writing the code. Need not learn new language for every tool
What is FireWatir? Testing Web Application using Ruby and Firefox browser Framework / Library for scripting Web application testing cases Functional testing tool for automated browser-based tests
Example Yahoo Mail require 'firewatir' include FireWatir ff=Firefox.new ff.goto("http://mail.yahoo.com") ff.text_field(:name,"login").set([username]) ff.text_field(:name,"passwd").set([password]) ff.button(:value,"Sign In").click ff.link(:text, "Sign Out").click ff.close
Conceptual Framework Class for Firefox Classes for each element (e.g. image, link, checkbox etc) Selection mechanism for elements (e.g. index, id, name, value etc)
How FireWatir interacts? Uses JSSh extension Runs at port 9997 and listens for commands Firewatir sends JavaScript commands via socket Read back the results
Advantages In built XML and XPath support More compliant to standards Can support Linux, Mac platform Made to run on any client machine
Firewatir Recorder Came as result of Google Summer of Code Records user action while user is interacting with the application User TestGen4Web XPI for capturing user actions Convert user actions to XML Convert XML to ruby file for playback using tg4rb gem
Example
Requirements Ruby 1.8.2 and above Firefox 1.5 and above (not tested with Firefox 3.0a) TestGen4Web XPI Tg4rb gem Firewatir 1.1 gem
How to install? Install firewatir 1.1 gem Install TestGen4Web XPI Apply patch to TestGen4Web  (TG4W) Install tg4rb 0.0.2 gem Start recording actions to XML using TG4W Convert XML to Ruby script using tg4rb
TO DO’s Adding support for recording Javascript pop up Adding support for recording windows pop up Still first release so all comments/issues are welcomed
References Firewatir ( http://code.google.com/p/firewatir ) tg4rb  ( http://code.google.com/p/tg4rb ) TestGen4Web ( http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web )
Q & A

More Related Content

What's hot (20)

PPTX
Robot framework
boriau
 
PPTX
Auto integration testing
Arthur Yueh
 
PDF
Introduction to Robot Framework
Somkiat Puisungnoen
 
ODP
Smolder Introduction
Michael Peters
 
PDF
Robot framework - Lord of the Rings
Asheesh Mehdiratta
 
PPTX
Scripting robot
Chonlasith Jucksriporn
 
PDF
TDD for joomla extensions
Roberto Segura
 
PDF
Acceptance testing plone sites and add ons with robot framework and selenium
Asko Soukka
 
ODP
Testing Toolbox
Michael Peters
 
PDF
Network Protocol Testing Using Robot Framework
Payal Jain
 
PDF
Code Quality Control in a PHP project. GeekTalks, Cherkassy 2020
Andrew Yatsenko
 
PDF
Introduction to Robot Framework (external)
Zhe Li
 
PDF
Robot Framework :: Demo login application
Somkiat Puisungnoen
 
PPT
Intro Of Selenium
Kai Feng Zhang
 
PPTX
Software development terminology
jstack
 
PPTX
Python in Test automation
Krishnana Sreeraman
 
PPTX
Robotframework
Ella Sun
 
PDF
Performance profiling and testing of symfony application 2
Andrew Yatsenko
 
PDF
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PDF
ATDD Using Robot Framework
Pekka Klärck
 
Robot framework
boriau
 
Auto integration testing
Arthur Yueh
 
Introduction to Robot Framework
Somkiat Puisungnoen
 
Smolder Introduction
Michael Peters
 
Robot framework - Lord of the Rings
Asheesh Mehdiratta
 
Scripting robot
Chonlasith Jucksriporn
 
TDD for joomla extensions
Roberto Segura
 
Acceptance testing plone sites and add ons with robot framework and selenium
Asko Soukka
 
Testing Toolbox
Michael Peters
 
Network Protocol Testing Using Robot Framework
Payal Jain
 
Code Quality Control in a PHP project. GeekTalks, Cherkassy 2020
Andrew Yatsenko
 
Introduction to Robot Framework (external)
Zhe Li
 
Robot Framework :: Demo login application
Somkiat Puisungnoen
 
Intro Of Selenium
Kai Feng Zhang
 
Software development terminology
jstack
 
Python in Test automation
Krishnana Sreeraman
 
Robotframework
Ella Sun
 
Performance profiling and testing of symfony application 2
Andrew Yatsenko
 
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
ATDD Using Robot Framework
Pekka Klärck
 

Similar to Fire Watir Script Generator Barcamp (20)

PPT
FireWatir - Web Application Testing Using Ruby and Firefox
angrez
 
PPT
Automated Testing With Watir
Timothy Fisher
 
PPT
Watir Presentation Sumanth Krishna. A
Sumanth krishna
 
PDF
Culerity and Headless Full Stack Integration Testing
Patrick Huesler
 
PDF
Sinatra and JSONQuery Web Service
vvatikiotis
 
PDF
hp HP 2000 annual report
QuarterlyEarningsReports3
 
PDF
hp 2004 10-K only
QuarterlyEarningsReports3
 
TXT
Gemlist
guest7aed17
 
PDF
hp 2002 annual report (text only)
QuarterlyEarningsReports3
 
PPT
Test Automation using Ruby, Watir, Rspec and AutoIT for GAMESCALE products te...
Sla Va
 
PPT
Keyword Driven Framework using WATIR
Nivetha Padmanaban
 
TXT
Gemlist
guest0f5d821
 
TXT
Gemlist
guest436dba6
 
TXT
Gemlist
guesta4f0c3
 
TXT
Gemlist
guest5f05f8
 
TXT
Gemlist
guest7d8a03
 
TXT
Gemlist
guest7d8a03
 
TXT
Gemlist
guest7d8a03
 
TXT
Gemlist
guest3c1b09b
 
TXT
Gemlist
guesta82442
 
FireWatir - Web Application Testing Using Ruby and Firefox
angrez
 
Automated Testing With Watir
Timothy Fisher
 
Watir Presentation Sumanth Krishna. A
Sumanth krishna
 
Culerity and Headless Full Stack Integration Testing
Patrick Huesler
 
Sinatra and JSONQuery Web Service
vvatikiotis
 
hp HP 2000 annual report
QuarterlyEarningsReports3
 
hp 2004 10-K only
QuarterlyEarningsReports3
 
Gemlist
guest7aed17
 
hp 2002 annual report (text only)
QuarterlyEarningsReports3
 
Test Automation using Ruby, Watir, Rspec and AutoIT for GAMESCALE products te...
Sla Va
 
Keyword Driven Framework using WATIR
Nivetha Padmanaban
 
Gemlist
guest0f5d821
 
Gemlist
guest436dba6
 
Gemlist
guesta4f0c3
 
Gemlist
guest5f05f8
 
Gemlist
guest7d8a03
 
Gemlist
guest7d8a03
 
Gemlist
guest7d8a03
 
Gemlist
guest3c1b09b
 
Gemlist
guesta82442
 
Ad

Recently uploaded (20)

PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
July Patch Tuesday
Ivanti
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Ad

Fire Watir Script Generator Barcamp

  • 1. Firewatir Script Generator Angrez Singh Proteans Software Solutions Pvt. Ltd
  • 2. Motivation Web Applications are increasingly ubiquitous as a functionality delivery paradigm. Testing Web Applications is important Most testers not used to writing the code. Need not learn new language for every tool
  • 3. What is FireWatir? Testing Web Application using Ruby and Firefox browser Framework / Library for scripting Web application testing cases Functional testing tool for automated browser-based tests
  • 4. Example Yahoo Mail require 'firewatir' include FireWatir ff=Firefox.new ff.goto("http://mail.yahoo.com") ff.text_field(:name,"login").set([username]) ff.text_field(:name,"passwd").set([password]) ff.button(:value,"Sign In").click ff.link(:text, "Sign Out").click ff.close
  • 5. Conceptual Framework Class for Firefox Classes for each element (e.g. image, link, checkbox etc) Selection mechanism for elements (e.g. index, id, name, value etc)
  • 6. How FireWatir interacts? Uses JSSh extension Runs at port 9997 and listens for commands Firewatir sends JavaScript commands via socket Read back the results
  • 7. Advantages In built XML and XPath support More compliant to standards Can support Linux, Mac platform Made to run on any client machine
  • 8. Firewatir Recorder Came as result of Google Summer of Code Records user action while user is interacting with the application User TestGen4Web XPI for capturing user actions Convert user actions to XML Convert XML to ruby file for playback using tg4rb gem
  • 10. Requirements Ruby 1.8.2 and above Firefox 1.5 and above (not tested with Firefox 3.0a) TestGen4Web XPI Tg4rb gem Firewatir 1.1 gem
  • 11. How to install? Install firewatir 1.1 gem Install TestGen4Web XPI Apply patch to TestGen4Web (TG4W) Install tg4rb 0.0.2 gem Start recording actions to XML using TG4W Convert XML to Ruby script using tg4rb
  • 12. TO DO’s Adding support for recording Javascript pop up Adding support for recording windows pop up Still first release so all comments/issues are welcomed
  • 13. References Firewatir ( http://code.google.com/p/firewatir ) tg4rb ( http://code.google.com/p/tg4rb ) TestGen4Web ( http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web )
  • 14. Q & A