SlideShare a Scribd company logo
1 of 11
Sahi - Effective Web Testing - V Narayan Raman
Automation tool for web app testing Mature open source tool started in 2005 Easy to use, ideal for testers Works well with AJAX, Web 2.0 No Xpaths, no waits Works well with Agile methodologies Version control, refactor, continuous integration Sahi script, Java and Ruby drivers  Sahi
Object Identification Need developer involvement for adding ids  Xpaths – brittle, difficult to grasp, not cross browser css-selectors – better, but still complicated and not cross browser Waiting for AJAX, Page loads Hardcoded - slow Conditional – needs knowledge of the DOM and DOM events Real life problems
Knowledge and learning curve Java, Junit, Eclipse, Ruby, Xpaths, Firebug, browser DOM, Frames/Iframes- Really unrelated to web testing! Difficult to staff or ramp up teams Real life problems
Recorder on all browsers  Implicit waits, even for complex AJAX and page loads Excellent Object Spy and accessors which work across frames and iframes No special privileges required on browser HTTPS, 401/Windows/NTLM authentication, popup windows, modal dialogs, File uploads Sahi Differentiators
DEMO
Rely on recorder only initially Find the smartest accessor No index based accessors if possible Use _near and _in Refactor and reuse code Minimize code duplication  functions, variables, _include Use the Sahi Controller to  your advantage Tips for stable tests
Interact with Java directly from Sahi Script Read/Write to files, databases, Excel sheets, XML files Ruby/Java drivers and recorders Other features
Grid Flash and Flex support Applet Support C# driver Feature Road Map
Recorder, Object Spy and APIs Reduce development time Smart accessors Stable tests save maintenance time Lesser dependence on developers to add ids everywhere In built parallel playback, HTML reports Saves time in maintenance and quick start Authoritative commercial support and training available Saves time in removing road blocks Sahi saves you Time and Money
Information http://sahi.co.in/ http://blog.sahi.co.in/ http://sahi.co.in/forums Twitter: _sahi LinkedIn group: SahiWeb Automation narayan@sahi.co.in support@sahi.co.in TytoSoftware Pvt. Ltd. http://www.tytosoftware.com Questions and Answers

More Related Content

What's hot

Sahi my expirience
Sahi my expirienceSahi my expirience
Sahi my expirience
Akss004
 
Economical, Robust Web Automation using Sahi
Economical, Robust Web Automation using SahiEconomical, Robust Web Automation using Sahi
Economical, Robust Web Automation using Sahi
RIA RUI Society
 

What's hot (20)

Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework GuidelinesKeeping Pace with Product Evolution - UI Automation Framework Guidelines
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
 
Sahi my expirience
Sahi my expirienceSahi my expirience
Sahi my expirience
 
Test Automation with Twist and Sahi
Test Automation with Twist and SahiTest Automation with Twist and Sahi
Test Automation with Twist and Sahi
 
Economical, Robust Web Automation using Sahi
Economical, Robust Web Automation using SahiEconomical, Robust Web Automation using Sahi
Economical, Robust Web Automation using Sahi
 
What's new in selenium 4
What's new in selenium 4What's new in selenium 4
What's new in selenium 4
 
Web application framework
Web application frameworkWeb application framework
Web application framework
 
Web Development Presentation
Web Development PresentationWeb Development Presentation
Web Development Presentation
 
Joomla REST API
Joomla REST APIJoomla REST API
Joomla REST API
 
Demystifying Selenium framework
Demystifying Selenium frameworkDemystifying Selenium framework
Demystifying Selenium framework
 
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support EngineerSupport Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
 
Java script Tutorial - QaTrainingHub
Java script Tutorial - QaTrainingHubJava script Tutorial - QaTrainingHub
Java script Tutorial - QaTrainingHub
 
Protractor for angularJS
Protractor for angularJSProtractor for angularJS
Protractor for angularJS
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
 
AEM responsive
AEM responsiveAEM responsive
AEM responsive
 
