Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
PROTRACTOR
PRE-REQUISITES
- SELENIUM
- BASIC KNOWLEDGE OF JAVASCRIPT
- BASIC KNOWLEDGE OF ANGULAR JS
INTRODUCTION
- what is protractor
- what is the scope for protractor
- how to install protractor
- pre requisites to install protractor
- Installing JDK
- Installing JS
- Installing Protractor
- Protractor options
- What type of applications we can automate using protractor
- Advantages of protractor
- Disadvantages of protractor
- What are the basic requirements to write the protractor scripts
- How the javascript useful to protractor.
INTRODUCTION TO JASMINE
- What is jasmine
- what is the usage of jasmine in protractor
- Jasmine features
- what is BeforeEach function
- what is AfterEach function
- what is expect in jasmine
- Expect toBe and not toBe
- Expect toEqual, toMatch and not toEqual
INTRODUCTION TO ECLIPSE
- what is eclipse
- Installing Eclipse
- how to integrate protractor with eclipse
- what is tern and angular js
- How to create angular js projects
- How to write protractor scripts in eclipse
- How to run the scripts in eclipse using protractor
SCRIPTS IN PROTRACTOR(AS PER REAL TIME)
- Handling elements on AngujarJS websites
- Handling elements on a Non-Angular websites
- Parallel and Multiple browser execution
- Framework designing using Page Object Model design pattern
- Creating common utilities
- Creating Test Suites and running selective/ all test cases
- Creating Test Suites and running selective/ all test cases-code
PROTRACTOR CONCEPTS(AS PER REAL TIME)
- what is spec ie understanding of spec
- what is conf.js file
- What is describe block and what is it block
- Writing sample scripts using describe and it blocks
- How to perform data typing actions
- How to perform clickable operations
- How to handle drop down list
- How to handle multiple windows
- How to get the page title,page urls,page sources
- How to handle frames
- How to handle auto suggestions
- How to handle radio buttons
- How to handle check boxes
- How to handle popups
- How to upload a file
- How to send data
- What is a promise
- How do we perform the validations
- Adding validations using Jasmine Expect
- Working on cookies
- How to run the protractor test
- Spec level ie individual scripts
- Suite level
- Creating Test Suites and running selective test cases
- Creating Test Suites and running all test cases
INTRODUCTION TO ANGULAR JS
LOCATORS IN ANGULAR JS
- Id
- Name
- Classname
- Xpath
- Dynamic xpaths
- absolute xpaths
- Relative xpaths
- What is element()
- By model
- By ng bindings
- Following siblings
- Preceding siblings
- Text xpaths
- By repeater
- By addLocators
ADDITIONAL LOCATOR STRATEGIES
- By binding
- By repeater
- By textarea
- By model
- WebElement all
- WaitForAngular
- WebElement evaluate
MAVEN
- What is maven
- Introduction to maven
- What are the advantages using maven
- How to run the scripts using protractor
- How to add libraries
- Generating HTML reports
TESTDATA
- What is test data
- How do we maintain test data in protractor
- Real time usage
- How to read test data from JSON files
- How to read test data from xls file
OBJECT REPOSITORY
- What is object repository
- how do we maintain webelement identifications
- real time usage
- How to read data from object repository
JENKINS
- What is jenkins
- Adavnatages using jenkins ci
- Jenkins configurations
- What is a job
- How to run he jobs
- How to run the jobs based on batch files
- How to scheduled jobs
REAL TIME FRAMEWORKS
- How to design the framework
- Data driven testing Framework
- What is page object model framework
- Creating and designing the architecture of POM
REPORTS
- Protractor installations through NPM commands
- How to generate reports in protractor