SlideShare a Scribd company logo
What to Expect from Sahi Pro
Simple Reliable Test Automation
@sahipro
sahipro.com
sahipro.com
Q: What is Sahi Pro?
• Sahi Pro is a test automation tool
• It enables testers to
– Convert manual tests to automation tests
– Rapidly and reliably execute batches of such tests
– Provide detailed reports of playback results
• Sahi Pro is easy to use and can be used by
non programmers too
• Sahi Pro needs minimal maintenance
sahipro.com
Q: How do the tests look?
This is a scenario file. It defines business flows.
sahipro.com
Scenarios
• Scenarios define business flows
• They are easily readable and can be used as
manual tests too.
• They do not depend on the actual user interface
• Any good tester (manual or automation) can
write them, even if they do not have
programming knowledge.
– This is the bulk of Sahi automation and requires
understanding of your business domain and
organizing your tests.
sahipro.com
Q: How does the Scenario work?
• Each step in the Scenario calls a Javascript function
or Java method
• These functions define the actual steps to be
performed on the UI
sahipro.com
Functions in Sahi Scripts
• Such Javascript functions are defined in Sahi scripts
• Sahi scripts use Sahi APIs to interact with
– Web Browsers
– Desktop applications
– Java applications
– Flex Applications
– Mobile Applications
• Sample Sahi APIs:
– Action APIs: _click, _setValue etc.
– Accessor APIs: _textbox, _button etc.
sahipro.com
Q: How do we write these functions?
• You can record your interactions using the Sahi
Recorder
• This can be converted into functions using the
“Create Function” wizard in the Sahi Pro Editor
sahipro.com
Q: Record? Hmm…
• If you have religious reasons to not use recorders,
you can write the script manually too.
– Record and playback is frowned upon because of inability
to work with dynamic data, identifiers which are sub-
optimal etc.
– Good recorders and object spies can make object
detection and interaction scripting easy.
– Use Sahi’s recorder to your advantage. You can always fall
back to manual scripting if needed.
sahipro.com
Q: How do I run Scenarios?
• Scenarios can be executed from
– Sahi Pro UI
– Command line
– ANT
– Continuous Integration systems like Jenkins
• Normally hundreds or thousands of Scenario
files are grouped in a Suite file and executed
as a batch.
sahipro.com
Suites
– Suites are a group of scenarios/scripts.
– Scenarios/scripts can be organized via tags. Selective
tags can be run
– Data can be passed to Scenarios/scripts. Same
scenario can be run with multiple sets of input data.
sahipro.com
Suite Execution
• Sahi Pro can distribute scenarios/scripts
across machines for faster results
– Say across 6 machines and finish off in 1/6th time
• Sahi Pro can run browser scenarios/scripts in
parallel on a single machine
– 6 machines each running 5 instances of browsers
can run 30 scripts simultaneously!
sahipro.com
Q: What about Reports?
• Reports are automatically generated, without
writing any code
• Reports show
 historical data of all suites and scripts run
Can be drilled down to suite report
Drill down further to script/scenario report
Drill down to function call
Drill down to step executed, along with screen shot if
there is an error
Drill down to exact line of code in Script.
sahipro.com
Q: Aren’t UI tests flaky?
• Not with Sahi. UI tests break for 2 reasons
– Brittle identification mechanisms
– Waits or synchronization issues
• Sahi uses smart identification mechanisms which are not
easily affected by UI change
– No XPaths
• Sahi automatically waits for the right amount of time
between steps
– No wait statements required
• Sahi tests have very few false positives or false negatives.
When a script fails, you can say with confidence that the
application has changed.
sahipro.com
Q: No XPaths, No waits?
_navigateTo("http://mail.google.com");
_setValue(_emailbox("identifier"), "madeupname");
_click(_span("Next"));
_setValue(_password("password"), "secret");
_click(_span("Next"));
_click(_div("COMPOSE"));
_setValue(_textarea("to"), "abc@example.com");
_setValue(_textbox("subjectbox"), "Hi there!");
_click(_image("Minimise"));
_click(_link("/Google Account: /"));
_click(_link("Sign out"));
_click(_span(0, _near(_image("photo.jpg"))));
_click(_submit("Remove an account"));
_click(_div(0, _near(paragraph("Madeup Name"))));
_click(_div("Yes, remove"));
_assertVisible(_emailbox("identifier"));
Here is a sample script, automating Gmail. Try it!
sahipro.com
Summary
• Sahi scripts are easy to create and maintain
• The tester concentrates on business
functionality. Sahi does all the tooling parts.
• Sahi scripts execute fast and reliably, helping
agile teams get rapid feedback
• Very little time is wasted in the automation
process.
sahipro.com
Try
Sahi Pro with a fully functional 1 month trial
license
Or play with the free
Sahi Pro Starter
www.sahipro.com
@sahipro
support@sahipro.com
sales@sahipro.com

