SlideShare une entreprise Scribd logo
1  sur  33
Dr Yongyan Wang
hosted by XBOSoft

Test Automation
Framework
XBOSoft info
•
•

Founded in 2006
Dedicated to software quality
•
•

•

Software QA consulting
Software testing services

Offices in San Francisco, Beijing, Oslo and
Amsterdam
From XBOSoft:
Amy

Jan
Housekeeping
•Everyone except the speakers is muted
•Questions via the gotowebinar control on the right side of your
screen
•Questions can be asked throughout the webinar, we’ll try to fit
them in when appropriate
•General Q & A at the end of the webinar
•You will receive info on recording after the webinar
About the Speaker
Dr Yongyan Wang is senior Software QA
for iovation in Portland, Oregon.
He developed the "Inverse Modeling theory"
in his PhD program to guide numerical
simulation to understand generic linear and
no linear problem.
After receiving his PhD, Dr Wang started
working in the software quality assurance
field focusing on test automation.
Dr Wang has extensive experience applying
automation tools, like QTP, Expect and
autoIt to address industrial automation
needs.
Test Automation Framework Demo
by Yongyan Wang PhD

• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Design Principles
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

6
Test Automation Framework Demo
by Yongyan Wang PhD

• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Design Principles
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

7
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Design Principals
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

8
Test Automation Framework
Google keyword: CPAN TAF

•
•
•
•
•
•

TAF is an open source tool and free to everyone
TAF is a generic framework for any repeatable tasks
TAF collaboration tool (QA, Developer, Mgr, Executives)
TAF has a distributed Peer to Peer, plug-in architecture
TAF is language/script/application independent
TAF is a self-contained IDE for test automation dev.

9
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Design Principals
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

10
Test Automation Challenges & Design Principals
• TC Auto is unpredictable: Independency/Adaptive for Change
– Test Type independent (unit test, func test, accept T.,UI test, perf test)
– Test Content independent (Jira, Lab Update, Test env, etc)
– Test Tool independent (QTP, AutoIt, Expect, Perl, Selenium, codeUI)

• Automated TC lacks consistency & hard to debug: Repeatable
– TC code struc to ensure repeatability (TC pre, exec, verify, post Proc)

• Too complicate to run: web UI for everyone
– TAF Web UI is simple and easy to use for everyone from anywhere
(Developer/QA/Support/Mgr/Executives)

11
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Design Principals
• Test Automation Framework Demo for Principles
– Simplicity/Easiness (Installation, TC magnt, and TC Report)
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

12
Simplicity/Easiness (Installation, TC magnt, and TC Report)
• Install Strawberry Perl (youTube: CPAN TAF)
• Install TAF from CPAN (youTube: CPAN TAF)
perl –MCPAN –e “install Test::AutomationFramework”
• Install Test Bed
(youTube: CPAN TAF)
perl –MTest::AutomationFramework –e “help”

13
Simplicity/Easiness (Installation, TC magnt, and TC Report)
•
•
•
•

Automation Organization
Automation Remote Display
Automation Remotely Execution
Report Test Result (P/F, performance and TC logs)

