SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Selenium Automation 
Framework 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions 
Date: 1/08/2014
About Me : 
Total Experience:- 3.5 years 
Companies: Qualitree Solutions Pvt. Ltd. 
PointCross.com Pvt. Ltd. 
Certification:- Vskills(VS-1083) Selenium Certification 
Skills :- Selenium RC, Selenium WebDriver, QTP, Manual 
Testing,SQL 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
AGENDA / Topic INDEX 
--> What is Automation Framework? 
--> Why Automation Framework? 
--> Types of Automation Famework 
--> Modular Framework 
--> DataDriven Framework 
--> Hybrid Framework 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
-->What is Automation Framework? 
A test automation framework is a set of 
assumptions,concepts, and practices that provide support 
for automated software testing. 
So is a framework or methodology built to successfully 
carry out test automation 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
Why Automation Framework? 
1. To have control over the testcases to be executed. 
2. To get Customized Test Execution Report. 
3. For better maintenance of testdata and test objects 
(Low Cost maintenance) 
4. Comprehensive coverage against requiremrnts. 
5. Execution of testcase with multiple sets of data. 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions 
Types Of Framework 
--------------------------------- 
1. Modular Framework 
2. DataDriven Framework 
3. Keyword Driven Framework 
4. Hybrid Framework
Modular Framework 
----------------------------- 
modularity framework requires the creation of small, 
independent scripts that represent modules, sections, 
and functions of the application-under-test. These small 
scripts are then used in a hierarchical fashion to construct 
larger tests, realizing a particular test case. 
It is almost similar to record and playback feature. 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
Data Driven Framework 
-------------------------------- 
It facilitates reusability of a function or a test. Using 
DataDriven a frame work you can write a method and use 
it several times, It also enables you to run multiples sets 
of data. 
UserName Password 
admin admin 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
Code For fetching data from excel sheet 
------------------------------------------------------- 
public String getCellData(String sheetName, String colName, int rowNum) throws 
Exception{ 
String path = System.getProperty("user.dir"); 
System.out.println("Path :"+path); 
try{ 
Workbook workbook = Workbook.getWorkbook(new 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions 
File(path+"testdatatestdata.xls")); 
Sheet sheet = workbook.getSheet(sheetName); 
int i=0; 
int colNum; 
for(i=0; i<sheet.getColumns(); i++){ 
if(sheet.getCell(i,0).getContents().equals(colName)){ 
break; 
} 
} 
colNum = i; 
Cell cell = sheet.getCell(colNum, rowNum); 
String cellContents = cell.getContents(); 
System.out.println("CellContents="+cellContents); 
return cellContents; 
}catch(BiffException getCellDataException){ 
System.out.println("Error While fetching data from Excel 
Sheet :"+getCellDataException.getMessage()); 
return "Fail :"+getCellDataException.getMessage(); 
} 
}
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions 
Hybrid Framework 
--------------------------------
Question and 
Answer 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
http://www.automationframework.info/
Thank you 
Presenter: Rajendra Narayan Mahapatra, 
Mindfire Solutions
www.mindfiresolutions.com 
https://www.facebook.com/MindfireSolutions 
http://www.linkedin.com/company/mindfire-solutions 
http://twitter.com/mindfires

Weitere ähnliche Inhalte

Was ist angesagt?

ATLAS Automation POC
ATLAS Automation POCATLAS Automation POC
ATLAS Automation POC
aakashmc
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 

Was ist angesagt? (20)

Setting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation FrameworkSetting up Page Object Model in Automation Framework
Setting up Page Object Model in Automation Framework
 
Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Page Object Model and Implementation in Selenium
Page Object Model and Implementation in Selenium  Page Object Model and Implementation in Selenium
Page Object Model and Implementation in Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test automation
Test automationTest automation
Test automation
 
ATLAS Automation POC
ATLAS Automation POCATLAS Automation POC
ATLAS Automation POC
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Data Driven Framework in Selenium
Data Driven Framework in SeleniumData Driven Framework in Selenium
Data Driven Framework in Selenium
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 

Andere mochten auch

Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
srivinayak
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
Maveryx
 
Introduction to the INTEGRAL FRAMEWORK
Introduction to the INTEGRAL FRAMEWORKIntroduction to the INTEGRAL FRAMEWORK
Introduction to the INTEGRAL FRAMEWORK
Karthik Subramanian
 

Andere mochten auch (17)

Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
 
2 selenium-aakar gupte
2 selenium-aakar gupte2 selenium-aakar gupte
2 selenium-aakar gupte
 
Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).Selenium Automation Framework (SAF).
Selenium Automation Framework (SAF).
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Patterns in Test Automation
Patterns in Test AutomationPatterns in Test Automation
Patterns in Test Automation
 
Deployment automation framework with selenium
Deployment automation framework with seleniumDeployment automation framework with selenium
Deployment automation framework with selenium
 
Introduction to the integral framework
Introduction to the integral frameworkIntroduction to the integral framework
Introduction to the integral framework
 
Introduction to the INTEGRAL FRAMEWORK
Introduction to the INTEGRAL FRAMEWORKIntroduction to the INTEGRAL FRAMEWORK
Introduction to the INTEGRAL FRAMEWORK
 
Nasdanika WebTest - Modular functional testing of Web and Mobile Applications
Nasdanika WebTest - Modular functional testing of Web and Mobile ApplicationsNasdanika WebTest - Modular functional testing of Web and Mobile Applications
Nasdanika WebTest - Modular functional testing of Web and Mobile Applications
 
selenium-cucumber
selenium-cucumberselenium-cucumber
selenium-cucumber
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftTest Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
 