More Related Content

What's hot

SonarQube Presentation.pptx
SonarQube Presentation.pptxSonarQube Presentation.pptx
SonarQube Presentation.pptx
Satwik Bhupathi Raju
 
Neoload
Neoload Neoload
Neoload
Kumar Gupta
 
Paper published on web application testing with sahi tool
Paper published on web application testing with sahi toolPaper published on web application testing with sahi tool
Paper published on web application testing with sahi toolLalit Choudhary
 
Postman Webinar: "API Governance with Postman"
Postman Webinar: "API Governance with Postman"Postman Webinar: "API Governance with Postman"
Postman Webinar: "API Governance with Postman"
Postman
 
Robotic Process Automation Framework
Robotic Process Automation FrameworkRobotic Process Automation Framework
Robotic Process Automation Framework
Diana Rusnakova
 
SOA Testing
SOA TestingSOA Testing
SOA Testing
Roopesh Kohad
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
TEST Huddle
 
Api security
Api security Api security
Api security
teodorcotruta
 
Monitoring Solutions for APIs
Monitoring Solutions for APIsMonitoring Solutions for APIs
Monitoring Solutions for APIs
Apigee | Google Cloud
 
Introduction to Robot Framework – Exove
Introduction to Robot Framework – ExoveIntroduction to Robot Framework – Exove
Introduction to Robot Framework – Exove
Exove
 
Manual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosysManual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosys
H2kInfosys
 
API Virtualization: Mocking on Steroids
API Virtualization: Mocking on SteroidsAPI Virtualization: Mocking on Steroids
API Virtualization: Mocking on Steroids
SmartBear
 
Test Management & Automation with JIRA
Test Management & Automation with JIRATest Management & Automation with JIRA
Test Management & Automation with JIRA
Xpand IT
 
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
API Gateway How-To: The Many Ways to Apply the Gateway PatternAPI Gateway How-To: The Many Ways to Apply the Gateway Pattern
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
VMware Tanzu
 
Testing soap UI
Testing soap UITesting soap UI
Testing soap UI
Razia Sultana
 
Rest api standards and best practices
Rest api standards and best practicesRest api standards and best practices
Rest api standards and best practices
Ankita Mahajan
 
Automation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPAAutomation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPA
Hexaware Technologies
 
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng NghĩaTech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Nexus FrontierTech
 
API TESTING
API TESTINGAPI TESTING
API TESTING
Sijan Bhandari
 
Oracle Identity Governance - Customer Presentation
Oracle Identity Governance - Customer PresentationOracle Identity Governance - Customer Presentation
Oracle Identity Governance - Customer Presentation
Delivery Centric
 

What's hot (20)

SonarQube Presentation.pptx
SonarQube Presentation.pptxSonarQube Presentation.pptx
SonarQube Presentation.pptx
 
Neoload
Neoload Neoload
Neoload
 
Paper published on web application testing with sahi tool
Paper published on web application testing with sahi toolPaper published on web application testing with sahi tool
Paper published on web application testing with sahi tool
 
Postman Webinar: "API Governance with Postman"
Postman Webinar: "API Governance with Postman"Postman Webinar: "API Governance with Postman"
Postman Webinar: "API Governance with Postman"
 
Robotic Process Automation Framework
Robotic Process Automation FrameworkRobotic Process Automation Framework
Robotic Process Automation Framework
 
SOA Testing
SOA TestingSOA Testing
SOA Testing
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
Api security
Api security Api security
Api security
 
Monitoring Solutions for APIs
Monitoring Solutions for APIsMonitoring Solutions for APIs
Monitoring Solutions for APIs
 
Introduction to Robot Framework – Exove
Introduction to Robot Framework – ExoveIntroduction to Robot Framework – Exove
Introduction to Robot Framework – Exove
 
Manual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosysManual QA Testing Interview Questions From H2KInfosys
Manual QA Testing Interview Questions From H2KInfosys
 
API Virtualization: Mocking on Steroids
API Virtualization: Mocking on SteroidsAPI Virtualization: Mocking on Steroids
API Virtualization: Mocking on Steroids
 
Test Management & Automation with JIRA
Test Management & Automation with JIRATest Management & Automation with JIRA
Test Management & Automation with JIRA
 
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
API Gateway How-To: The Many Ways to Apply the Gateway PatternAPI Gateway How-To: The Many Ways to Apply the Gateway Pattern
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
 
Testing soap UI
Testing soap UITesting soap UI
Testing soap UI
 
Rest api standards and best practices
Rest api standards and best practicesRest api standards and best practices
Rest api standards and best practices
 
Automation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPAAutomation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPA
 
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng NghĩaTech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
Tech Talk #5 : Code Analysis SonarQube - Lương Trọng Nghĩa
 
API TESTING
API TESTINGAPI TESTING
API TESTING
 
Oracle Identity Governance - Customer Presentation
Oracle Identity Governance - Customer PresentationOracle Identity Governance - Customer Presentation
Oracle Identity Governance - Customer Presentation
 

Similar to What to Expect from Sahi Pro

Browser Automated Testing Frameworks - Nightwatch.js
Browser Automated Testing Frameworks - Nightwatch.jsBrowser Automated Testing Frameworks - Nightwatch.js
Browser Automated Testing Frameworks - Nightwatch.js
Luís Bastião Silva
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
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
tactqa
 
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
tactqa
 
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
Tyto Software
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When Automating
Alan Richardson
 
QA or the Highway - Extra-functional testing, improve how you observe the sys...
QA or the Highway - Extra-functional testing, improve how you observe the sys...QA or the Highway - Extra-functional testing, improve how you observe the sys...
QA or the Highway - Extra-functional testing, improve how you observe the sys...
Federico Toledo
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
Sadaaki Emura
 
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptxSE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
TangZhiSiang
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testing
SwapnilNarayan
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Perfecto by Perforce
 
Software Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesSoftware Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesKiran Munir
 
Ui Testing with Ghost Inspector
Ui Testing with Ghost InspectorUi Testing with Ghost Inspector
Ui Testing with Ghost Inspector
Harvard Web Working Group
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
QA or the Highway
 
Introduction to UI Automation Framework
Introduction to UI Automation FrameworkIntroduction to UI Automation Framework
Introduction to UI Automation Framework
Priya Rajagopal
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Diana Gray, MBA
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
Richard Robinson
 
MockServer-driven testing
MockServer-driven testingMockServer-driven testing
MockServer-driven testing
Testableapple
 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdf
QA or the Highway
 

Similar to What to Expect from Sahi Pro (20)

Browser Automated Testing Frameworks - Nightwatch.js
Browser Automated Testing Frameworks - Nightwatch.jsBrowser Automated Testing Frameworks - Nightwatch.js
Browser Automated Testing Frameworks - Nightwatch.js
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
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
 
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
 
Lessons Learned When Automating
Lessons Learned When AutomatingLessons Learned When Automating
Lessons Learned When Automating
 
QA or the Highway - Extra-functional testing, improve how you observe the sys...
QA or the Highway - Extra-functional testing, improve how you observe the sys...QA or the Highway - Extra-functional testing, improve how you observe the sys...
QA or the Highway - Extra-functional testing, improve how you observe the sys...
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
Mayur_Resume (2) (1)
Mayur_Resume (2) (1)Mayur_Resume (2) (1)
Mayur_Resume (2) (1)
 
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptxSE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
SE - Lecture 9 n 10 Intro Robotic Process Automation.pptx
 
Slides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testingSlides for Automation Testing or End to End testing
Slides for Automation Testing or End to End testing
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
 
Software Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesSoftware Requirements Engineering Methodologies
Software Requirements Engineering Methodologies
 
Ui Testing with Ghost Inspector
Ui Testing with Ghost InspectorUi Testing with Ghost Inspector
Ui Testing with Ghost Inspector
 
Thomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdfThomas Haver - Mobile Testing.pdf
Thomas Haver - Mobile Testing.pdf
 
Introduction to UI Automation Framework
Introduction to UI Automation FrameworkIntroduction to UI Automation Framework
Introduction to UI Automation Framework
 
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdfTest Automation using UiPath Test Suite - Developer Circle Part-2.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-2.pdf
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
 
MockServer-driven testing
MockServer-driven testingMockServer-driven testing
MockServer-driven testing
 
Federico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdfFederico Toledo - Extra-functional testing.pdf
Federico Toledo - Extra-functional testing.pdf
 

Recently uploaded

GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 

Recently uploaded (20)

GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 

