Selenium WebDriver中的页面对象模式是什么? [英] What is the Page Object Pattern in Selenium WebDriver?

查看:385
本文介绍了Selenium WebDriver中的页面对象模式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Selenium WebDriver中的页面对象模式是什么?

What is page object pattern in Selenium WebDriver?

它的用途是什么,如何在Selenium WebDriver中使用?

What is the use of it and how can we use this in Selenium WebDriver?

例子将不胜感激。

推荐答案

文档已经涵盖了这一点。如果您有任何具体问题,请随时编辑您的主要帖子。

The documentation has already covered this. If you have any specific questions, feel free to edit your main post.

官方:

  • Page Objects and PageFactory on Selenuim Wiki.
  • Page Object Design Pattern on Selenium official site.

非官方:
做一个Google搜索,你会得到很多信息。

Unofficial: Do a Google search, you will get a lot info on this.

  • Page Object Pattern
  • Page Objects in Selenium 2.0
  • Selenium 2/WebDriver Quick Tips: Page Object Navigation Strategies
  • PageObject by Martin Fowler

这篇关于Selenium WebDriver中的页面对象模式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