qtp selenium
Embed Size (px)
TRANSCRIPT

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 1
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Course Title: Business Analyst Competency Development Program Course Duration: 45 hours Training Training Materials: All attendees would receive
Training presentation of each session,
Source Code for examples covered.
Training Format: This course is delivered as a highly interactive session, with extensive live examples. This course is delivered in Online using Web and Audio Conferencing.
What will you learn?
89he J2EE/JEE Training uses best practices and guidelines from Java Community Process (JCP®). The training content is customized to meet the practical needs of a J2EE/JEE professional.
QTP Selenium Professional Role Based Training
Course Duration: 50 hrs. + Live Case Studies
Prerequisite: Anyone with analytical skills
Timings: Weekdays & Weekends (after work hrs) Mode of Training: Online
How Are We Different?
We just don’t teach QTP Selenium Concepts but we share our real-time implementation
experiences to get the audiences ready to face customers and Implement Solutions.
We don’t make QTP Selenium Developer but we make them Complete & Full-fledged QTP
Selenium Consultants by training them on Development, Administration & Application Design
with Project based real-time scenarios and several Case Studies for practice
Our faculties are not just technical developers or trainers; they are industry experts and
consultants for fortune 500 companies who are highly capable of understanding the business and
know how technology can be closely connected with people and business.
Our Role-Specific training differs from any other training company in the world
Benefits:
Quality Course Material & E-books
24 x 7 Online access to trainers
for Doubts Clarification,
Project based training with hands on exp.
Resume Preparation Guidance
Mock Interviews from Professional
Consultants,
Marketing one-on-one with a Recruiter
Real-time Project Documents
Onsite Job assistance for 1 month
Special Project training programs for
trained F1 students on OPT or CPT.
Training Highlights:
Focus on Hands on training
50 hrs. of Assignments, 2Live Case Studies
Video Recordings of sessions provided
JUnit 4 configuration in Project/Eclipse
QTP Selenium Certification Guidance
Resume prep, Interview Questions provided
TestNg Framework / ANT
Assertions and Reporting Errors / ErrorCollector
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 2
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Audience:
The target audience for the program are Test Leads, Test professionals, Configuration Engineer with basic
knowledge on Automation and minimum two years’ experience in Software Development Life Cycles, and should
be involved with any / all / either of the functions given below:
1. Test Management 2. Functional Testing 3. Performance Analysis 4. Testing
Pre-requisites for this training: Core Java which includes, Eclipse IDE, Data types, IF Statements, String class, Loops, Arrays, Functions,
OOPS concepts, Packages, Access Modifiers/ Exception Handling, Collection API/Reflection API, String, File Handling, Handling XLS Files.
Learning Objectives: After the completion of the course, the participants would be able to:
Understand the concept of Selenium tools
Create Functional test Scenarios
Execution of Scenarios
Plan an Effective Functional Test
Record and Play
Analyzing the results
About the trainer:
1. More than 17 years of Consulting & Teaching experience in different areas of functional testing starting from inception to delivery of project.
2. With a strong back ground in training and deep knowledge of the core subject and techniques on getting certification successfully completed ISTQB & CSTE&HP Certified QC-QTP Professional
3. Trained corporates in the manual testing and Automation field. 4. Taught corporates like HUL, Aithent, PSI Data, etc.
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 3
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
In this training, attendees learn: BASIC SELENIUM
1. Junit 4 Framework / ANT 2. TestNg Framework / ANT 3. Selenium IDE 4. Selenium WebDriver 5. Selenium WebDriver - 2 6. Selenium WebDriver - 3 7. Selenium WebDriver - 4 8. Selenium 2.0 Features – 3 9. Selenium 2.0 Features – 5 10. Selenium 2.0 - Exercises
ADVANCED SELENIUM
1. Junit and Data Driven Framework 2. Junit and Hybrid (Keyword+FunctionalDecomposition) Framework 3. TestNg ,Functional Decomposition & PageObject Model Framework 4. TestNg and Hybrid (Keyword+Data Driven) Framework
Attendees also learn: 1. ANT & MAVEN with JENKINS 2. Resume Preparation Guidelines and Tips 3. Mock Interviews and Interview Preparation Tips
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 4
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
QTP Selenium TRAINING PROGRAM ROADMAP
QTP
Se
len
ium
Ro
le B
ase
d T
rain
ing
Pro
gram
BASIC SELENIUM:
TestNg
Framework / ANT Junit 4
Framework / ANT
Selenium 2.0 Features – 3
Selenium WebDriver
Selenium IDE
Selenium WebDriver - 2
Selenium WebDriver - 4
Selenium WebDriver - 3
ADVANCE SELENIUM:
TestNg, Functional Decomposition,
Page Object Model Framework
Junit &Hybrid (Keyword+Functiona
l Decomposition) Framework
Junit and Data Driven Framework
TestNg and Hybrid (Keyword+Data
Driven) Framework
Selenium 2.0 Features – 5
Selenium 2.0 - Exercises
40 plus Assignments & Case Studies Certification Guidance
Resumes / Interview Guidance Mock Interviews (project & technical)
ANT & MAVEN WITH JENKINS
Zar
anTec
h LLC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 5
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Topics covered:
BASIC
Junit 4 Framework / ANT JUNIT - What is it? JUnit 4 configuration in Project/Eclipse. Annotation - JUnit 4. Running Test in Junit Skipping Tests Parameterizing Tests Using Assertions Reporting Errors / ErrorCollector Batch Running - Custom Runners ANT - What is it? ANT - Downloading and configuring Build.xml configuration HTML Report generation using Ant Building a BAT file to run tests using ANT
TestNg Framework / ANT TestNg - What is it? Installing TestNg in Eclipse Understanding usage of annotations Running a Test in TestNg Batch Running of tests in TestNg Skipping Tests Parameterizing Tests – DataProvider. Assertions/Reporting Errors TestNg Reports Advantages over Junit Using TestNg in Selenium What is Ant Downloading and configuring Ant Build.xml configuration XSLT report generation using TestNg and Ant Building a BAT file to run tests using ANT
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 6
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Selenium IDE Selenium IDE - Installation Recording Script Script - Running, Pausing and debugging Running a script line by line Inserting commands in between script XPATHS and installing firebug to get XPATHS Wait Commands Verification and Assertions Using verify or assertion JavaScript User-extension.js in Selenium IDE Using if statements and loops in IDE. Echo, StoreEval and StoredVars Creating your own user extensions Making a function in user extension to generate random email address. Extracting all values of dropdown. Reading XML from JavaScript using DOM. Building Test Cases – Example Parameterize your IDE test cases with customized use extension and XML. Regular Expressions in Selenium IDE. Handling JavaScript Alerts Capturing screenshots - Selenium IDE Testing Flash applications with IDE - Selenium Flex API. Capturing screenshots from Selenium IDE
Selenium WebDriver WebDriver - Why? Downloading WebDriver Jars and configuring in eclipse Architecture of selenium webdriver Drivers for Firefox, IE, chrome, IPhone, Android etc. First Selenium Code Working with Internet Explorer and Chrome Selenium Web Driver and RC Concept of Firefox profile Firefox profile - What is it? Firefox Profile - Why required? Close and Quit -Difference Importing webdriver documentation in eclipse WebDriver Desired Capabilities Class
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 7
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Proxy settings with webdriver/Working with proxy Servers HTMLUnit driver and desired capabilities
Selenium WebDriver - 2 Fire path and firebug Add-ons installation in Mozilla Inspecting elements in Mozilla, Chrome and IE HTML language tags and attributes Various locator strategies WebDriver Interface WebElement Interface Identifying WebElements using id, name, class Finding Xpaths to identify Absolute and complete Xpaths Creating customized Xpaths without firebug Css Selectors Generating own Css Selectors Performance of Css Selectors as compared to Xpaths Finding xpaths/css selectors in different browsers - Mozilla, Chrome and IE Objects with same id/xpath/css selector Class attribute - What is it? Handling Dynamic objects/ids on the page Working with different browsers without changing code
Selenium Webdriver - 3 Managing Input fields, Buttons and creating custom xpaths Managing/Identifying Links with xpaths/css selectors Extracting More than one object from a page. Extracting all links of a page/Bulk extraction of objects. Extracting Objects from a specific area of a web page. Various strategies to test Links on a page by clicking on them one by one. Finding response Headers/ response code. Finding whether object is present on page or not. Handling drop down list Select Class in Selenium API Managing radio buttons and Checkboxes Hidden components isDisplayed function Taking Screenshots of the web pages How to Google out errors-Self sufficiency Exercises
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 8
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Selenium WebDriver - 4 Implicit and Explicit waits Best Practices
Selenium WebDriver - 4 Distributed installations PageLoadTimeout Property WebDriverWait Class WebDriver .Timeout Interface ExpectedCondition interface and ExpectedConditions class WaitUntil Condition Fluent Wait Managing Ajax based components Concepts of Set Interface in Java Window Handles Managing tabbed windows in IE, Chrome and Mozilla Managing popups in IE, Chrome and Mozilla Closing windows Default Popups Testing https websites / Managing certificate errors in https websites in IE, Chrome and Mozilla
Selenium 2.0 Features - 3 Extracting Data From WebTable Dynamic WebTable Handling Attaching files with Selenium Changing your Facebook profile picture by attaching new picture Mouse movement with Selenium- Mouse Interface Handling Ajax Autosuggests Handling Google Ajax Autosuggests Handling Frames in Web Page Handling cookies More Examples on Webtables Webtables and css Selectors Building custom functions for Webtables Managing JavaScript alerts
Selenium 2.0 Features - 5 Simulating front and back button click on Browser using selenium Assigning Firefox profile parameters
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 9
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Downloading files using selenium Selenium Javadocs Listeners- Using WebDriverEventListener Practical usage of Listeners in Selenium Moving a mouse on a Object and right clicking on it Finding Coordinates of a Web Object Actions class in Webdriver Handling CSS menu with Action class Handling CSS menu with JavaScriptExecutor JavaScriptExecutor example Drag, drop, native events
Selenium 2.0 - Exercises
ADVANCED
Junit and Data Driven Framework
Overview of Data driven framework Building the Test Base Class Using Annotations of Junit Reading XPATHS, Configuration from properties file Initialize the Webdriver Building the Test Base Class Implementing WebDriver Implicit Wait Implementing tests and batch running them Repeating a test with different Data Building utility functions Parameterizing tests using XL Files Controlling Execution order from XL Files Assertions and Reporting Errors / ErrorCollector Storing Screenshots of errors Running the framework through ANT Generating the HTML reports Emailing test reports Creating a BAT file for project execution
Junit and Hybrid (Keyword+Functional Decompisition+Page Object Model) Framework Overview of Hybrid(Keyword+Data Driven) Framework Building XLS File Having Test Cases and Keywords
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 10
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Building XLS File Having Test Data Building Base class Reading XPATHS, Configuration from properties file Implementing ImplicitWait Implementing the keywords using the reflection API Implementing tests Assertions and Reporting Errors Parameterizing tests using DataProvider and XL Files Repeating a test with different Data Running the framework through ANT Generating the reports Emailing test reports Creating a BAT file for project execution
TestNg and Functional Decomposition Framework Overview of Data driven framework Building the Test Base Class Using Annotations of TestNg Reading XPATHS, Configuration from properties file Initialize the Webdriver Implementing WebDriver Implicit Wait Implementing tests and batch running them Repeating a test with different Data Implement logging with Log4J API Building utility functions Parameterizing tests using XL Files Controlling Execution order from XL Files Assertions and Reporting Errors Storing Screenshots of errors Running the framework through ANT Generating the XSLT reports Creating a BAT file for project execution Emailing Test Reports
TestNg and Hybrid (Keyword+Data Driven) Framework
Overview of Hybrid Framework Building XLS File Having Test Cases and Keywords Building XLS File Having Test Data Building Base class Reading XPATHS, Configuration from properties file
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 11
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Implementing WebdriverWait Implementing the keywords using the reflection API Implementing tests Assertions and Reporting Errors Parameterizing tests using DataProvider and XL Files Repeating a test with different Data Running the framework through ANT Generating the reports Emailing test reports Creating a BAT file for project execution
Interview Preparation 1. Mock Interviews 2. Interview Preparation Tips 3. Sample Interview Questions 4. How to clear an Interview
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 12
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
Healthcare System Application:
As the Product Manager for Inner Expressions you are asked to provide one of your largest clients with
additional features in the EMR (Electronic Medical Records Management) System. The client has requested an
integrated Referral Management System that tracks patients from Primary care into the Specialist
departments. Appointments are created by either the Primary Care Physicians themselves or other clinical staff
like Nurse Practitioners or Clinical Assistants. Each appointment must go through the appropriate checks
including checking if the patient has an active insurance with the client, whether the insurance program covers
the condition of the patient, patient’s preference for location and timings and availability of the Specialist
doctor.
Some appointments may have to be reviewed by the Specialists themselves before they can be approved, the
administrator of the facility (hospital) must have the ability to choose by appointment type to either make it
directly bookable by the Primary Care Staff or as a type that requires review by the specialist. The system
should also allow the Primary Care Staff and specialists departments to exchange notes and comments about a
particular appointment. If the specialist department requests tests or reports as mandatory for the
appointment, the system must ensure that the patient has these available on the date of the appointment.
The Hospital sets about 300 appointments per day and must support about 50 users at the same time. The existing EMR system is based on J2EE/JEE and a MySQL database system.
CASE STUDY # 1 – “Healthcare System”
Tasks:
Identify Features - Login Page, Customer Information, Facility Information, Appointments etc.
Develop Prototype – HTML, JavaScript, CSS
Implement Functionality – Core Java, Servlets, JSP, Struts, Hibernate
Deploy and Test Application – Tomcat Server, Eclipse
Zaran
Tech L
LC