What to Expect from Sahi Pro

  • 1. What to Expect from Sahi Pro Simple Reliable Test Automation @sahipro sahipro.com
  • 2. sahipro.com Q: What is Sahi Pro? • Sahi Pro is a test automation tool • It enables testers to – Convert manual tests to automation tests – Rapidly and reliably execute batches of such tests – Provide detailed reports of playback results • Sahi Pro is easy to use and can be used by non programmers too • Sahi Pro needs minimal maintenance
  • 3. sahipro.com Q: How do the tests look? This is a scenario file. It defines business flows.
  • 4. sahipro.com Scenarios • Scenarios define business flows • They are easily readable and can be used as manual tests too. • They do not depend on the actual user interface • Any good tester (manual or automation) can write them, even if they do not have programming knowledge. – This is the bulk of Sahi automation and requires understanding of your business domain and organizing your tests.
  • 5. sahipro.com Q: How does the Scenario work? • Each step in the Scenario calls a Javascript function or Java method • These functions define the actual steps to be performed on the UI
  • 6. sahipro.com Functions in Sahi Scripts • Such Javascript functions are defined in Sahi scripts • Sahi scripts use Sahi APIs to interact with – Web Browsers – Desktop applications – Java applications – Flex Applications – Mobile Applications • Sample Sahi APIs: – Action APIs: _click, _setValue etc. – Accessor APIs: _textbox, _button etc.
  • 7. sahipro.com Q: How do we write these functions? • You can record your interactions using the Sahi Recorder • This can be converted into functions using the “Create Function” wizard in the Sahi Pro Editor
  • 8. sahipro.com Q: Record? Hmm… • If you have religious reasons to not use recorders, you can write the script manually too. – Record and playback is frowned upon because of inability to work with dynamic data, identifiers which are sub- optimal etc. – Good recorders and object spies can make object detection and interaction scripting easy. – Use Sahi’s recorder to your advantage. You can always fall back to manual scripting if needed.
  • 9. sahipro.com Q: How do I run Scenarios? • Scenarios can be executed from – Sahi Pro UI – Command line – ANT – Continuous Integration systems like Jenkins • Normally hundreds or thousands of Scenario files are grouped in a Suite file and executed as a batch.
  • 10. sahipro.com Suites – Suites are a group of scenarios/scripts. – Scenarios/scripts can be organized via tags. Selective tags can be run – Data can be passed to Scenarios/scripts. Same scenario can be run with multiple sets of input data.
  • 11. sahipro.com Suite Execution • Sahi Pro can distribute scenarios/scripts across machines for faster results – Say across 6 machines and finish off in 1/6th time • Sahi Pro can run browser scenarios/scripts in parallel on a single machine – 6 machines each running 5 instances of browsers can run 30 scripts simultaneously!
  • 12. sahipro.com Q: What about Reports? • Reports are automatically generated, without writing any code • Reports show  historical data of all suites and scripts run Can be drilled down to suite report Drill down further to script/scenario report Drill down to function call Drill down to step executed, along with screen shot if there is an error Drill down to exact line of code in Script.
  • 13. sahipro.com Q: Aren’t UI tests flaky? • Not with Sahi. UI tests break for 2 reasons – Brittle identification mechanisms – Waits or synchronization issues • Sahi uses smart identification mechanisms which are not easily affected by UI change – No XPaths • Sahi automatically waits for the right amount of time between steps – No wait statements required • Sahi tests have very few false positives or false negatives. When a script fails, you can say with confidence that the application has changed.
  • 14. sahipro.com Q: No XPaths, No waits? _navigateTo("http://mail.google.com"); _setValue(_emailbox("identifier"), "madeupname"); _click(_span("Next")); _setValue(_password("password"), "secret"); _click(_span("Next")); _click(_div("COMPOSE")); _setValue(_textarea("to"), "abc@example.com"); _setValue(_textbox("subjectbox"), "Hi there!"); _click(_image("Minimise")); _click(_link("/Google Account: /")); _click(_link("Sign out")); _click(_span(0, _near(_image("photo.jpg")))); _click(_submit("Remove an account")); _click(_div(0, _near(paragraph("Madeup Name")))); _click(_div("Yes, remove")); _assertVisible(_emailbox("identifier")); Here is a sample script, automating Gmail. Try it!
  • 15. sahipro.com Summary • Sahi scripts are easy to create and maintain • The tester concentrates on business functionality. Sahi does all the tooling parts. • Sahi scripts execute fast and reliably, helping agile teams get rapid feedback • Very little time is wasted in the automation process.
  • 16. sahipro.com Try Sahi Pro with a fully functional 1 month trial license Or play with the free Sahi Pro Starter www.sahipro.com @sahipro support@sahipro.com sales@sahipro.com