Course Automated Testing - up1/training-courses GitHub Wiki

Automated testing for Web application

วัตถุประสงค์

Robot Framework is a test automation framework that much easier to learn than other tools
because your test scripts are written with any language words instead of code.

If you are already an experienced user of others test automation framework, you will quickly learn Robot Framework .

This course will provides
- Overview of Robot Framework
- How to install and configure Robot Framework plus library for Selenium, API and more
- Create and run the test script automation
- How to write good, readable, flexible, maintainable the test script automation
- How to setup the continuous integration server with Jenkins to run the automation test

ระยะเวลาฝึกอบรม

  • 2 วัน

ประโยชน์ที่คาดว่าจะได้รับ หลักสูตรนี้เหมาะสำหรับ:

  • BA
  • QA/Tester
  • Developer

ความรู้พื้นฐาน:

  • Web development and technology

วิธีการเช็ทอุปกรณ์ และสเปคเครื่องใช้ในการอบรม

เนื้อหาการอบรม :

  • Introduction to Acceptance Test-Driven Development (ATDD)
  • What about Test Automation framework
  • Introduction to Robot Framework
    • Installation and Configuration Robot Framework
    • Installation and Configuration Text Editor
    • Create and Run a first test script
    • How to write good test script
      • Make test script more readable
      • Refactoring test script
    • Workshop
  • Features of Robot Framework
    • Create Variables
    • Using Tagging
    • How to manage test data
    • Working with multiple browser such as Google Chrome, Internet Explore and Firefox
    • Learn more Libraries of Robot Framework such as Building, String, Collections and Screenshot
    • Workshop
  • Advance features of Robot Framework
    • How to use command line
    • Test Life cycle (Setup and Teardown)
    • Data-driven testing
    • Maintainable test script with Page Object Pattern
    • Workshop
  • Continuous Integration process
    • Introduction to Continuous Integration
    • Practices of Continuous Integration
    • Design the build pipeline of delivery processes
    • Installation and Configuration the Continuous Integration Server with Jenkins
    • Create new build pipeline in Jenkins
    • Run test script of Robot Framework in Jenkins
    • Generate test reports
    • Workshop

Automated testing for APIs (HTTP, REST API)

วัตถุประสงค์

ระยะเวลาฝึกอบรม

  • 2 วัน

ประโยชน์ที่คาดว่าจะได้รับ

  • ความรู้ความเข้าใจเกี่ยวกับ API ในรูปแบบต่าง ๆ เช่น WebServices และ REST API
  • เรียนรู้การทดสอบ API ในรูปแบบต่าง ๆ
  • การพัฒนาชุดการทดสอบแบบอัตโนมัติสำหรับ API
  • เรียนรู้เครื่องมือและภาษาโปรแกรมในการเขียนชุดการทดสอบแบบอัตโนมัติ
  • ทำการออกแบบชุดการทดสอบ API

หลักสูตรนี้เหมาะสำหรับ:

  • QA/Tester
  • Developer

ความรู้พื้นฐาน:

  • Web development and technology

วิธีการเช็ทอุปกรณ์ และสเปคเครื่องใช้ในการอบรม

เนื้อหาการอบรม :

  • Introduction to Automation testing
    • Type of testing
    • Pyramid testing
  • Introduction to Acceptance Test-Driven Development (ATDD)
    • Discuss
    • Develop
    • Deliver
  • Fundamental of API (Application Programming Interface)
    • Programming Interface
    • Communication/protocol Interface
      • WebServices with SOAP protocol
      • REST API with HTTP protocol
  • API testing with REST APIs
    • Basic of REST API
    • Understand HTTP methods with CRUD operation Create Read Update and Delete()
      • GET
      • POST
      • PUT
      • DELETE
    • What is Path, Query parameters and Header in HTTP protocol
  • REST API Testing (Automation testing)
    • Why and What to test ?
    • How to test with tools
      • Postman
      • Programming with Rest Assured
  • Working with Postman
    • Installation
    • Structure of Postman (User Interface)
    • Working with REST API
      • Create HTTP request
        • HTTP methods
          • GET
          • POST
          • PUT
          • DELETE
          • etc
        • Path and query parameters
        • Headers
        • Authentication and Authorization
        • Request Body
    • Manage environments
      • Create and use
      • Import/Export
    • Working with variables
      • Global variable
      • Environment variable
      • Path variables
      • Dynamic variables
        • GUID
        • Timestamp
        • Random data
      • Etc
    • Validate response from APIs with Testing
      • Why testing ?
      • Test syntax
      • Test example/snippet
      • Write code to validate data
        • HTTP Status code
        • HTTP response header and body
        • Validate format of response
      • Use other libraries
        • Postman sandbox
    • Scripting
      • Pre-request scripts
      • Post-response scripts (Testing)
    • Using Collections and Collection runner
      • Config Collection runner
      • Working with data from CSV file (Data file)
      • Test Data in Pre-request script
        • Initial data
        • Looping with data
        • Call next request from code
      • Run and Report
      • Import/Export
      • Example
        • What and Why ?
        • Create and Add example to Request
      • Version control of Collection
    • Postman Automation testing with newman
      • Basic of newman
      • Installation
      • Running tests with newman
      • Reporting
      • Working with Thai language(UTF-8)
    • Advance Topics
      • Mock server
        • Design
        • Create
        • Using
      • API documentation
        • How to write ?
        • Format and Syntax
        • Publish
        • View
      • Integrate with CI server (Automation testing)