SlideShare a Scribd company logo
1 of 11
Created by :
Rohan Kachewar
Test suite
Xml data
container
Class
Logs
APPL
Server side
logs
Report
Server
Side
CLI
Log parser
UI
 Overview
 Selenium is a GUI test automation tool for web applications which has two flavors -
Selenium IDE and Selenium Remote Control (RC). Selenium IDE comes with record and
playback facility in form of HTML tables, but that seldom works consistently in
automation projects. So, for scripting test cases with Selenium RC, one needs to write a
generic layer that supports the test scripts. This automation framework provides this
generic, application independent layer, which provides ready to use framework(code)
that would help testers to develop the test cases for their Application under test (any web
UI) faster with minimum scripting required.
 This test automation framework is developed for Selenium Remote Control V0.9.0.
(Herein after, referred to as, ‘Selenium RC’). Currently, the test automation framework for
Selenium consists of following major areas/features:
 UI for Running, Scheduling tests
 Multiple selection of test cases to be run and hence dynamic test suite creation
 Application specific logs
 Validation module
 Adding and deleting test cases is easy due to a centralized data XML containing the
configurable parameters.
 Detailed excel report generation along with mailing module
 Dashboard data graphs generation
Test Suite:
Will run the test suites given through command prompt
,along with basic setup and tear down modules.
 C lass:
 We are using object oriented PERL for designing the framework.
 In Object Oriented PERL a class is a user written package
containing the reusable methods and variables to be used.
 So say for example we are executing a player related test case,
 Then the Class “Player.pm” will contain all the player
related functions and data structures required for running test
cases like player creation with freq 29.97hz, player creation with
freq 30hz and so on.
 Class in turn receives a test case ID from testcase.pl , using which
it withdraws the test case data from a global XML data sheet
“data.xml”.
 Also the class parses the server side logs
 to get the server side data to verify the test case execution.
 XML data container:
 This is a global test data container.
 It contains all the data required by a test case against that test
 Sample:
 <tcs >
 <!--Test Case 1: Release_Specific/ 5.14-6.1.0/ Open_GoP_and_Closed_GoP_Config/
Open_GoP_with_Compatible_MIPs/ 29.97Hz_and_59.94Hz/
59.94Hz_HD_Open_GoP_with_Compatible_MIP-5321_Channel_B_and_QT_Media_Wrapper-
->

 <tc name="tc1" SM="http://administrator:omneon@10.4.183.11/"
media_director="D8_00032" md_ip="10.4.166.79" plname="man1001" mode="Play or Record"
freq="Record:59.94 Play:59.94 or 29.97" filesystem="/fs1/clip.dir" video_track="MPEG-2"
config="Simple" format="Long GOP" opengop="y" media_port="MIP-5321_11738"
control="Manual" tot_audio_channel="default" player_log_file="tc1_player.txt"
tc_log_file="C:snow_leopardtc_log_filetc1.txt" bitrate="52" channel="B"
wrapper="QuickTime (Reference)" video_definition="default">
 </tc>

 Server side Logs:
 This represents the logs of server side utilities like “player
test.exe”
 The data within these is parsed by the log parser method
within the class and is used to verify the test case has been
executed as required or not.
 Test Suite Logs and Mail package :
 These are the test suite logs which will be mailed nightly.
 Application specific logs along with proper tags
i.e. info, warning, critical, failure…etc, and proper time stamp.
20-8-2010 16:19:05 [INFO] Logging Started...
20-8-2010 16:19:05 [INFO] Deleted Earlier Test's Player Test Log File...
20-8-2010 16:19:05 [INFO] Opening SM Application...
20-8-2010 16:19:33 [INFO] Loaded Config Page...
20-8-2010 16:19:35 [INFO] Clicked Player Config Link...
20-8-2010 16:20:13 [INFO] Loaded Player List Page...
20-8-2010 16:20:23 [INFO] Creating a Player with name man1005...
20-8-2010 16:20:28 [INFO] Selected Play or Record mode for man1005
Player ...
20-8-2010 16:20:32 [INFO] Selected Record:59.94 Play:59.94 or 29.97
frequency for man1005 Player …
Snow Leopard

More Related Content

What's hot

JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webapp
Amit Solanki
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
David O'Dowd
 

What's hot (20)

JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webapp
 
Mocking with salesforce using Munit
Mocking with salesforce using MunitMocking with salesforce using Munit
Mocking with salesforce using Munit
 
How we can measure server performance using jmeter?
How we can measure server performance using jmeter?How we can measure server performance using jmeter?
How we can measure server performance using jmeter?
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache Jmeter
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
 
Using JMeter for Performance Testing Live Streaming Applications
Using JMeter for Performance Testing Live Streaming ApplicationsUsing JMeter for Performance Testing Live Streaming Applications
Using JMeter for Performance Testing Live Streaming Applications
 
Jmeter
JmeterJmeter
Jmeter
 
Mxunit
MxunitMxunit
Mxunit
 
Qtp
QtpQtp
Qtp
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeter
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
Introduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-TimeIntroduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-Time
 
Munit junit test case
Munit junit test caseMunit junit test case
Munit junit test case
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmeter
 
Performance testing and reporting with JMeter
Performance testing and reporting with JMeterPerformance testing and reporting with JMeter
Performance testing and reporting with JMeter
 
Test automation
Test automationTest automation
Test automation
 

Similar to Snow Leopard

Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using Ruby
Kumari Warsha Goel
 
Diversified AT Framework - Initial Version
Diversified AT Framework - Initial VersionDiversified AT Framework - Initial Version
Diversified AT Framework - Initial Version
Yu Tao Zhang
 
