|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/angularjs-protractor-tutorial/
课程评论:没有评论
课程名称:Protractor:AngularJS应用的端对端测试框架 课程概述: 随着AngularJS网站数量的激增,市场对Protractor自动化测试的需求迅速上升。在深入了解Protractor之前,我们需要明确其定义:Protractor是一个专门为基于AngularJS的 web 应用程序设计的端对端测试框架。Protractor API作为强大的Selenium WebDriver API的封装,基于WebDriverJS构建,利用原生事件和浏览器特定驱动程序像普通用户一样与web应用程序进行交互。Protractor中引入了大量的定位策略,这使得可以轻松测试AngularJS特定的元素。同时,它保留了来自WebDriver API的现有定位方式,无需额外配置或努力。Protractor在处理等待和同步问题上更为高效,减少了同步问题带来的担忧。 课程主要内容包括: - 对AngularJS网站进行端对端测试 - 处理非Angular网站上的元素 - 不同的定位技术 - 编写Protractor测试 - Jasmine概念 - 创建测试用例和测试套件 - 并行和多浏览器执行 - 使用页面对象模型设计模式进行框架设计 - 创建通用工具 本课程将帮助学员掌握如何使用Protractor框架进行自动化测试,提高AngularJS应用程序的测试效果与效率。
With a sudden increase in AngularJS websites current market demand is moving towards Protractor for automation. Now before we proceed further we first need to understand what exactly is Protractor?Protractor is an end to end testing framework specially designed to perform automation testing on AngularJS based web applications. Protractor API works as a wrapper over the most powerful Selenium WebDriver API and is built on top of WebDriverJS that uses native events and browser specific drivers to interact with web based application as a normal user would do.There's a massive increase in locator strategies in Protractor which also allows you to test AngularJS specific elements including the existing locator that we get from WebDriver API without configuring or putting any extra effort. Waits and Syncs are handled in a more effective manner so we need to to worry about sync issues as well.Protractor is one of the end to end testing framework in AngularJSAdditional Locator strategies:By bindingBy repeaterBy textareaBy modelWebElement allWaitForAngularWebElement evaluate, etc.About course coverage:End to end testing on AngujarJS websitesHandling elements on a Non-Angular websitesDifferent locator techniquesWriting Protractor testsJasmine conceptsCreating test cases and test suitesParallel and Multiple browser executionFramework designing using Page Object Model design patternCreating common utilities