Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

of 33 /33
Dr Yongyan Wang hosted by XBOSoft Test Automation Framework

Embed Size (px)

description

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

Transcript of Test Automation Demonstration with Dr Yongyan Wang by XBOSoft

  • 1. Dr Yongyan Wang hosted by XBOSoftTest Automation Framework

2. XBOSoft info Founded in 2006 Dedicated to software quality Software QA consulting Software testing servicesOffices in San Francisco, Beijing, Oslo and Amsterdam 3. From XBOSoft: AmyJan 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, well 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 mode6 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 mode7 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 mode8 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 mode10 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 mode12 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 help13 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 Wang15 16. Test Framework and different Test Case Types11/20/13SAE Test Automation Framework by Yongyan Wang16 17. To start TC and to Monitor TC Status17 18. Historical Pass/Fail, Perform, Test environ Report18 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 mode20 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 mode22 23. Independency/Adaptable/Extensibility 24. Independency/Adaptable/Extensibility QTP based GUI Test Non-GUI Test TAF Ta sksTest Suit (Acceptance Test)Tools: QTP, AutoIt, Expect, Selenium, Perl, JavaScriptDefect Certification Performance Test Test Environ Monitoring Equipment (CMTS/CM) MonitorBuild Push/Installation Quality Method: Req Mapping Quality Method: Jira TC Metrics 25. Test Automation Framework DemoTest 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 mode25 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 mode26 27. IDE command-line developer mode Create Test Suite hook (index.pl) c:_TAFtaf.pl testsuite=c:testsuite1;generateTAFTestsuiteIntegrate Test Suite e.g. calc test suite c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuiteExecute Test Suite/Case c:_TAFtaf.pl testsuite=autoIttestsuite;exec c:_TAFtaf.pl testsuite=autoIttestsuite;testcase=testcase0002;execDelete Test Suite from webUI c:_TAFtaf.pl testsuite=c:autoIttestsuite;deleteTAFTestsuiteCapture 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 1Integrate Test Suite c:_TAFtaf.pl testsuite=c:autoIttestsuite;generateTAFTestsuite28 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 internet29 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 mode30 31. Questions & AnswersFollow us: @XBOSoft and on Linkedin Questions at: [email protected] 32. To contact Yongyan Wang, PhDGoogle : CPAN TAF Email : [email protected] phone : 503-593-0582 33. Thanks for attending and hope to hear from you soon!