Performance Test Plan - Sample 1
Performance Test Plan - Sample 1Performance Test Plan - Sample 1
Performance Test Plan - Sample 1
Atul Pant
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
Tricode (part of Dept)
 

Similar to Snow Leopard (20)

Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Bealls florida automation overview
Bealls florida automation overviewBealls florida automation overview
Bealls florida automation overview
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation Framework
 
Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using Ruby
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Protocol
ProtocolProtocol
Protocol
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Mule ctf
Mule  ctfMule  ctf
Mule ctf
 
Load Runner
Load RunnerLoad Runner
Load Runner
 
Sel
SelSel
Sel
 
Diversified AT Framework - Initial Version
Diversified AT Framework - Initial VersionDiversified AT Framework - Initial Version
Diversified AT Framework - Initial Version
 
Advanced Selenium Workshop
Advanced Selenium WorkshopAdvanced Selenium Workshop
Advanced Selenium Workshop
 
System verilog important
System verilog importantSystem verilog important
System verilog important
 
Backtrack Manual Part6
Backtrack Manual Part6Backtrack Manual Part6
Backtrack Manual Part6
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
Joomla Code Quality Control and Automation Testing
Joomla Code Quality Control and Automation TestingJoomla Code Quality Control and Automation Testing
Joomla Code Quality Control and Automation Testing
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
 
Performance Test Plan - Sample 1
Performance Test Plan - Sample 1Performance Test Plan - Sample 1
Performance Test Plan - Sample 1
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
 

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
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
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
 
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
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
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
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
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
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 

Snow Leopard

  • 2. Test suite Xml data container Class Logs APPL Server side logs Report Server Side CLI Log parser UI
  • 3.  Overview  Selenium is a GUI test automation tool for web applications which has two flavors - Selenium IDE and Selenium Remote Control (RC). Selenium IDE comes with record and playback facility in form of HTML tables, but that seldom works consistently in automation projects. So, for scripting test cases with Selenium RC, one needs to write a generic layer that supports the test scripts. This automation framework provides this generic, application independent layer, which provides ready to use framework(code) that would help testers to develop the test cases for their Application under test (any web UI) faster with minimum scripting required.  This test automation framework is developed for Selenium Remote Control V0.9.0. (Herein after, referred to as, ‘Selenium RC’). Currently, the test automation framework for Selenium consists of following major areas/features:  UI for Running, Scheduling tests  Multiple selection of test cases to be run and hence dynamic test suite creation  Application specific logs  Validation module  Adding and deleting test cases is easy due to a centralized data XML containing the configurable parameters.  Detailed excel report generation along with mailing module  Dashboard data graphs generation
  • 4.
  • 5. Test Suite: Will run the test suites given through command prompt ,along with basic setup and tear down modules.
  • 6.  C lass:  We are using object oriented PERL for designing the framework.  In Object Oriented PERL a class is a user written package containing the reusable methods and variables to be used.  So say for example we are executing a player related test case,  Then the Class “Player.pm” will contain all the player related functions and data structures required for running test cases like player creation with freq 29.97hz, player creation with freq 30hz and so on.  Class in turn receives a test case ID from testcase.pl , using which it withdraws the test case data from a global XML data sheet “data.xml”.  Also the class parses the server side logs  to get the server side data to verify the test case execution.
  • 7.  XML data container:  This is a global test data container.  It contains all the data required by a test case against that test  Sample:  <tcs >  <!--Test Case 1: Release_Specific/ 5.14-6.1.0/ Open_GoP_and_Closed_GoP_Config/ Open_GoP_with_Compatible_MIPs/ 29.97Hz_and_59.94Hz/ 59.94Hz_HD_Open_GoP_with_Compatible_MIP-5321_Channel_B_and_QT_Media_Wrapper- ->   <tc name="tc1" SM="http://administrator:omneon@10.4.183.11/" media_director="D8_00032" md_ip="10.4.166.79" plname="man1001" mode="Play or Record" freq="Record:59.94 Play:59.94 or 29.97" filesystem="/fs1/clip.dir" video_track="MPEG-2" config="Simple" format="Long GOP" opengop="y" media_port="MIP-5321_11738" control="Manual" tot_audio_channel="default" player_log_file="tc1_player.txt" tc_log_file="C:snow_leopardtc_log_filetc1.txt" bitrate="52" channel="B" wrapper="QuickTime (Reference)" video_definition="default">  </tc> 
  • 8.  Server side Logs:  This represents the logs of server side utilities like “player test.exe”  The data within these is parsed by the log parser method within the class and is used to verify the test case has been executed as required or not.
  • 9.  Test Suite Logs and Mail package :  These are the test suite logs which will be mailed nightly.
  • 10.  Application specific logs along with proper tags i.e. info, warning, critical, failure…etc, and proper time stamp. 20-8-2010 16:19:05 [INFO] Logging Started... 20-8-2010 16:19:05 [INFO] Deleted Earlier Test's Player Test Log File... 20-8-2010 16:19:05 [INFO] Opening SM Application... 20-8-2010 16:19:33 [INFO] Loaded Config Page... 20-8-2010 16:19:35 [INFO] Clicked Player Config Link... 20-8-2010 16:20:13 [INFO] Loaded Player List Page... 20-8-2010 16:20:23 [INFO] Creating a Player with name man1005... 20-8-2010 16:20:28 [INFO] Selected Play or Record mode for man1005 Player ... 20-8-2010 16:20:32 [INFO] Selected Record:59.94 Play:59.94 or 29.97 frequency for man1005 Player …