简体   繁体   English

如何使用Jasmine在量角器中创建框架来测试应用程序?

[英]How do I create a framework in protractor using Jasmine for testing Applications?

I am new to Protractor. 我是量角器的新手。 Can I know how to create a framework in protractor. 我可以知道如何在量角器中创建框架吗?

I have gone through some videos of how to create a framework.They have specified that we can use POM. 我看了一些有关如何创建框架的视频,他们指定了我们可以使用POM。 But is there any other way of how to create a framework. 但是还有其他方法可以创建框架。 Could you share me some insights about this. 您能否分享一些有关此的见解。

Protractor is one of the javascript bindings for Selenium Webdriver , which has many feature, but is probably best known for working well with Angular apps (though not a necessity for its use). 量角器Selenium Webdriver的javascript绑定之一 ,它具有许多功能,但可能最适合与Angular应用程序配合使用(尽管不一定要使用它)。

I have an example project on GitHub that might give you a nice head-start with Protractor. 在GitHub上有一个示例项目 ,可能会为您提供一个不错的Protractor起点。

FYI, a POM file is part of Maven (Java), and not used in Protractor. 仅供参考,POM文件是Maven(Java)的一部分,并且不在Protractor中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM