<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>设计模式 - 标签 - 一峰的记录</title>
        <link>https://www.simplife.tech/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/</link>
        <description>设计模式 - 标签 - 一峰的记录</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Fri, 27 Nov 2020 11:53:35 &#43;0800</lastBuildDate><atom:link href="https://www.simplife.tech/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/" rel="self" type="application/rss+xml" /><item>
    <title>UI 自动化测试的 POM 设计模式实践</title>
    <link>https://www.simplife.tech/posts/ui-automation-pom-design/</link>
    <pubDate>Fri, 27 Nov 2020 11:53:35 &#43;0800</pubDate>
    <author>一峰</author>
    <guid>https://www.simplife.tech/posts/ui-automation-pom-design/</guid>
    <description><![CDATA[<h1 id="ui-自动化测试的-pom-设计模式实践">UI 自动化测试的 POM 设计模式实践</h1>
<h2 id="一背景">一、背景</h2>
<p>在 UI 自动化测试中，持续维护测试脚本的成本很高。页面稍微一改动，大量的测试用例就有可能失败，需要人工修改适配。</p>
<p>因此，有人提出了POM（Page Object Model）设计模式。核心思维是将页面结构和测试逻辑分离，使测试代码更易于维护和扩展。</p>]]></description>
</item>
</channel>
</rss>
