任何人都可以使用Selenium,C#和NUnit 3.0框架建议一个良好的自动化框架

时间:2016-03-07 06:40:29

标签: selenium selenium-webdriver nunit nunit-3.0

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

1 个答案:

答案 0 :(得分: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/

希望它会对你有所帮助:)。

相关问题