Zhuhai Test Automation Overview Ryan Li Team lead of test automation Foglight QA.

Slides:



Advertisements
Similar presentations
Test Automation: Coded UI Test
Advertisements

An open source QA stack testing tools for agile teams Presented by Aaron Evans
© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
Test Case Management and Results Tracking System October 2008 D E L I V E R I N G Q U A L I T Y (Short Version)
Prashant Lambat Sr. Manager SQA Engineering Symantec Corporation, Pune Date: 29 th January 2011.
<<replace with Customer Logo>>
Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
Automating with Open Source Testing Tools Corey McGarrahan rSmart 01-July-08.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
By SAG Objectives Cross platform QA Automation for web applications Scheduling the automation Automatically build the test scripts Generate the.
Stoimen Stoimenov QA Engineer SitefinityLeads,SitefinityTeam6 Telerik QA Academy Telerik QA Academy.
Story-Based Test Automation Using Free Tools
Mike Azocar Sr. Developer Technical Specialist Microsoft Corporation
Automated Testing Nathan Weiss April 23, Overview History of Testing Advantages to Automated Testing Types of Automated Testing Automated Testing.
 What is Software Testing  Terminologies used in Software testing  Types of Testing  What is Manual Testing  Types of Manual Testing  Process that.
Agile Testing with Testing Anywhere The road to automation need not be long.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
Living Requirements using Behavior Driven Development
Test Automation Best Practices
Desktop and Mobile Testing Miroslav Shtilianov QA Engineer Automated Testing Team Telerik QA Academy
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Automation using Selenium Authored & Presented by : Chinmay Sathe & Amit Prabhu Cybage Software Pvt. Ltd.
QWise software engineering – refactored! Testing, testing A first-look at the new testing capabilities in Visual Studio 2010 Mathias Olausson.
Software Quality Assurance QA Engineering, Testing, Bug Tracking, Test Automation Software University Technical Trainers SoftUni Team.
Background The Encyclopedio of Life (EOL) is an ROR open source project to create a free, online reference source and database for every one of the 1.8.
Behaviour Driven Development with Cucumber for Java.
Working Out with KURL! Shayne Koestler Kinetic Data.
Selenium automated testing in Openbravo ERP Quality Assurance Webinar April 8th, 2010.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Software Testing Life Cycle
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
RUP Implementation and Testing
Introduction to ColdFusion Yu Fu 2003 MEC Candidate.
Computer Emergency Notification System (CENS)
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Web Automation Testing With Selenium By Rajesh Kanade.
Automated Acceptance Testing and Continuous Delivery Larry Apke Agile Expert
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
1 Presentation Title Test-driven development (TDD) Overview David Wu.
BIF713 Operating System Concepts MS Windows. Agenda 1. What is an Operating System (definition)? 2. Types of Operating Systems 3. Basic Operations: –
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
EFFECTIVE QA PROCESS FOR PVC Prepared by:PVC QA Team.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Test Automation Using Selenium Presented by: Shambo Ghosh Ankit Sachan Samapti Sinhamahapatra Akshay Kotawala.
QA Online Training In QA Click Academy. Selenium is a test automation framework used to test web applications such as browsers. It consists of different.
Software Testing-STLC
Introduction to Workbot 2.0 Ryan Li  Test automation  ant the Cucumber.
Ognjen Bajić Ana Roje Ivančić Ekobit Efficient Application Testing.
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
HPE ALM Octane.
Leverage your Business with Selenium Automation Testing
BEHAVIOR DRIVEN DEVELOPMENT / TESTING (BDD)
TEST AUTOMATION IN BDD WAY
JRA2: Acceptance Testing senarious
Software Quality Assurance
Effective way to build test Automation strategy in Agile
Advantages OF BDD Testing
How to automate software with
Real Testing Scenario Strategy: Bringing this all together – Success!
Automated Testing and Integration with CI Tool
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Selenium Web Test Tool Training Using Ruby Language
Agile testing for web API with Postman
Selenium Tutorials Cheyat Training.
Open Source Tool Based Automation solution with Continuous Integration and end to end BDD Implementation Arun Krishnan - Automation Manager Maria Afzal-
Bringing more value out of automation testing
Open Source Tool Based Automation solution with Continuous Integration and end to end BDD Implementation Arun Krishnan - Automation Manager Maria Afzal-
Presentation transcript:

