Skip to main content
Selenium15 min read

Page Object Model: 基本を超えて

ほとんどのチームがPOMを誤って実装しています。何百ものテストにスケールする真に保守可能なSeleniumフレームワークの構築方法をご紹介します。

Part ofTesting & QA->
By Jason TeixeiraJanuary 10, 2024
SeleniumPythonDesign PatternsPOM
Share:
On this page

私が見てきたSeleniumフレームワークのほとんどはPage Object Modelを使用していますが、その実装方法は間違っています。エンタープライズ規模のフレームワークを構築し、複雑なeコマースフロー全体で300以上のテストを保守してきた経験から、実際に機能する方法をお伝えします。

標準的なPOMの問題点

誰もが教科書的なPOMの例から始めます:

\

Reader route

article -> proof -> offer

ReadClusterProofScope

cluster

Testing & QA

intent

Selenium

route

next step

What to do with this

Turn the note into a build path.

If this topic maps to a real business problem, keep reading the cluster, study the academy path, or route the work into a scoped engagement.

Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio · Principal Engineer
livebuild 5d6c8652026-08-05 06:00Z
// solo studio// no analytics resold// every commit human-reviewed