SlideShare a Scribd company logo
A Test Data-driven Test Framework  with  Watir and Rasta Presented to the Austin Workshop on Automated Testing by Gregg Yows Sr. Test Automation Engineer Texas Windstorm Insurance Agency
AUT – Unique Characteristics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
AUT – Workflow ,[object Object],[object Object],[object Object],Step 3 Step 2 Step 1 Step 4 Step 5 ,[object Object],[object Object],[object Object]
TFAT(WP) - Components Fixture Code Test Driver Spreadsheet (Inputs / Outputs)
TFAT(WP) - Components Fixture Code Subcomponents Main Fixtures Helper Classes GUI Map
TFAT(WP) - Components Fixture Code – Main Fixtures Require Rasta, Watir and helper files Class name matches worksheet tab Accessors required for all attributes from spreadsheet used in fixture Includes (Watir, Rasta) Setup/Teardown methods (similar to FIT) Test methods (called from spreadsheet via Rasta)
TFAT(WP) - Components Fixture Code Subcomponents – Helper Libraries Helper methods Database Helpers
TFAT(WP) - Components Fixture Code Subcomponents – GUI Map Method to ID HTML element Method to “act” on element if exists.  Data to populate field passed from spreadsheet via test fixture
TFAT(WP) - Components Test Driver Spreadsheet – Data Page Elements Page Element Data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Tests ,[object Object],[object Object],Assertions ,[object Object],[object Object],[object Object]
TFAT(WP) - Components Test Driver Spreadsheet – Configurability Linked Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object]
TFAT(WP) – In Action! AUT Play AUT Screen cast
TFAT(WP) – In Action! Framework Play Spreadsheet Screen cast

More Related Content

What's hot

Pa chapter08-testing integrating-the_programs-cs_390
Pa chapter08-testing integrating-the_programs-cs_390Pa chapter08-testing integrating-the_programs-cs_390
Pa chapter08-testing integrating-the_programs-cs_390
Rana Tallal
 

What's hot (18)

The Application of Feature Manipulation Engine (FME) to Maintain Quality Cont...
The Application of Feature Manipulation Engine (FME) to Maintain Quality Cont...The Application of Feature Manipulation Engine (FME) to Maintain Quality Cont...
The Application of Feature Manipulation Engine (FME) to Maintain Quality Cont...
 
Data Profile Test Plan
Data Profile Test PlanData Profile Test Plan
Data Profile Test Plan
 
ETL Validator: Table to Table Comparison
ETL Validator: Table to Table ComparisonETL Validator: Table to Table Comparison
ETL Validator: Table to Table Comparison
 
Importing Queries using Mass Import Tool
Importing Queries using Mass Import ToolImporting Queries using Mass Import Tool
Importing Queries using Mass Import Tool
 
ETL Validator: Testing for Referential Integrity
ETL Validator: Testing for Referential IntegrityETL Validator: Testing for Referential Integrity
ETL Validator: Testing for Referential Integrity
 
ETL Validator: Flat File Validation
ETL Validator: Flat File ValidationETL Validator: Flat File Validation
ETL Validator: Flat File Validation
 
ETL Validator: Metadata Comparison Test Plan
ETL Validator: Metadata Comparison Test PlanETL Validator: Metadata Comparison Test Plan
ETL Validator: Metadata Comparison Test Plan
 
Component Test Case Wizard in ETL Validator
Component Test Case Wizard in ETL ValidatorComponent Test Case Wizard in ETL Validator
Component Test Case Wizard in ETL Validator
 
ETL Validator: Referential integrity Testing
ETL Validator: Referential integrity TestingETL Validator: Referential integrity Testing
ETL Validator: Referential integrity Testing
 
ETL Validator: Component Test Case Wizard
ETL Validator: Component Test Case WizardETL Validator: Component Test Case Wizard
ETL Validator: Component Test Case Wizard
 
Data validation option
Data validation optionData validation option
Data validation option
 
Quality Center En V0.2
Quality Center En V0.2Quality Center En V0.2
Quality Center En V0.2
 
Testcase
TestcaseTestcase
Testcase
 
Automated Quality Controls with FME
Automated Quality Controls with FMEAutomated Quality Controls with FME
Automated Quality Controls with FME
 
Model based testing as a BA tool
Model based testing as a BA toolModel based testing as a BA tool
Model based testing as a BA tool
 
Pa chapter08-testing integrating-the_programs-cs_390
Pa chapter08-testing integrating-the_programs-cs_390Pa chapter08-testing integrating-the_programs-cs_390
Pa chapter08-testing integrating-the_programs-cs_390
 
Raising the value of your unit tests
Raising the value of your unit testsRaising the value of your unit tests
Raising the value of your unit tests
 
The Notion of A/A Testing
The Notion of A/A TestingThe Notion of A/A Testing
The Notion of A/A Testing
 

Viewers also liked (7)

Unofficial Transiscript.
Unofficial Transiscript.Unofficial Transiscript.
Unofficial Transiscript.
 