Web Application Development Fundamentals
Web Application Development FundamentalsWeb Application Development Fundamentals
Web Application Development Fundamentals
 
Java vs. Java Script for enterprise web applications - Chris Bailey
Java vs. Java Script for enterprise web applications - Chris BaileyJava vs. Java Script for enterprise web applications - Chris Bailey
Java vs. Java Script for enterprise web applications - Chris Bailey
 
Laravel and CodeIgniter: pros & cons
Laravel and CodeIgniter: pros & consLaravel and CodeIgniter: pros & cons
Laravel and CodeIgniter: pros & cons
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web Development
 
TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0
 

Viewers also liked

Bug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutionsBug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutions
RIA RUI Society
 
Contratos De Compra Y Venta Internacional
Contratos  De Compra Y Venta InternacionalContratos  De Compra Y Venta Internacional
Contratos De Compra Y Venta Internacional
esjuemlinaresvizcarra
 

Viewers also liked (17)

Sahi - Effective Web Testing
Sahi - Effective Web TestingSahi - Effective Web Testing
Sahi - Effective Web Testing
 
YAT-Maximo (Yodhak Automation Testing Framework for Maximo)
YAT-Maximo (Yodhak Automation Testing Framework for Maximo)YAT-Maximo (Yodhak Automation Testing Framework for Maximo)
YAT-Maximo (Yodhak Automation Testing Framework for Maximo)
 
BBS Sahi Open Source
BBS Sahi Open SourceBBS Sahi Open Source
BBS Sahi Open Source
 
Bug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutionsBug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutions
 
Skybot Application Interfaces: A Critical Tool for Centralizing Job Scheduling
Skybot Application Interfaces: A Critical Tool for Centralizing Job SchedulingSkybot Application Interfaces: A Critical Tool for Centralizing Job Scheduling
Skybot Application Interfaces: A Critical Tool for Centralizing Job Scheduling
 
Learning j meter
Learning j meterLearning j meter
Learning j meter
 
w3af
w3afw3af
w3af
 
W3af
W3afW3af
W3af
 
Automation With A Tool Demo
Automation With A Tool DemoAutomation With A Tool Demo
Automation With A Tool Demo
 
Rpt ppt
Rpt pptRpt ppt
Rpt ppt
 
Getting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumGetting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & Appium
 
Contratos comerciales
Contratos comercialesContratos comerciales
Contratos comerciales
 
ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...
ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...
ATAGTR2017 Keeping pace with Product Evolution: UI Automation Framework Guide...
 
10 things you didnt know about appium + whats new in appium 1.5
10 things you didnt know about appium + whats new in appium 1.510 things you didnt know about appium + whats new in appium 1.5
10 things you didnt know about appium + whats new in appium 1.5
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introduction
 
Android & iOS Automation Using Appium
Android & iOS Automation Using AppiumAndroid & iOS Automation Using Appium
Android & iOS Automation Using Appium
 
Contratos De Compra Y Venta Internacional
Contratos  De Compra Y Venta InternacionalContratos  De Compra Y Venta Internacional
Contratos De Compra Y Venta Internacional
 

Similar to Sahi - Effective Web Testing (MT)

Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
gbaravindkumar
 
Sudeep_Automation_resume
Sudeep_Automation_resumeSudeep_Automation_resume
Sudeep_Automation_resume
Sudeep Sinha
 

Similar to Sahi - Effective Web Testing (MT) (20)

Web Test Automation Framework - IndicThreads Conference
Web Test Automation Framework  - IndicThreads ConferenceWeb Test Automation Framework  - IndicThreads Conference
Web Test Automation Framework - IndicThreads Conference
 
Zagat.com Case Study (DrupalCon Denver 2012)
Zagat.com Case Study (DrupalCon Denver 2012)Zagat.com Case Study (DrupalCon Denver 2012)
Zagat.com Case Study (DrupalCon Denver 2012)
 
