2015.7/8月份完成的Selenium自動化測試課程大綱

2015.7/8月份完成的Selenium自動化測試課程大綱

七月分與八月分分別完成兩次企業內訓。每梯次超過 30人參與。

第一梯次主要講解 python/Selenium 基礎與一些比較進階的應用像是 Nose, DDT, unitTest等

第二梯次主要專注在網頁元件互動的操作。

  • Web Automation Testing with Selenium/Python basics to immediate (四天課程)
  • Web Automation Testing with Selenium/Python: Web Form Elements Handling  (兩天課程)

 

上課剪影

Selenium Class in Aug

 

課程大綱 — 網頁元件操作篇

Web Automation Testing with Selenium/Python: Web Form Elements Handling

Web form Elements operation

Selenium is widely used for Web End2End automation testing. This course will be focused on the followings challenges with hands-on python programming?

  • how to handle various kinds of web form element i.e. Text Field, Radio Button, Drop Down menu, selection, iFrame, new window, Ajax/ dynamic web page.
  • How to properly locate the web element and operate these web elements are critical to the web automation?
  • What are available tools and tips to help the automation program development?

How the course will be running

  • Coding, Coding and Coding in python is expected! This is NOT a presentation course, and there is no slides! We will do hands-on python coding.
  • Effective Tools. We will use some tools for more productive automation programming

Learning Objective

  • Be able to automate majority of web based application using Selenium/python.
  • Identify what design, scenarios or UI changes can be taken into consideration for automation testing.

About you

  • No previous automation experiences is required though it’s a plus.
  • Basic understanding of Python, and web
  • Bring your laptop with FireFox and python installed
  • Plan your time well to attend, involve and submit your homework.

Target Audience

  • Manual Testers/QA who wants to do Automation testing
  • Automation testers who wants to enhance current skills
  • Developers or operation team who may perform routine web check and would like to automate these tasks.
Course Name Web Automation Testing with Selenium/Python: Web Form Elements Handling
Speaker Tony Hsu
Duration 16 hours
Location
Language Chinese
Prerequisite l   No prior Python / coding knowledge required as everything is taught from the scratchl   Bring your laptop with FireFox browser installed
Evaluation Attendance rate 50% + Homework 50%
Agenda
Day 1
  • Objective of Automation
  • Area of Automation
  • Locator to Web UI
  • Familiar with Tools to help automation
  • Your 1st automation script for Google Search
  • How to handle the Web table?
  • How to operate the checkbox?
  • How to do double click?
  • How to do drag and drop?
  • How to get web element attributes?
  • How to handle radio button?
  • How to handle the SELECTION list?
  • How to take screenshot when failure?
  • How to handle alert popup window?
Day 2
  • How to detect the web element status?
  • How to handle the timing issue that results in automation failure?
  • How to handle the iframe web page?
  •  How to handle the window pop?
  • How to make your automation program maintainable?
  • How to handle cookie?
  • How to send hotkey?
  • Case study

 

課程大綱 — Selenium/Python基礎與進階班

Web Automation Testing with Selenium/Python basics to immediate
Why and What is Selenium?

 

  • Selenium automates browsers.  it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well. It’s open source and free.
  • Selenium supports FireFox, IE, Chrome, Safari and more. Selenium also supports most of programming language. You can automate it by Java, Python, C#, Ruby. Though the course we are going to use Python.

 

  • Selenium performs real End2End Web Browser testing. It launches the browser and verify the web elements on the browser.
What you will learn?

 

  • No prior Python / coding knowledge required as everything is taught from the scratch
  • you will be able to automate majority of web based application using Selenium/python.
  • The key factor that Web UI changes may impact the automation.
  • Common error in Selenium automation and how to handle these.

 

  • Operates Web elements i.e. click, sendKeys, drag and drop, tooltips, selection
Target Audience

 

  • Manual Testers/QA who wants to do Automation testing
  • Automation testers who wants to enhance current skills

 

  • Developers or operation team who may perform routine web check and would like to automate these tasks.
Course Name Web Automation Testing with Selenium/Python basics to immediate
Speaker Tony Hsu
Duration 10:00~17:00 , 3 weeks, 2015/7/2 & 7/3 & 7/9 & 7/16
Location
Date 7/2 7/3 7/9 7/16
Room
Language Chinese
Prerequisite
  • No prior Python / coding knowledge required as everything is taught from the scratch
  • Bring your laptop with FireFox browser installed
Evaluation Attendance rate 50% + Homework 50%
Agenda
Session 1
  • What/Why is Selenium
  • Setup environment
  • Your 1st Selenium/Python automation script
  • Running for IE, FireFox, Chrome
Session 2
  • About Browser operations (refresh, back, forward, title, url)
  • About Web locators
Session 3
  • Browser cookie
  • Browser size
  • Web element status
Session 4
  • Locate Web Elements
  • About unitTest framework
  • unitTest for Web automation
  • Launch one instance of browser “classmethod”
  • Verify the results – assertion
Session 5
  • Generate HTML testing report
  • Send keys for special key i.e. ENTER
  • Update a web-based form i.e. register new user
Session 6
  • How to upload file by selenium?
  • How to handle file download by selenium?
  • How to generate HTML report?
Session 7
  • Alert and pop-up Window handling
  • Timing issue – Implicit wait & explicit wait
Session 8
  • Data Driven Testing in CSV
  • How to handle Tooltips
  • How to take screenshot when failure?
  • How to send hotkey?
  • How to locate the web element within iFrame?
  • How to do drag and drop?
  • How to do double click?

Leave a Reply

Your email address will not be published. Required fields are marked *