Ähnlich wie Selenium Automation Framework

Ahesanali Vijapura - QA Manager
Ahesanali Vijapura - QA ManagerAhesanali Vijapura - QA Manager
Ahesanali Vijapura - QA Manager
ahesanvijapura
 
Surekha_haoop_exp
Surekha_haoop_expSurekha_haoop_exp
Surekha_haoop_exp
surekhakadi
 
Quality attributes testing. From Architecture to test acceptance
Quality attributes testing. From Architecture to test acceptanceQuality attributes testing. From Architecture to test acceptance
Quality attributes testing. From Architecture to test acceptance
IT Weekend
 
Data mining techniques using weka
Data mining techniques using wekaData mining techniques using weka
Data mining techniques using weka
Prashant Menon
 
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
yishengxi
 
CV_SyedShoeb_2015
CV_SyedShoeb_2015CV_SyedShoeb_2015
CV_SyedShoeb_2015
Syed Shoeb
 

Ähnlich wie Selenium Automation Framework (20)

Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | Edureka
 
Test automation within a scrum process
Test automation within a scrum processTest automation within a scrum process
Test automation within a scrum process
 
Shuvam dutta
Shuvam duttaShuvam dutta
Shuvam dutta
 
Oracle demantra online training
Oracle demantra online trainingOracle demantra online training
Oracle demantra online training
 
Majitha_Resume_QA
Majitha_Resume_QAMajitha_Resume_QA
Majitha_Resume_QA
 
Shuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance tester
 
Ahesanali Vijapura - QA Manager
Ahesanali Vijapura - QA ManagerAhesanali Vijapura - QA Manager
Ahesanali Vijapura - QA Manager
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Surekha_haoop_exp
Surekha_haoop_expSurekha_haoop_exp
Surekha_haoop_exp
 
Oracle Demantra Training
 Oracle Demantra Training Oracle Demantra Training
Oracle Demantra Training
 
Test automation
Test automationTest automation
Test automation
 
RAMP_FINAL_ppt
RAMP_FINAL_pptRAMP_FINAL_ppt
RAMP_FINAL_ppt
 
Quality attributes testing. From Architecture to test acceptance
Quality attributes testing. From Architecture to test acceptanceQuality attributes testing. From Architecture to test acceptance
Quality attributes testing. From Architecture to test acceptance
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Data mining techniques using weka
Data mining techniques using wekaData mining techniques using weka
Data mining techniques using weka
 
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
 
PraveenResumeNewL
PraveenResumeNewLPraveenResumeNewL
PraveenResumeNewL
 
BA Resume
BA  ResumeBA  Resume
BA Resume
 
CV_SyedShoeb_2015
CV_SyedShoeb_2015CV_SyedShoeb_2015
CV_SyedShoeb_2015
 

Mehr von Mindfire Solutions

Mehr von Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Kürzlich hochgeladen

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 

Kürzlich hochgeladen (20)

%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 

Selenium Automation Framework

  • 1. Selenium Automation Framework Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions Date: 1/08/2014
  • 2. About Me : Total Experience:- 3.5 years Companies: Qualitree Solutions Pvt. Ltd. PointCross.com Pvt. Ltd. Certification:- Vskills(VS-1083) Selenium Certification Skills :- Selenium RC, Selenium WebDriver, QTP, Manual Testing,SQL Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 3. AGENDA / Topic INDEX --> What is Automation Framework? --> Why Automation Framework? --> Types of Automation Famework --> Modular Framework --> DataDriven Framework --> Hybrid Framework Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 4. -->What is Automation Framework? A test automation framework is a set of assumptions,concepts, and practices that provide support for automated software testing. So is a framework or methodology built to successfully carry out test automation Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 5. Why Automation Framework? 1. To have control over the testcases to be executed. 2. To get Customized Test Execution Report. 3. For better maintenance of testdata and test objects (Low Cost maintenance) 4. Comprehensive coverage against requiremrnts. 5. Execution of testcase with multiple sets of data. Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 6. Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions Types Of Framework --------------------------------- 1. Modular Framework 2. DataDriven Framework 3. Keyword Driven Framework 4. Hybrid Framework
  • 7. Modular Framework ----------------------------- modularity framework requires the creation of small, independent scripts that represent modules, sections, and functions of the application-under-test. These small scripts are then used in a hierarchical fashion to construct larger tests, realizing a particular test case. It is almost similar to record and playback feature. Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 8. Data Driven Framework -------------------------------- It facilitates reusability of a function or a test. Using DataDriven a frame work you can write a method and use it several times, It also enables you to run multiples sets of data. UserName Password admin admin Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 9. Code For fetching data from excel sheet ------------------------------------------------------- public String getCellData(String sheetName, String colName, int rowNum) throws Exception{ String path = System.getProperty("user.dir"); System.out.println("Path :"+path); try{ Workbook workbook = Workbook.getWorkbook(new Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions File(path+"testdatatestdata.xls")); Sheet sheet = workbook.getSheet(sheetName); int i=0; int colNum; for(i=0; i<sheet.getColumns(); i++){ if(sheet.getCell(i,0).getContents().equals(colName)){ break; } } colNum = i; Cell cell = sheet.getCell(colNum, rowNum); String cellContents = cell.getContents(); System.out.println("CellContents="+cellContents); return cellContents; }catch(BiffException getCellDataException){ System.out.println("Error While fetching data from Excel Sheet :"+getCellDataException.getMessage()); return "Fail :"+getCellDataException.getMessage(); } }
  • 10. Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions Hybrid Framework --------------------------------
  • 11. Question and Answer Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions
  • 13. Thank you Presenter: Rajendra Narayan Mahapatra, Mindfire Solutions