Zhuhai Test Automation Overview Ryan Li Team lead of test automation Foglight QA

Overview

Requirement Collection First Release of Framework Integrate with Webdriver and Cucumber Concurrent Execution Web IDE for Running Test The team was created 2 years ago. Zhuhai test automation mainly focus on building a unify testing environment for tester. We keep providing new features to help tester to reduce effort on manual/performance/load testing. What is Zhuhai test automation?

Team structure Ryan Li (Team lead) xxx (Scripter for PulseNET, FglAM) xxx (Scripter for DME and vFoglight) xxx (Testing tool developer) xxx (Scripter for Foglight, APM)

Project Status 5 Confidential Zhuhai automation currently covering on following projects: Foglight FglAM PulseNET vStorage DME F4VD vFoglight 1EU …

What is Workbot

Introduction to Workbot 7 Confidential Workbot is a testing automation system which provides many pragmatic functions for managing test cases, and setting up test environment for web based application. Here are the main features of Workbot: Platform independent Browser independent Distributed testing and Multitasking

The Features of Test Framework - Workbot What Benefits test automation bring to us? The Zhuhai test automation framework, we call it “Workbot”, the latest release is v3.3.2, and it’s good at the factors below: One-click test environment setup Browser test, it’s available for IE6-10, Firefox 3-latest, Chrome and Safari. Interface test (gray-box test), including web services, http... Distributed log analyst. Command line test. Load test. Performance test.

What Benefits Will Automation Bring to Us? Test automation that doesn’t hurt 9 Confidential EFFICIENCY AGILITY RESILIENCY

What Benefits Will Automation Bring to Us? 10 Confidential Provide a Continues Deployment (CD) environment Improve software quality by reducing time to market Improve reliability and consistency of testing processes Allow manual testers do more complex & more suited for human kinds of tests (exploratory, usability etc.) Enforce SLAs (service level agreements) Ultimate goal is to save your business $$$...

Our Goal Make test more easier 11 Confidential To build a easy-to-use, efficient, effective, distributed testing and multitasking automation environment for QA tester, to removes the tedium of creating the automation infrastructure. On-going automation activities. Automation technical sharing Create documentation (scripting API, user guide) Easy environment setup Easy scheduling Easy reporting – receive report from Encapsulate business logic and create reusable test script libraries …

OS Platform (Windows / Redhat / Mac etc) Components are developed in difference Language Web Tools Lang OS Integrate with cutting edge Testing Tools Server is able to setup on difference Platform Web UI and Services support STAF RSpec Cucumber Selenium JavaRubyJRubyGroovy Gherkin Web ServicesRuby on Rails Chrome Firefox IE Multiple Browser support Workbot System Stack Workbot is a platform and browser independent test framework

Modules of Workbot Test management, report management … 13 Confidential Workbot Test Reports Management Test Cases Management Test Schedule Module User Module VM Management Test Suites Management Report Sender

Testing Automation Working Principle 14 Confidential

Technical

Keyword - Language and Tools What Workbot is composed of 16 Confidential Zhuhai Automation System (Workbot) Ruby Java STAF Cucumber Selenium-Webdriver Ruby on Rails

Three-tier Architecture How does it work? 17 Confidential Feature, written in Gherkin language (tier 3): Scenario: Clicking the add button to show the dialog Given opened 'Dashboards -> foo -> bar' screen using default credentials When I click 'add' button Then the 'Hello' dialog should be displayed Step Definition (tier 2): When /^I click '(.+)' button$/ do |name| Button.new(name, '').click end Core infrastructure (tier 1): class Button < DwrElement # the implementation end

