python - 对于 E2E 测试 : which is better selenium or protractor for following web stack (Angular, Python 和 MongoDB)?

标签 python angularjs selenium testing protractor

我最近了解到 Protractor 框架,它为 Angular 应用程序提供端到端测试。

我想知道,哪个测试框架更适合跟随webstack,selenium还是protractor

Angular, Python and MongoDB.

我打算只使用 mozilla 浏览器。

谁能提供宝贵的建议

最佳答案

either selenium or protractor

这是一个错误的问题。 Protractor 本身就是 selenium。好吧,它是 WebDriverJS 的包装器 - Javascript selenium 绑定(bind)。一个非常方便的包装器,带有一个漂亮且有文档记录的 API。它是 Angular 和非 Angular 应用程序的完美选择(您需要 turn the sync off )。

关于python - 对于 E2E 测试 : which is better selenium or protractor for following web stack (Angular, Python 和 MongoDB)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36178187/

相关文章:

python - 如何从源代码中没有显示标签的网站中抓取内容?

python - 使用 Boto3 查找属于特定目标组的 EC2 实例

java - 如果元素出现,如何关闭?

testing - Geb 设置值以选择问题

python - 如何使用 Selenium 和 Python 与 reCAPTCHA 音频元素交互

python - 这个答案中的 "revirtual"是什么?

python - Pandas:设置滑动窗口以迭代行并应用函数

ajax - 使用 AngularJS ajax 将数据发布到 sails.js 后端的 API

javascript - Angular 2 js 中的 ng-src 和 Dart

javascript - 指令中的增量值