对于 E2E 测试:对于跟踪网络堆栈(Angular、Python 和 MongoDB),哪个更好的 selenium 或量角器? [英] For E2E Testing: which is better selenium or protractor for following web stack (Angular, Python and MongoDB)?

查看:72
本文介绍了对于 E2E 测试:对于跟踪网络堆栈(Angular、Python 和 MongoDB),哪个更好的 selenium 或量角器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始了解量角器框架,它为 Angular 应用程序提供端到端测试.

I recently came to know about protractor framework which provides end to end testing for angular applications.

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

I would like to know, which test framework suits better for following webstack, either selenium or protractor

Angular、Python 和 MongoDB.

Angular, Python and MongoDB.

我将只使用 mozilla 浏览器.

I am going to use mozilla browser only.

任何人都可以提供您宝贵的建议

Can anyone please provide your valueable suggestions

推荐答案

硒或量角器

这是一个错误的问题.Protractor 本身就是硒.嗯,它是 WebDriverJS 的包装器 - Javascript selenium 绑定.还有一个非常方便的包装器,带有一个很好的文档化 API.它是 Angular 和非 Angular 应用程序的完美选择(您需要 关闭同步).

This is an incorrect question. Protractor is itself selenium. Well, it is a wrapper around WebDriverJS - Javascript selenium bindings. And a quite convenient wrapper with a nice and documented API. It is a perfect choice for both Angular and non-Angular applications (you would need to turn the sync off).

这篇关于对于 E2E 测试:对于跟踪网络堆栈(Angular、Python 和 MongoDB),哪个更好的 selenium 或量角器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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