Three-tier Architecture 18 Confidential The core infrastructure (or components) and step definitions are the part of the project, so they should have the same version, we don't treat the components as a library, it's the source code of the test scripts, project team is response for the scenario and the test automation team is for the step definition and component, take the following codes as example, for clicking the 'add' button, script writer says "When I click 'add' button", and when he run the scenario, the framework will pick up the step definition for this step, and execute the code. Because the step definitions and components are done by the test automation team, so script writer no need to care about how it implement (the code in red).

Cucumber A example of scenario (in RubyMine IDE) 19 Confidential

Example of Cucumber Scenario 20 Confidential Feature: support bundle generation In order to see what is going wrong and where is the problem As a administrator I want to generate a Scenario: generate support bundle Given opened 'Homes -> Administration' screen using default credentials Then 'Administration' screen should be displayed When I click 'Support' link Then 'Support' screen should be displayed When I click 'Generate Support Bundle' link Then 'Create Support Bundle Confirmation' dialog should be displayed When I click 'Yes' button in 'Create Support Bundle Confirmation' dialog Then 'Generate a support bundle' dialog should be displayed And 'Your support bundle was created successfully.' message should be displayed Type of tests: smoke, regression etc. Author: the name of scenario writer The tag mean this scenario have been done and ready for execution Type of tests: smoke, regression etc. Author: the name of scenario writer The tag mean this scenario have been done and ready for execution

Cucumber The component that makes automation more easier 21 Confidential I think you may ask why we need Gherkin? That's because Gherkin is a business-readable domain-specific language (DSL) for behavior-driven development (BDD), and it's business-readable for not only project owner, but also customer, developer and QA etc. Moreover, it's good for test automation, we can use a tool called Cucumber to execute plain-text functional descriptions as automated tests. And Gherkin is the language that Cucumber understands. It is a Business Readable, DSL that lets you describe software’s behavior without detailing how that behavior is implemented. Here is an example, a feature file may contains one or more scenarios.business-readable domain-specific language

Reporting

Workbot Test Result 23 Confidential Features will be used for acceptance / smoke / regression test (for more detailed information of test configuration, it will be introduced in another document), the test automation will be trigged by Jenkins and the test report will be send via when the new build is ready.

Receiving Test Result 24 Confidential We receive test result everyday from mailbox

Receiving Test Result 25 Confidential From detailed message page, we can very easily to locate the problem by screenshot

Automation Work Process

QA Work Process Review QA use Agile process to manage the daily test activity 27 Confidential Example project for reference:

Scrum Process with Test Automation QA use Agile process to manage the daily test activity 28 Confidential

The Over View of Current Scrum Process 29 Confidential The diagram above shows us the Scrum process that we are using currently, we discuss product backlog at the beginning of every spring to let everybody get familiar with requirement, for supporting the QA and automation join our process, the REQ (requirement in JIRA) writer need to use Gherkin language to write down requirement, fortunately, the format of Gherkin language and our REQ description is very similar.

Scenario Process 30 Confidential Focus on the scenario (Although it’s a failing scenario, but no worry ) Review the scenario, and see if it can be automated Writing step definition When step definition completed, it means the scenario should be easy to read and PASS in the test, then to the scenario

QA – Start Point 31 Confidential QA uses JIRA issue for tracking requirement as well as defect, to create relation between issue and scenario, we usually add the link to the scenario in JIRA issue: Add link to the scenario

Managing Test Scenario 32 Confidential Click the link in PR and browse the scenario

Composing and Executing Scenarios 33 Confidential Online Scenario Editing

Planning

What we need to do next? 35 Confidential Workbot has provided us a very easy-to-use test automation environment, but it’s still not enough. For composing scenario, case writer need to spend time to setup their development environment, and moreover, it’s not easy to getting start, there are so many step they need to remember, to solve this problem, there is a application called “Recubot”, it provide a online IDE that tester no necessary to setup there develop environment, and this server will response for executing the test.

Dashboard of Recubot 36 Confidential This is the screenshot of Recubot, scenario writing is able to manage their test scenarios, and execute test case just by clicking the “Run” button in browser

Thank you! 37 Confidential