Dr Yongyan Wang
hosted by XBOSoft

Test Automation
Framework
XBOSoft info
•
•

Founded in 2006
Dedicated to software quality
•
•

•

Software QA consulting
Software testing services

...
From XBOSoft:
Amy

Jan
Housekeeping
•Everyone except the speakers is muted
•Questions via the gotowebinar control on the right side of your
scree...
About the Speaker
Dr Yongyan Wang is senior Software QA
for iovation in Portland, Oregon.
He developed the "Inverse Modeli...
Test Automation Framework Demo
by Yongyan Wang PhD

• Test Automation Framework (Google : CPAN TAF)
• Test Automation Chal...
Test Automation Framework Demo
by Yongyan Wang PhD

• Test Automation Framework (Google : CPAN TAF)
• Test Automation Chal...
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Desi...
Test Automation Framework
Google keyword: CPAN TAF

•
•
•
•
•
•

TAF is an open source tool and free to everyone
TAF is a ...
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Desi...
Test Automation Challenges & Design Principals
• TC Auto is unpredictable: Independency/Adaptive for Change
– Test Type in...
Test Automation Framework Demo
• Test Automation Framework (Google : CPAN TAF)
• Test Automation Challenges/Framework Desi...
Simplicity/Easiness (Installation, TC magnt, and TC Report)
• Install Strawberry Perl (youTube: CPAN TAF)
• Install TAF fr...
Simplicity/Easiness (Installation, TC magnt, and TC Report)
•
•
•
•

Automation Organization
Automation Remote Display
Aut...
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 (Goog...
Repeatability (Test case structure ensure repeatable)
Test case definition (tc.pl)
tc.pl print
“pass|fail|null|number”
gen...
Test Automation Framework Demo

• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Goog...
Independency/Adaptable/Extensibility
Independency/Adaptable/Extensibility
QTP based GUI
Test
Non-GUI Test
TAF
Ta
sk

s

Test Suit (Acceptance Test)

Tools: QTP...
Test Automation Framework Demo

Test Bed Real Time Demo
•

Test Automation Challenges/Framework Design Principals
• Test A...
Test Automation Framework Demo
• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Googl...
IDE command-line developer mode
Create Test Suite hook (index.pl)
c:_TAFtaf.pl testsuite=c:testsuite1;generateTAFTestsuite...
Test Suite Integration Example
Test Purpose: calc multiplication works correctly (2*2=4)
autoIt TS format: autoIt3 calc.au...
TAF Test Bed Revisited
One click access to
• Test suite/case execution, test results and summary
• Test suite/case code, w...
Test Automation Framework Demo

• Test Automation Challenges/Framework Design Principals
• Test Automation Framework (Goog...
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!
Upcoming SlideShare
Loading in …5
×

Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

1,072 views

Published on

TAF- Test Automation Framework developed by Dr Yongyan Wang.
See demo and webinar on Youtube- hosted by XBOSoft- software quality improvement.
http://youtube/Y0KtYJRNjuQ

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,072
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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.
  • TC failure is a blue-screen, exception, unknown DB status, etc. Throw {} catch {} is hard to implement.
  • Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

    1. 1. Dr Yongyan Wang hosted by XBOSoft Test Automation Framework
    2. 2. XBOSoft info • • Founded in 2006 Dedicated to software quality • • • Software QA consulting Software testing services Offices in San Francisco, Beijing, Oslo and Amsterdam
    3. 3. From XBOSoft: Amy Jan
    4. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 15. Test Framework Web GUI (by going to http://qtp1) SAE Test Automation Framework by Yongyan Wang 15
    16. 16. Test Framework and different Test Case Types 11/20/13 SAE Test Automation Framework by Yongyan Wang 16
    17. 17. To start TC and to Monitor TC Status 17
    18. 18. Historical Pass/Fail, Perform, Test environ Report 18
    19. 19. Historical TC Logs (by clicking on TC_Lab_C4 link) 19
    20. 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. 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. 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
    23. 23. Independency/Adaptable/Extensibility
    24. 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. 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. 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. 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. 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. 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. 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. 31. Questions & Answers Follow us: @XBOSoft and on Linkedin Questions at: services@xbosoft.com
    32. 32. To contact Yongyan Wang, PhD Google : CPAN TAF Email : ywangperl@gmail.com phone : 503-593-0582
    33. 33. Thanks for attending and hope to hear from you soon!

    ×