Description
The following topics will be covered as part of Selenium with Python Training.
Python
Python Language Fundamentals
- Python Implementation Alternatives/Flavors
- Keywords
- Identifiers
- Constants / Literals
- Data types
- Python VS JAVA
- Python Syntax
Different Modes of Python
- Interactive Mode
- Scripting Mode
- Programming Elements
- Structure of Python program
- First Python Application
- Comments in Python
- Python file extensions
- Setting Path in Windows
- Edit and Run python program without IDE
- Edit and Run python program using IDEs
- INSIDE PYTHON
- Programmers View of Interpreter
- Inside INTERPRETER
- What is Byte Code in PYTHON?
Python Debugger
Python Variables
- bytes Data Type
- byte array
- String Formatting in Python
- Math, Random, Secrets Modules
- Introduction
- Initialization of variables
- Local variables
- Global variables
- ‘global’ keyword
- Input and Output operations
- Data conversion functions – int(), float(), complex(), str(), chr(), ord()
Operators
- Arithmetic Operators
- Comparison Operators
- Python Assignment Operators
- Logical Operators
- Bitwise Operators
- Shift operators
- Membership Operators
- Identity Operators
- Ternary Operator
- Operator precedence
- Difference between “is” vs “==”
Input & Output Operators
- Input
- Command-line arguments
Control Statements
- Conditional control statements
- If
- If-else
- If-elif-else
- Nested-if
- Loop control statements
- for
- while
- Nested loops
- Branching statements
- Break
- Continue
- Pass
- Return
- Case studies
Data Structures or Collections
- Introduction
- Importance of Data structures
- Applications of Data structures
- Types of Collections
- Sequence
- Strings, List, Tuple, range
- Non sequence
- Set, Frozen set, Dictionary
- Strings
- What is string
- Representation of Strings
- Processing elements using indexing
- Processing elements using Iterators
- Manipulation of String using Indexing and Slicing
- String operators
- Methods of String object
- String Formatting
- String functions
- String Immutability
- Case studies
List Collection
- What is List
- Need of List collection
- Different ways of creating List
- List comprehension
- List indices
- Processing elements of List through Indexing and Slicing
- List object methods
- List is Mutable
- Mutable and Immutable elements of List
- Nested Lists
- List_of_lists
- Hardcopy, shallowCopy and DeepCopy
- zip() in Python
- How to unzip?
- Python Arrays:
- Case studies
Tuple Collection
- What is tuple?
- Different ways of creating Tuple
- Method of Tuple object
- Tuple is Immutable
- Mutable and Immutable elements of Tuple
- Process tuple through Indexing and Slicing
- List v/s Tuple
- Case studies
Set Collection
- What is set?
- Different ways of creating set
- Difference between list and set
- Iteration Over Sets
- Accessing elements of set
- Python Set Methods
- Python Set Operations
- Union of sets
- functions and methods of set
- Python Frozen set
- Difference between set and frozenset ?
- Case study
Dictionary Collection
- What is dictionary?
- Difference between list, set and dictionary
- How to create a dictionary?
- PYTHON HASHING?
- Accessing values of dictionary
- Python Dictionary Methods
- Copying dictionary
- Updating Dictionary
- Reading keys from Dictionary
- Reading values from Dictionary
- Reading items from Dictionary
- Delete Keys from the dictionary
- Sorting the Dictionary
- Python Dictionary Functions and methods
- Dictionary comprehension
Functions
- What is Function?
- Advantages of functions
- Syntax and Writing function
- Calling or Invoking function
- Classification of Functions
-
- No arguments and No return values
- With arguments and No return values
- With arguments and With return values
- No arguments and With return values
- Recursion
- Python argument type functions :
- Default argument functions
- Required(Positional) arguments function
- Keyword arguments function
- Variable arguments functions
- ‘pass’ keyword in functions
- Lambda functions/Anonymous functions
- map()
- filter()
- reduce()
- Nested functions
- Non local variables, global variables
- Closures
- Decorators
- Generators
- Iterators
- Monkey patching
Advanced Python
Python Modules
- Importance of modular programming
- What is module
- Types of Modules – Pre defined, User defined.
- User defined modules creation
- Functions based modules
- Class based modules
- Connecting modules
- Import module
- From … import
- Module alias / Renaming module
- Built In properties of module
Packages
- Organizing python project into packages
- Types of packages – pre defined, user defined.
- Package v/s Folder
- py file
- Importing package
- PIP
- Introduction to PIP
- Installing PIP
- Installing Python packages
- Un installing Python packages
OOPs
- Procedural v/s Object oriented programming
- Principles of OOP – Encapsulation , Abstraction (Data Hiding)
- Classes and Objects
- How to define class in python
- Types of variables – instance variables, class variables.
- Types of methods – instance methods, class method, static method
- Object initialization
- ‘self’ reference variable
- ‘cls’ reference variable
- Access modifiers – private(__) , protected(_), public
- AT property class
- Property() object
- Creating object properties using setaltr, getaltr functions
- Encapsulation(Data Binding)
- What is polymorphism?
- Overriding
- i) Method overriding
- ii) Constructor overriding
- Overloading
- i) Method Overloading
- ii) Constructor Overloading
iii) Operator Overloading
- Class re-usability
- Composition
- Aggregation
- Inheritance – single , multi level, multiple, hierarchical and hybrid inheritance and Diamond inheritance
- Constructors in inheritance
- Object class
- super()
- Runtime polymorphism
- Method overriding
- Method resolution order(MRO)
- Method overriding in Multiple inheritance and Hybrid Inheritance
- Duck typing
- Concrete Methods in Abstract Base Classes
- Difference between Abstraction & Encapsulation
- Inner classes
- Introduction
- Writing inner class
- Accessing class level members of inner class
- Accessing object level members of inner class
- Local inner classes
- Complex inner classes
- Case studies
Exception Handling & Types of Errors
- What is Exception?
- Why exception handling?
- Syntax error v/s Runtime error
- Exception codes – AttributeError, ValueError, IndexError, TypeError…
-
- Handling exception – try except block
- Try with multi except
- Handling multiple exceptions with single except block
- Finally block
- Try-except-finally
- Try with finally
- Case study of finally block
- Raise keyword
- Custom exceptions / User defined exceptions
- Need to Custom exceptions
- Case studies
Regular expressions
- Understanding regular expressions
- String v/s Regular expression string
- “re” module functions
- Match()
- Search()
- Split()
- Findall()
- Compile()
- Sub()
- Subn()
- Expressions using operators and symbols
- Simple character matches
- Special characters
- Character classes
- Mobile number extraction
- Mail extraction
- Different Mail ID patterns
- Data extraction
- Password extraction
- URL extraction
- Vehicle number extraction
- Case study
File &Directory handling
- Introduction to files
- Opening file
- File modes
- Reading data from file
- Writing data into file
- Appending data into file
- Line count in File
- CSV module
- Creating CSV file
- Reading from CSV file
- Writing into CSV file
- Object serialization – pickle module
- XML parsing
- JSON parsing
Selenium
Selenium Components
- Selenium IDE
- Selenium RC
- Selenium WebDriver
- Selenium GRID
Object Identification/Locators
- Introduction to element locators
- Types of Element Locators
- Writing Xpath Manually
- Types of Xpath
- findElement & FindElements
- Element locators on different browsers
Basic Selenium / Web Driver
- Introduction to selenium
- Advantages of web driver
- Web Driver v/s RC
- Architecture of Web Driver and RC
- Configure Selenium with Eclipse IDE(Adding Selenium jar files)
- Working with drivers Firefox, Chrome &IE, etc…
- Creating the generic scripts in Web Driver
- Navigate methods
Advanced Topics
Alerts,Frames,Windows
- Handling alerts
- Alert interface methods
- Handling Frames/Iframes
- Locating Frames
- Switching between Frames
- Using window handler methods
- Switching between windows
Dropdown, Web Table page back commands
- Handling dropdown
- Select class methods
- Select Single value & multiple values
- Reading data from webtable
- Page back commands
Synchronization
- Introduction of wait Methods
- Use of Wait methods in selenium
- Types of Wait Methods
- Difference between Thread.sleep,ImplicitWati&ExplicitWait
- Different Expected Conditions in Webdriver
Miscellaneous
- Capturing screenshots
- How to take data from DB
- Handling Ajax events
- Capturing screenshot on failure
- Handling Auto Suggestions
- Different Selenium Exceptions
- File upload and download
JavaScript Executer in Web driver
- What is JavaScript Executor?
- What is JavaScript Executor in Selenium?
When we have to use JavaScript Executer
Git Hub Integration
- What is Git Hub
- How to create Git Hub Account
- Setup of GitHub in Eclipse
- What is Commit and push
- Steps to perform Push and Commit
- Integrating with Framework
Cucumber Tool with Web Driver
- Cucumber tool Overview
- Difference between Cucumber & other automation tools
- Preparing Features File having test scenarios
- Writing Runner Class
- Given, When, Then, And, But annotations and usage in features class
- Cucumber HTML Reports
- Usage of cucumber tool with Web driver
Cucumber
- Behavioural Driven development (BDD)
- Cucumber Project Setup
- Feature file
- Gherkin language
- Working with simple scenario
- Working with Data table
Design Pattern
- Page Object Model
- Page Factory
Framework
- Pytest -bdd framework
Duration & Timings :
Duration – 40 Hours.
Training Type: Instructor Led Live Interactive Sessions.
Faculty: Experienced.
For Upcoming Schedules Please Contact Us
Inquiry Now Discount Offer
USA: +1 734 418 2465 | India: +91 40 4018 1306
Reviews
There are no reviews yet.