0

我是硒自动化的初学者,需要在我的新项目中使用 C# 和 NUnit3.0 实现这一点。我设计了一个框架,但这似乎有点错误,所以我需要这个论坛的帮助。

4

1 回答 1

3

使用页面对象模型。它具有高度的灵活性和可维护性。大多数行业都在使用页面对象模型来实现自动化

很少有关于页面对象模型的参考:- http://toolsqa.com/selenium-webdriver/page-object-model/

http://www.guru99.com/page-object-model-pom-page-factory-in-selenium-ultimate-guide.html

C# 中 Page 对象模型的参考很少:-

http://www.codeproject.com/Articles/1013318/Page-Object-Design-Pattern

http://automatetheplanet.com/page-object-pattern/

希望它会帮助你:)

于 2016-03-07T06:46:38.197 回答