好莱坞科幻电影中的基督原型
好莱坞科幻电影中的基督原型好莱坞科幻电影中的基督原型
好莱坞科幻电影中的基督原型
 
จักรกลของร่างกาย 08 สมอง
จักรกลของร่างกาย 08 สมองจักรกลของร่างกาย 08 สมอง
จักรกลของร่างกาย 08 สมอง
 
Alec wi weber_media_baseball_game
Alec wi weber_media_baseball_gameAlec wi weber_media_baseball_game
Alec wi weber_media_baseball_game
 
Deborah jeff pp survey final
Deborah jeff   pp survey finalDeborah jeff   pp survey final
Deborah jeff pp survey final
 
CLAT Magazine
CLAT MagazineCLAT Magazine
CLAT Magazine
 
What's a Core Image? An Image-Processing Framework on iOS and OS X
What's a Core Image? An Image-Processing Framework on iOS and OS XWhat's a Core Image? An Image-Processing Framework on iOS and OS X
What's a Core Image? An Image-Processing Framework on iOS and OS X
 

Similar to TFAT External

Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
David P Brown - Phoenix ATB 2014-11-18
David P Brown - Phoenix ATB 2014-11-18David P Brown - Phoenix ATB 2014-11-18
David P Brown - Phoenix ATB 2014-11-18
David P Brown
 
Struts Intro Course(1)
Struts Intro Course(1)Struts Intro Course(1)
Struts Intro Course(1)
wangjiaz
 
Automation White Paper V2
Automation White Paper V2Automation White Paper V2
Automation White Paper V2
Mark Blair
 

Similar to TFAT External (20)

Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
Test automation process
Test automation processTest automation process
Test automation process
 
About Qtp_1 92
About Qtp_1 92About Qtp_1 92
About Qtp_1 92
 
About Qtp 92
About Qtp 92About Qtp 92
About Qtp 92
 
About QTP 9.2
About QTP 9.2About QTP 9.2
About QTP 9.2
 
V-TEST
V-TESTV-TEST
V-TEST
 
Test Automation Frameworks Final
Test Automation Frameworks   FinalTest Automation Frameworks   Final
Test Automation Frameworks Final
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 
Getting the Most out of Data Page and Rich Data Definition in Portlet Factory
Getting the Most out of Data Page and Rich Data Definition in Portlet FactoryGetting the Most out of Data Page and Rich Data Definition in Portlet Factory
Getting the Most out of Data Page and Rich Data Definition in Portlet Factory
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
 
David P Brown - Phoenix ATB 2014-11-18
David P Brown - Phoenix ATB 2014-11-18David P Brown - Phoenix ATB 2014-11-18
David P Brown - Phoenix ATB 2014-11-18
 
Component and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHPComponent and Event-Driven Architectures in PHP
Component and Event-Driven Architectures in PHP
 
2 fitnesse
2 fitnesse2 fitnesse
2 fitnesse
 
Struts Intro Course(1)
Struts Intro Course(1)Struts Intro Course(1)
Struts Intro Course(1)
 
Testware Hierarchy for Test Automation
Testware Hierarchy for Test AutomationTestware Hierarchy for Test Automation
Testware Hierarchy for Test Automation
 
Automation White Paper V2
Automation White Paper V2Automation White Paper V2
Automation White Paper V2
 
QuerySurge integration with ETL / DataStage
QuerySurge integration with ETL / DataStageQuerySurge integration with ETL / DataStage
QuerySurge integration with ETL / DataStage
 
The first looks at VSTS2010
The first looks at VSTS2010The first looks at VSTS2010
The first looks at VSTS2010
 
QTP Tutorial Slides Presentation.
QTP Tutorial Slides Presentation.QTP Tutorial Slides Presentation.
QTP Tutorial Slides Presentation.
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
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...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
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
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
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...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 

TFAT External

  • 1. A Test Data-driven Test Framework with Watir and Rasta Presented to the Austin Workshop on Automated Testing by Gregg Yows Sr. Test Automation Engineer Texas Windstorm Insurance Agency
  • 2.
  • 3.
  • 4. TFAT(WP) - Components Fixture Code Test Driver Spreadsheet (Inputs / Outputs)
  • 5. TFAT(WP) - Components Fixture Code Subcomponents Main Fixtures Helper Classes GUI Map
  • 6. TFAT(WP) - Components Fixture Code – Main Fixtures Require Rasta, Watir and helper files Class name matches worksheet tab Accessors required for all attributes from spreadsheet used in fixture Includes (Watir, Rasta) Setup/Teardown methods (similar to FIT) Test methods (called from spreadsheet via Rasta)
  • 7. TFAT(WP) - Components Fixture Code Subcomponents – Helper Libraries Helper methods Database Helpers
  • 8. TFAT(WP) - Components Fixture Code Subcomponents – GUI Map Method to ID HTML element Method to “act” on element if exists. Data to populate field passed from spreadsheet via test fixture
  • 9.
  • 10.
  • 11. TFAT(WP) – In Action! AUT Play AUT Screen cast
  • 12. TFAT(WP) – In Action! Framework Play Spreadsheet Screen cast