Real world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviewsReal world selenium resume which gets more job interviews
Real world selenium resume which gets more job interviews
 
web development in 2024 - website development
web development in 2024 - website developmentweb development in 2024 - website development
web development in 2024 - website development
 
December 4 SDForum Java Sig Presentation
December 4 SDForum Java Sig PresentationDecember 4 SDForum Java Sig Presentation
December 4 SDForum Java Sig Presentation
 
Web Development In 2018
Web Development In 2018Web Development In 2018
Web Development In 2018
 
Designing Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web ApplicationsDesigning Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web Applications
 
QA Automation Engineer
QA Automation EngineerQA Automation Engineer
QA Automation Engineer
 
W2e Praesi
W2e PraesiW2e Praesi
W2e Praesi
 
508 ada-wcag md mustafizur rahman.
508 ada-wcag md mustafizur rahman.508 ada-wcag md mustafizur rahman.
508 ada-wcag md mustafizur rahman.
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem. SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
 
Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs Best java automation training institute in Bangalore - Selenium Labs
Best java automation training institute in Bangalore - Selenium Labs
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Selenium Automation
Selenium AutomationSelenium Automation
Selenium Automation
 
Become a Successful Web Developer in Web development Field in 2017
Become a Successful Web Developer in Web development Field in 2017Become a Successful Web Developer in Web development Field in 2017
Become a Successful Web Developer in Web development Field in 2017
 
Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 201510 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
 
Sudeep_Automation_resume
Sudeep_Automation_resumeSudeep_Automation_resume
Sudeep_Automation_resume
 
AJAX Frameworks
AJAX FrameworksAJAX Frameworks
AJAX Frameworks
 

Recently uploaded

Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 

Recently uploaded (20)

Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 

Sahi - Effective Web Testing (MT)

  • 1. Sahi - Effective Web Testing - V Narayan Raman
  • 2. Automation tool for web app testing Mature open source tool started in 2005 Easy to use, ideal for testers Works well with AJAX, Web 2.0 No Xpaths, no waits Works well with Agile methodologies Version control, refactor, continuous integration Sahi script, Java and Ruby drivers Sahi
  • 3. Object Identification Need developer involvement for adding ids Xpaths – brittle, difficult to grasp, not cross browser css-selectors – better, but still complicated and not cross browser Waiting for AJAX, Page loads Hardcoded - slow Conditional – needs knowledge of the DOM and DOM events Real life problems
  • 4. Knowledge and learning curve Java, Junit, Eclipse, Ruby, Xpaths, Firebug, browser DOM, Frames/Iframes- Really unrelated to web testing! Difficult to staff or ramp up teams Real life problems
  • 5. Recorder on all browsers Implicit waits, even for complex AJAX and page loads Excellent Object Spy and accessors which work across frames and iframes No special privileges required on browser HTTPS, 401/Windows/NTLM authentication, popup windows, modal dialogs, File uploads Sahi Differentiators
  • 7. Rely on recorder only initially Find the smartest accessor No index based accessors if possible Use _near and _in Refactor and reuse code Minimize code duplication functions, variables, _include Use the Sahi Controller to your advantage Tips for stable tests
  • 8. Interact with Java directly from Sahi Script Read/Write to files, databases, Excel sheets, XML files Ruby/Java drivers and recorders Other features
  • 9. Grid Flash and Flex support Applet Support C# driver Feature Road Map
  • 10. Recorder, Object Spy and APIs Reduce development time Smart accessors Stable tests save maintenance time Lesser dependence on developers to add ids everywhere In built parallel playback, HTML reports Saves time in maintenance and quick start Authoritative commercial support and training available Saves time in removing road blocks Sahi saves you Time and Money
  • 11. Information http://sahi.co.in/ http://blog.sahi.co.in/ http://sahi.co.in/forums Twitter: _sahi LinkedIn group: SahiWeb Automation narayan@sahi.co.in support@sahi.co.in TytoSoftware Pvt. Ltd. http://www.tytosoftware.com Questions and Answers