課程簡介
Selenium與Python入門
- 爲什麼選擇Selenium進行Web測試
- Python與其他語言在測試自動化中的優勢
- Selenium與Python的實際應用案例
安裝與設置
- 設置Python與IDE(PyCharm、VS Code)
- 安裝Selenium與WebDrivers
- 配置Pytest作爲測試運行器
Selenium 4架構與組件
- Selenium IDE:快速錄製與回放
- Selenium WebDriver:瀏覽器自動化API
- Selenium Grid:並行與分佈式測試
Python自動化腳本基礎
- 測試人員所需的Python基礎知識
- 在測試腳本中使用數據結構
- 使用Pytest進行斷言與夾具
WebDriver實戰
- 導航Web應用程序
- 定位元素:定位器、CSS選擇器、XPath、相對定位器
- 與表單、彈窗、iframe和下拉菜單交互
使用頁面對象模型(POM)設計框架
- POM簡介
- 構建可重用的頁面類
- 實現數據驅動與關鍵字驅動測試
高級測試自動化
- 在多瀏覽器上運行測試
- 使用Selenium Grid與Pytest-xdist進行並行測試
- 跨瀏覽器測試策略
持續集成與報告生成
- 將測試與Jenkins、GitHub Actions或GitLab CI集成
- 使用Allure或Pytest-html生成報告
- 版本控制與Git最佳實踐
故障排除與最佳實踐
- 定位器、等待與同步的常見問題
- 穩定不穩定的測試
- 可維護測試套件的最佳實踐
總結與下一步
最低要求
- 基本的Python編程經驗
- 測試自動化概念的基礎知識
- 熟悉Web應用程序和瀏覽器
受衆
- 測試人員
- 開發人員
- QA自動化工程師
客戶評論 (5)
良好的融洽關係,Łukasz 有時間回答每個人的問題,並且能夠説明任何有任何問題的人
Kelly Morris - Titian Software Poland Sp. z o.o.
課程 - Selenium WebDriver in C#
機器翻譯
使用與我們在專案中使用的數據(光柵格式的衛星圖像)更相似的數據進行更多實踐練習的事實
Matthieu - CS Group
課程 - Scaling Data Analysis with Python and Dask
機器翻譯
I thought the trainer was very knowledgeable and answered questions with confidence to clarify understanding.
Jenna - TCMT
課程 - Machine Learning with Python – 2 Days
Very good preparation and expertise of a trainer, perfect communication in English. The course was practical (exercises + sharing examples of use cases)
Monika - Procter & Gamble Polska Sp. z o.o.
課程 - Developing APIs with Python and FastAPI
Trainer is nice. His explanation is clear and interesting. He try to make the lessons interesting as possible. I enjoyed the lesson and gained a lot of knowledge. Thank you so much. The most useful technique I learned is the locating elements for different web component like textbox, radio buttons and buttons. Sometimes, the element ID is not capture correctly. We learned a different way of locating elements by using CSS selectors, XPath, Name and ID. I like the explanation. Thanks