14
Test Framework Web GUI (by going to http://qtp1)

SAE Test Automation Framework by Yongyan Wang

15
Test Framework and different Test Case Types

11/20/13

SAE Test Automation Framework by Yongyan Wang

16
To start TC and to Monitor TC Status

17
Historical Pass/Fail, Perform, Test environ Report

18
Historical TC Logs (by clicking on TC_Lab_C4 link)

19
Test Automation Framework Demo

• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Framework Demo for Principles
– Simplicity/Easiness (Installation, TC magnt, and TC Report)
– Repeatability (Test case structure ensure repeatable)
– Adaptable/Independency/Extensibility (autoIt integration)
– UI user mode and command-line developer mode

20
Repeatability (Test case structure ensure repeatable)
Test case definition (tc.pl)
tc.pl print
“pass|fail|null|number”
generate log “_tcLogAppend.txt”
setup(), execution(), verification(), teardown()
Test suite definition (index.pl)
index.pl [enter] displays each TC description
index.pl [index] executes test case [index]
webUI execution Pattern
Run Test case once or 24/7 till stopped
Run Test suite once or 24/7 till stopped
21
Test Automation Framework Demo

• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Framework Demo for Principles
– Simplicity/Easiness (Installation, TC magnt, and TC Report)
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

22
Independency/Adaptable/Extensibility
Independency/Adaptable/Extensibility
QTP based GUI
Test
Non-GUI Test
TAF
Ta
sk

s

Test Suit (Acceptance Test)

Tools: QTP, AutoIt, Expect,
Selenium, Perl, JavaScript…

Defect Certification
Performance Test
Test Environ Monitoring
Equipment (CMTS/CM)
Monitor

Build Push/Installation
Quality Method: Req Mapping
Quality Method: Jira TC
Metrics
Test Automation Framework Demo

Test Bed Real Time Demo
•

Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

25
Test Automation Framework Demo
• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

26
IDE command-line developer mode
Create Test Suite hook (index.pl)
c:_TAFtaf.pl testsuite=c:testsuite1;generateTAFTestsuite

Integrate Test Suite “e.g. calc test suite”
c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuite

Execute Test Suite/Case
c:_TAFtaf.pl testsuite=autoIttestsuite;exec
c:_TAFtaf.pl testsuite=autoIttestsuite;testcase=testcase0002;exec

Delete Test Suite from webUI
c:_TAFtaf.pl testsuite=c:autoIttestsuite;deleteTAFTestsuite

Capture Test Commands from webUI command
27
Test Suite Integration Example
Test Purpose: calc multiplication works correctly (2*2=4)
autoIt TS format: autoIt3 calc.au3 num1 num2
calc.au3 prints pass/fail and generate _tcLogAppend.txt
TAF test suite hook (index.pl)
Index.pl and index.pl 1

Integrate Test Suite
c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuite

28
TAF Test Bed Revisited
One click access to
• Test suite/case execution, test results and summary
• Test suite/case code, which are “hide” in webUI
• Test case logs, log in logs, url in logs
• TAF configuration and Test bed scripts
• TAF activity commands
• Access other TAF host on the internet

29
Test Automation Framework Demo

• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Framework Demo for Principles
– Simplicity/Easiness - point & click, cut & paste
– Repeatability/Reliability/Reusability/Universal
– Independency/Adaptable/Extensibility
– Self-contained IDE /w command-line developer mode

30
Questions & Answers

Follow us: @XBOSoft
and on Linkedin
Questions at: services@xbosoft.com
To contact Yongyan Wang, PhD

Google : CPAN TAF
Email : ywangperl@gmail.com
phone : 503-593-0582
Thanks for attending
and hope to hear from
you soon!

Contenu connexe

Tendances

Testing Tool Evaluation Criteria
Testing Tool Evaluation CriteriaTesting Tool Evaluation Criteria
Testing Tool Evaluation Criteria
basma_iti_1984
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...
Anmol Bagga
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 

Tendances (20)

Test Automation Tool comparison – HP UFT/QTP vs. Selenium
Test Automation Tool comparison –  HP UFT/QTP vs. SeleniumTest Automation Tool comparison –  HP UFT/QTP vs. Selenium
Test Automation Tool comparison – HP UFT/QTP vs. Selenium
 
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
 
Testing Tool Evaluation Criteria
Testing Tool Evaluation CriteriaTesting Tool Evaluation Criteria
Testing Tool Evaluation Criteria
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Test Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | EdurekaTest Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | Edureka
 
Software testing tools (free and open source)
Software testing tools (free and open source)Software testing tools (free and open source)
Software testing tools (free and open source)
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
 
Test Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutionsTest Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutions
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | Edureka
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
Setup and run automated test framework for android application
Setup and run automated test framework for android applicationSetup and run automated test framework for android application
Setup and run automated test framework for android application
 
Automation test scripting guidelines
Automation test scripting guidelines Automation test scripting guidelines
Automation test scripting guidelines
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutions
 
Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...Smart : Comprehensive and unified framework for test automation of web and mo...
Smart : Comprehensive and unified framework for test automation of web and mo...
 
Selenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework BasicsSelenium Tutorial for Beginners | Automation framework Basics
Selenium Tutorial for Beginners | Automation framework Basics
 
Software test automation_overview
Software test automation_overviewSoftware test automation_overview
Software test automation_overview
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 

En vedette

24 collections framework interview questions
24 collections framework interview questions24 collections framework interview questions
24 collections framework interview questions
Arun Vasanth
 

En vedette (18)

24 collections framework interview questions
24 collections framework interview questions24 collections framework interview questions
24 collections framework interview questions
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Cucumber questions
Cucumber questionsCucumber questions
Cucumber questions
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Selenium for Jobseekers
Selenium for JobseekersSelenium for Jobseekers
Selenium for Jobseekers
 
Laws of test automation framework
Laws of test automation frameworkLaws of test automation framework
Laws of test automation framework
 
Test automation within a scrum process
Test automation within a scrum processTest automation within a scrum process
Test automation within a scrum process
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Realtime selenium interview questions
Realtime selenium interview questionsRealtime selenium interview questions
Realtime selenium interview questions
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 
Key Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework SuccessKey Factors To Ensure Test Automation Framework Success
Key Factors To Ensure Test Automation Framework Success
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Patterns in Test Automation
Patterns in Test AutomationPatterns in Test Automation
Patterns in Test Automation
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
 

Similaire à Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
Azhar Satti
 
Aspires Testing Services Presentation
Aspires Testing Services PresentationAspires Testing Services Presentation
Aspires Testing Services Presentation
Vasanthmusic
 

Similaire à Test Automation Demonstration with Dr Yongyan Wang by XBOSoft (20)

Whitepaper QF-Test: GUI Testing to the edge.
Whitepaper QF-Test: GUI Testing to the edge.Whitepaper QF-Test: GUI Testing to the edge.
Whitepaper QF-Test: GUI Testing to the edge.
 
Neotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga Moorthy
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
 
FUNTASY - Functional testing automated system
FUNTASY - Functional testing automated systemFUNTASY - Functional testing automated system
FUNTASY - Functional testing automated system
 
Oracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JATOracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JAT
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Salesforce Continuous Integration with AutoRABIT
Salesforce Continuous Integration with AutoRABITSalesforce Continuous Integration with AutoRABIT
Salesforce Continuous Integration with AutoRABIT
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Release Automation: Better Quality, Faster Deployment, Amazing ROI
Release Automation: Better Quality, Faster Deployment, Amazing ROIRelease Automation: Better Quality, Faster Deployment, Amazing ROI
Release Automation: Better Quality, Faster Deployment, Amazing ROI
 
Adrian marinica continuous integration in the visual studio world
Adrian marinica   continuous integration in the visual studio worldAdrian marinica   continuous integration in the visual studio world
Adrian marinica continuous integration in the visual studio world
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfTest Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
The DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightThe DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It Right
 
Bdd test automation analysis
Bdd test automation analysisBdd test automation analysis
Bdd test automation analysis
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 
Aspires Testing Services Presentation
Aspires Testing Services PresentationAspires Testing Services Presentation
Aspires Testing Services Presentation
 

Plus de XBOSoft

Agile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvementAgile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvement
XBOSoft
 
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter VarholWhat Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
XBOSoft
 
PSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things EraPSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things Era
XBOSoft
 

Plus de XBOSoft (20)

Agile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvementAgile Metrics to Boost Software Quality improvement
Agile Metrics to Boost Software Quality improvement
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and Zephyr
 
AI Based Test Automation Without AI
AI Based Test Automation Without AIAI Based Test Automation Without AI
AI Based Test Automation Without AI
 
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter VarholWhat Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
 
Agile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into AgileAgile User Acceptance Testing - Incorporating UAT into Agile
Agile User Acceptance Testing - Incorporating UAT into Agile
 
Challenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QAChallenges in Using Big Data for Software QA
Challenges in Using Big Data for Software QA
 
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
 
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive  SQA™ Shifting Left w/Proactive Software Quality PracticesProactive  SQA™ Shifting Left w/Proactive Software Quality Practices
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
 
Mobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft WebinarMobile Testing Challenges and Solutions XBOSoft Webinar
Mobile Testing Challenges and Solutions XBOSoft Webinar
 
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile TeamsHeidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
 
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software TestingXBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
 
PSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things EraPSQT Keynote: Quality Challenges in the Internet of Things Era
PSQT Keynote: Quality Challenges in the Internet of Things Era
 
7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test Istanbul7 Habits of Highly Effective Agile Testing - Test Istanbul
7 Habits of Highly Effective Agile Testing - Test Istanbul
 
Managing Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and UncertaintyManaging Agile Software Projects With Risk and Uncertainty
Managing Agile Software Projects With Risk and Uncertainty
 
Top IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon HagarTop IOT Testing Challenges Webinar with Jon Hagar
Top IOT Testing Challenges Webinar with Jon Hagar
 
Testing in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoftTesting in Agile with Coaching Agile Journeys and XBOSoft
Testing in Agile with Coaching Agile Journeys and XBOSoft
 
Using JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance TestingUsing JMeter and Google Analytics for Software Performance Testing
Using JMeter and Google Analytics for Software Performance Testing
 
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
 
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
 
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip LewWhen Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

  • 1. Dr Yongyan Wang hosted by XBOSoft Test Automation Framework
  • 2. XBOSoft info • • Founded in 2006 Dedicated to software quality • • • Software QA consulting Software testing services Offices in San Francisco, Beijing, Oslo and Amsterdam
  • 4. Housekeeping •Everyone except the speakers is muted •Questions via the gotowebinar control on the right side of your screen •Questions can be asked throughout the webinar, we’ll try to fit them in when appropriate •General Q & A at the end of the webinar •You will receive info on recording after the webinar
  • 5. About the Speaker Dr Yongyan Wang is senior Software QA for iovation in Portland, Oregon. He developed the "Inverse Modeling theory" in his PhD program to guide numerical simulation to understand generic linear and no linear problem. After receiving his PhD, Dr Wang started working in the software quality assurance field focusing on test automation. Dr Wang has extensive experience applying automation tools, like QTP, Expect and autoIt to address industrial automation needs.
  • 6. Test Automation Framework Demo by Yongyan Wang PhD • Test Automation Framework (Google : CPAN TAF) • Test Automation Challenges/Framework Design Principles • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 6
  • 7. Test Automation Framework Demo by Yongyan Wang PhD • Test Automation Framework (Google : CPAN TAF) • Test Automation Challenges/Framework Design Principles • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 7
  • 8. Test Automation Framework Demo • Test Automation Framework (Google : CPAN TAF) • Test Automation Challenges/Framework Design Principals • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 8
  • 9. Test Automation Framework Google keyword: CPAN TAF • • • • • • TAF is an open source tool and free to everyone TAF is a generic framework for any repeatable tasks TAF collaboration tool (QA, Developer, Mgr, Executives) TAF has a distributed Peer to Peer, plug-in architecture TAF is language/script/application independent TAF is a self-contained IDE for test automation dev. 9
  • 10. Test Automation Framework Demo • Test Automation Framework (Google : CPAN TAF) • Test Automation Challenges/Framework Design Principals • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 10
  • 11. Test Automation Challenges & Design Principals • TC Auto is unpredictable: Independency/Adaptive for Change – Test Type independent (unit test, func test, accept T.,UI test, perf test) – Test Content independent (Jira, Lab Update, Test env, etc) – Test Tool independent (QTP, AutoIt, Expect, Perl, Selenium, codeUI) • Automated TC lacks consistency & hard to debug: Repeatable – TC code struc to ensure repeatability (TC pre, exec, verify, post Proc) • Too complicate to run: web UI for everyone – TAF Web UI is simple and easy to use for everyone from anywhere (Developer/QA/Support/Mgr/Executives) 11
  • 12. Test Automation Framework Demo • Test Automation Framework (Google : CPAN TAF) • Test Automation Challenges/Framework Design Principals • Test Automation Framework Demo for Principles – Simplicity/Easiness (Installation, TC magnt, and TC Report) – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 12
  • 13. Simplicity/Easiness (Installation, TC magnt, and TC Report) • Install Strawberry Perl (youTube: CPAN TAF) • Install TAF from CPAN (youTube: CPAN TAF) perl –MCPAN –e “install Test::AutomationFramework” • Install Test Bed (youTube: CPAN TAF) perl –MTest::AutomationFramework –e “help” 13
  • 14. Simplicity/Easiness (Installation, TC magnt, and TC Report) • • • • Automation Organization Automation Remote Display Automation Remotely Execution Report Test Result (P/F, performance and TC logs) 14
  • 15. Test Framework Web GUI (by going to http://qtp1) SAE Test Automation Framework by Yongyan Wang 15
  • 16. Test Framework and different Test Case Types 11/20/13 SAE Test Automation Framework by Yongyan Wang 16
  • 17. To start TC and to Monitor TC Status 17
  • 18. Historical Pass/Fail, Perform, Test environ Report 18
  • 19. Historical TC Logs (by clicking on TC_Lab_C4 link) 19
  • 20. Test Automation Framework Demo • Test Automation Challenges/Framework Design Principals • Test Automation Framework (Google : CPAN TAF) • Test Automation Framework Demo for Principles – Simplicity/Easiness (Installation, TC magnt, and TC Report) – Repeatability (Test case structure ensure repeatable) – Adaptable/Independency/Extensibility (autoIt integration) – UI user mode and command-line developer mode 20
  • 21. Repeatability (Test case structure ensure repeatable) Test case definition (tc.pl) tc.pl print “pass|fail|null|number” generate log “_tcLogAppend.txt” setup(), execution(), verification(), teardown() Test suite definition (index.pl) index.pl [enter] displays each TC description index.pl [index] executes test case [index] webUI execution Pattern Run Test case once or 24/7 till stopped Run Test suite once or 24/7 till stopped 21
  • 22. Test Automation Framework Demo • Test Automation Challenges/Framework Design Principals • Test Automation Framework (Google : CPAN TAF) • Test Automation Framework Demo for Principles – Simplicity/Easiness (Installation, TC magnt, and TC Report) – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 22
  • 24. Independency/Adaptable/Extensibility QTP based GUI Test Non-GUI Test TAF Ta sk s Test Suit (Acceptance Test) Tools: QTP, AutoIt, Expect, Selenium, Perl, JavaScript… Defect Certification Performance Test Test Environ Monitoring Equipment (CMTS/CM) Monitor Build Push/Installation Quality Method: Req Mapping Quality Method: Jira TC Metrics
  • 25. Test Automation Framework Demo Test Bed Real Time Demo • Test Automation Challenges/Framework Design Principals • Test Automation Framework (Google : CPAN TAF) • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 25
  • 26. Test Automation Framework Demo • Test Automation Challenges/Framework Design Principals • Test Automation Framework (Google : CPAN TAF) • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 26
  • 27. IDE command-line developer mode Create Test Suite hook (index.pl) c:_TAFtaf.pl testsuite=c:testsuite1;generateTAFTestsuite Integrate Test Suite “e.g. calc test suite” c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuite Execute Test Suite/Case c:_TAFtaf.pl testsuite=autoIttestsuite;exec c:_TAFtaf.pl testsuite=autoIttestsuite;testcase=testcase0002;exec Delete Test Suite from webUI c:_TAFtaf.pl testsuite=c:autoIttestsuite;deleteTAFTestsuite Capture Test Commands from webUI command 27
  • 28. Test Suite Integration Example Test Purpose: calc multiplication works correctly (2*2=4) autoIt TS format: autoIt3 calc.au3 num1 num2 calc.au3 prints pass/fail and generate _tcLogAppend.txt TAF test suite hook (index.pl) Index.pl and index.pl 1 Integrate Test Suite c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuite 28
  • 29. TAF Test Bed Revisited One click access to • Test suite/case execution, test results and summary • Test suite/case code, which are “hide” in webUI • Test case logs, log in logs, url in logs • TAF configuration and Test bed scripts • TAF activity commands • Access other TAF host on the internet 29
  • 30. Test Automation Framework Demo • Test Automation Challenges/Framework Design Principals • Test Automation Framework (Google : CPAN TAF) • Test Automation Framework Demo for Principles – Simplicity/Easiness - point & click, cut & paste – Repeatability/Reliability/Reusability/Universal – Independency/Adaptable/Extensibility – Self-contained IDE /w command-line developer mode 30
  • 31. Questions & Answers Follow us: @XBOSoft and on Linkedin Questions at: services@xbosoft.com
  • 32. To contact Yongyan Wang, PhD Google : CPAN TAF Email : ywangperl@gmail.com phone : 503-593-0582
  • 33. Thanks for attending and hope to hear from you soon!

Notes de l'éditeur

  1. Clareice: Master’s Degree PMP certification from the Project Management Institute and is a Certified Professional Contracts Manager through the National Contract Management Association (NCMA). She has presented at the National Contract Management Association World Congress. Clyneice: She has participated as an examiner for state quality awards for Georgia and Virginia. She is currently an instructor for the International Institute for Software Testing and has presented technical papers at the Software Engineering Institute: SEPG Conference, American Society for Quality: Quality Manager's conference, Quality Assurance Institute International Testing Conference, International Conference on Software Process Improvement and Software Test and Performance Testing Conferences.
  2. TC failure is a blue-screen, exception, unknown DB status, etc. Throw {} catch {} is hard to implement.