QTP Selenium Professional Competency Development Program
We focus on delivering Role-Specific training rather than Product based Training
ZaranTech LLC. , http://www.zarantech.com, [email protected] , (515) 309-7846, Page - 13
5550 Wild Rose Lane, Suite 400, West Des Moines IA 50266
OTHER CASE STUDIES: Social Networking, Cruise Management System, Collegiate Sporting system
CASE STUDY # 2 – “Asset Management System”
Asset Management Application:
The asset management system keeps track of a number of assets that can be borrowed, their ownership, their
availability, their current location, the current borrower and the asset history. Assets include books, software,
computers, and peripherals. Assets are entered in the database when acquired, deleted from the database
when disposed. The availability is updated whenever it is borrowed or returned. When a borrower fails to
return an asset on time, the asset management system sends a reminder to the borrower and informs the asset
owner.
The administrator enters new assets in the database, deletes obsolete ones, and updates any information
related to assets. The borrower search for assets in the database to determine their availability and borrows
and returns assets. The asset owner loans assets to borrowers. Each system has exactly one administrator, one
or more asset owners, and one or more borrowers. When referring to any of the above actor, we use the term
"user". All users are known to the system by their name and their email address. The system may keep track of
other attributes such as the owner's telephone number, title, address, and position in the organization.
The system should support at least 200 borrowers and 2000 assets. The system should be extensible to other
types of assets. The system should checkpoint the state of the database every day such that it can be recovered
in case of data loss. Owners and the administrator are authenticated using a user/password combination.
Actors interact with the system via a web browser capable of rendering HTML and HTTP without support for
JavaScript and Java.
The persistent storage is realized using an MySQL database. The business logic is realized using the J2EE/JEE
runtime system.
a storage subsystem managing persistent data a session subsystem controlling authentication, check out, and check in a notification subsystem sending past due notices an administration subsystem realizing administration requests a user interface subsystem translating HTTP requests into requests to other subsystems and translating
results into HTML pages.
Tasks:
Identify Features - Login Page, Customer Information, Asset Information etc.
Develop Prototype – HTML, JavaScript, CSS
Implement Functionality – Core Java, Servlets, JSP, Struts, Hibernate
Deploy and Test Application – Tomcat Server, Eclipse
Zaran
Tech L
LC