Sei sulla pagina 1di 72

The company unveiled its latest flagship smartphones, the iPhone 11 Pro,

iPhone 11 Pro Max and iPhone 11. All the devices are available for pre-order
starting on Friday at 5 a.m. Pacific Standard and will start shipping Sept. 20.

The iPhone 11 Pro and iPhone 11 Pro Max feature 5.8-inch and 6.5-inch
OLED displays, respectively. Both devices come in green, space gray, silver
and gold, while Apple added a new matte finish to the back panel.

The devices have the same form factor as their predecessors, the iPhone XS
and the iPhone XS Max, but feature an all new triple-lens camera on the back.
The triple-lens camera system includes a telephoto camera, wide angle
camera that lets in 40% more light, as well as an ultra wide camera with a
120-degree field of view. The cameras are also capable of shooting 4K
resolution video at 30 frames per second.

Both the iPhone 11 Pro and iPhone 11 Pro Max have gotten major spec
upgrades, making them faster, while using less power. The iPhone 11 Pro gets
four more hours of battery life compared to the iPhone XS and the iPhone 11
Pro Max has five hours more of battery life.

Who are we?


Afiniti is the world’s leading applied artificial intelligence and advanced
analytics provider. Afiniti Enterprise Behavioral Pairing™ uses artificial
intelligence to identify subtle and valuable patterns of human interaction in order
to pair individuals on the basis of behavior, leading to more successful
interactions and measurable increases in enterprise profitability. Afiniti operates
throughout the world, and has measurably driven billions of dollars in
incremental value for our clients.

Purpose
Afiniti is seeking to hire an innovative and motivated individual, who under
general direction can work with a high level of autonomy, uses knowledge and
skills obtained through education and experience to perform the necessary
software quality assurance related tasks as mentioned below.

Key Responsibilities:

 Design, document, develop and execute automation test cases,


supplemented by manual test cases as necessary.
 Evaluating and understand the current state of testing and driving change
to increase test automation and improve our overall testing practices.

 Overseeing and directing the test development processes including


designs, reviews, implementations, and test execution.

 Continuously improving testing methodology, best practices, and


standards to provide consistent testing across products.

 Working closely with infra teams to build and maintain testing


infrastructure and tooling periodically reviewing how ou

The US justice department has issued a warrant for the seizure of an Iranian oil
tanker, a day after a Gibraltar judge allowed the release of the detained vessel.

The Grace 1 supertanker was held by British Royal Marines in July on suspicion
of illegally transporting oil to Syria.

Authorities in the US claim they can seize the ship and the 2.1m barrels of oil it
is carrying over alleged violations of terrorism statutes and the International
Emergency Economic Powers Act. But officials in Gibraltar have already
allowed the Grace 1 to leave.

Two weeks after the vessel was detained, Iran seized the British-flagged oil
tanker Stena Impero in the Strait of Hormuz in apparent retaliation.
A last-minute legal attempt by the US to keep the Grace 1 detained was rejected
by Gibraltar on Thursday.







 Data, text and minute usage while roaming may take up to 30 days to show on your account and
may impact what shows as available.
 If you change your plan on any day but the first day of your billing cycle, any usage before the
plan change isn't included.
 For pooled accounts (like a business account), text usage shows both your usage and the pooled
usage combined.
 Data and text usage is displayed in Pacific Time (PT), and typically updates every two hours.
Usage details are available only to customers on monthly

Microsoft Te Check

your usage
Check your data, text message, or minute usage.
Check your usage

Things to keep in mind


 If you reach 80% or 100% of your minutes, texts, or data usage, we'll send you a free text
message alert at each threshold.
 Data, text and minute usage while roaming may take up to 30 days to show on your account and
may impact what shows as available.
 If you change your plan on any day but the first day of your billing cycle, any usage before the
plan change isn't included.
 For pooled accounts (like a business account), text usage shows both your usage and the pooled
usage combined.
 Data and text usage is displayed in Pacific Time (PT), and typically updates every two hours.
 Usage details are available only to customers on monthly postpaid plans. They aren't available to
prepaid accounts.

Business account with 21+ lines


1. Go to My T-Mobile and log in to your account.
2. In the 'My current usage' section on the main screen, you can view usage or click See my
usage to view usage for specific lines.
o You can also click Usage under the ‘My phone’ section and then click View all account
usage to view usage for specific lines.
o Selecting Manage > Recent Use from the top navigation bar also allows you to view
usage for specific lines.
Was this helpful?
Selenium over
QTP
1 Free (No license
fees is required)2
Support large
number of
browser(QTP
support only 3)3
Support large
number
of programming
language(C#, Java,
Python, Perl etc),
QTP support only
VB script4 With
the help of grid we
can execute
multiple test cases
in parallel,
ultimately we are
saving lot of
executiontime, this
kind of feature not
available in QTP
Advantage of
QTP over
Selenium
1 User Friendly,
Easy to work on2
Can develop test
cases in much
faster way as
compared to
Selenium3 Support
all type of
application(client-
server, window ,
web)4 Limited
programming skills
are required
Difference
between
Selenium IDE,
RC and
WebDriverS e l
enium IDE
Selenium R
C Selenium
WebDriver
It only works in
Mozillabrowser.I
t supports with
all browserslike
Firefox,
IE, Chrome,
Safari,Opera
etc.It supports
with all
browserslike
Firefox,
IE, Chrome,
Safari,Opera
etc.It supports
Record
andplaybackIt
doesn’t supports
Record
andplaybackIt
doesn’t supports
Record
andplaybackDoes
n’t required to
start
serverbefore
executing the
test script.Requi
red to start
server
beforeexecuting
the test
script.Doesn’t
required to start
serverbefore
executing the
test script.It is
a GUI Plug-in
It is standalon
e java program
which allow you
to run Htmltest
suites.It actual
core API which
hasbinding in
a range of
languages.Core e
ngine is Javascri
pt based Core en
gine is Javascrip
t based Interact
s natively with b
rowserapplicatio
nVery simple to
use as it isrecord
&
playback.It is ea
sy and small AP
I As compared
to RC, it is bitc
omplex and large
API.It is not ob
ject oriented A
PI’s are less Ob
ject oriented A
PI’s are entirely
ObjectorientedI
t doesn’t
supports
of movingmouse
cursors.It
doesn’t supports
of movingmouse
cursors.It
supports
of moving
mousecursors.Ne
ed to append full
xpath
with‘xpath=\\’
syntaxNeed to
append full xpath
with‘xpath=\\’
syntaxNo need to
append full
xpathwith
‘xpath=\\’
syntaxIt does
not support to
testiphone/Andro
id applicationsIt
does not support
to
testiphone/Andro
id applicationsIt
support to
testiphone/Andro
id applications
Commands to
Create
Webdriver
object for
different
browsers
What is the difference between Cluster and Non-Cluster Index?
The difference between the clustered and non-clustered index in SQL is as
follows:
Clustered Index:
It is used for easy retrieval of data from the database and it is faster.
One table can only have one clustered index
It alters the way records are stored in a database as it sorts out rows by the
column which is set to be clustered index.
Non-Clustered Index:
It is slower compared to the Clustered index.
One table can have multiple non clustered index
It doesn’t alter the way it was sorted but it creates a separate object within a
table which points back to the original table rows after searching.

20. What is a View?


A view is like a subset of a table which is stored logically in a database. A view
is a virtual table. It contains rows and columns similar to a real table. The
fields in the view are fields from one or more real tables. Views do not contain
data of their own. They are used to restrict access to the database or to hide
data complexity.

CREATE VIEW view_name AS SELECT column_name1, column_name2 FROM table_name WHERE


1
CONDITION;
21. What are the advantages of Views?
Some of the advantages of Views are

1. Views occupy no space

2. Views are used to simply retrieve the results of complicated queries that
need to be executed often.

3. Views are used to restrict access to the database or to hide data


complexity.
22. What is a relationship and what are they?
Database Relationship is defined as the connection between the tables in a
database. There are various database relationships namely
1. One to One Relationship
2. One to Many Relationship
3. Many to One Relationship
4. Self-Referencing Relationship

23. What is a query?


A database query is a request for data or information from a database table or
combination of tables. A database query can be either a select query or an
action query.

24. What is a Subquery?


A Subquery is a SQL query within another query. It is a subset of a Select
statement whose return values are used in filtering the conditions of the main
query.

25. What are the types of subquery?


There are two types of subquery:
1. Correlated: In a SQL database query, a correlated subquery is a subquery
that uses values from the outer query in order to complete. Because a
correlated subquery requires the outer query to be executed first, the
correlated subquery must run once for every row in the outer query. It is also
known as a synchronized subquery.
2. Non-Correlated: A Non-correlated subquery is a subquery in which both
outer query and in

103. What is Database Testing?


It is AKA back-end testing or data testing.
Database testing involves in verifying the integrity of data in the
front end with the data present in the back end. It validates the
schema, database tables, columns, indexes, stored
procedures, triggers, data duplication, orphan records, junk records.
It involves in updating records in a database and verifying the same
on the front end.

104. What is the difference between GUI Testing and


Database Testing?

 GUI Testing is AKA User Interface Testing or Front-end testing


Database Testing is AKA back-end testing or data testing.

 GUI Testing deals with all the testable items that are open to
the user to interaction such as Menus, Forms etc.
Database Testing deals with all the testable items that are
generally hidden from the user.

 The tester who is performing GUI Testing doesn’t need to


know Structured Query Language
The tester who is performing Database Testing needs to know
Structured Query Language

 GUI Testing includes invalidating the text boxes, check boxes,


buttons, drop-downs, forms etc., majorly the look and feel of
the overall application
Database Testing involves in verifying the integrity of data in
the front end with the data present in the back end. It validates
the schema, database tables, columns, indexes, stored
procedures, triggers, data duplication, orphan records, junk
records. It involves in updating records in a database and
verifying the same on the front end.

Final words Hope we have covered complex SQL Interview


Questions and Answers for Experienced as well as Freshers.
Bookmark this post “SQL Interview Questions And Answers for
Experienced” for future reference. After reading this post “SQL
Interview Questions”, if you find that we missed some important
SQL Server Interview Questions, please comment below we would
try to include those with answers.
Note: Most of my readers are asking me to write SQL Interview
Questions for testers. If you are a Software QA, there is no point of
learning separate SQL server query interview questions. This post
covers everything for both Developers as well as Testers.

You May Like.

 SQL Complete Tutorial

 SQL Joins Cheat Sheet

 6 Most Popular Interview Qu

US, Canada, Mexico Time Zones

Atlantic Daylight Time (ADT) • Eastern Daylight Time (EDT) • Central Daylight Time (CDT) • Mountain
Daylight Time (MDT) • Pacific Daylight Time (PDT) • Alaska Daylight Time (AKDT) • Hawaii
Time • Arizona • Saskatoon • New York •Toronto • Mexico City • San
Francisco •Chicago • Houston • Miami • Phoenix • Halifax •Denver • Monterrey • Chihuahua

Europe Time Zones

Greenwich Mean Time (GMT) • British Summer Time (BST) • Western European Summer Time
(WEST) • Central European Summer Time (CEST) • Eastern European Summer Time
(EEST) • London • Paris • Berlin • Athens •Warsaw • Kiev • Belarus • Moscow • Madrid •Stockholm • A
msterdam • Istanbul

Australia, New Zealand Time Zones

AEST • ACST • AWST • New Zealand Time


(NZT) • Queensland • Adelaide • Brisbane •Canberra • Melbourne • Perth • Sydney •Auckland • Fiji • S
olomon Islands • Papua New Guinea

Asia Time Zones

India • Pakistan • China • UAE • Japan • Korea• Philippines • Thailand • Hong


Kong • Taiwan •Malaysia • Singapore • Jakarta • Bangladesh •Sri Lanka • Nepal • Kuwait • Saudi
Arabia • Viet Nam • Oman • Israel • Jordan • Beijing •Bangalore • Kuala
Lumpur • Manila • Tokyo •Seoul • Karachi • Dubai

Africa Time Zones

West Africa Time (WAT) • Central Africa Time (CAT) • East Africa Time
(EAT) • Egypt • Nigeria• Kenya • Ghana • Morocco • Tanzania •Ethiopia • Uganda • South
Africa • Cairo •Algiers • Casablanca • Accra • Lagos • Cape Town • Nairobi

South America Time Zones

Brazil • Argentina • Chile • Peru • Ecuador •Colombia • Venezuela • Panama • Puerto Rico• São
Paulo • Manaus • Rio de Janeiro •Buenos Aires • Santiago • Lima • Quito •Bogota • Caracas

Can any one please help me with this? I have application, for this no KT session
or FS are provided, So now i have taken bottom-top approach, by writing the
system testcase using the application. But my TL told me to write regression
testcase. What i understood about regression testcase is that-For one scenrio or
testcase multiple data, So testing the same scanario with different multiple
data. Is this right or Wrong?

2 Answers ABC,

when we should start writing test cases?

10 Answers Thatavarti Technologies,

please can anybody tell me, how to indentify the test cases which can be
automated from a given set of test cases, say 20.

2 Answers

What is the role of QA in a company that produces software?


5 Answers

1. Here's our first look at the Huawei Mate 30 Pro - not through renders or glass
panels - but in the real world.

2. The images below show two unknown Huawei devices, reminiscent of the Mate
20 Pro, in a design-protective case alongside two Huawei Mate 20 X being used
in some sort of call test.
3.
4.
5.
6.
7.
8. Fault Type, Severity and Status
9. Fault Severity in Fault report(s) are marked as follows:
10.
Level Value Description

System Crash

Major Exception, Web Errors


FATAL F
Application Crash
DB Crash
Major component in non-functional state, testing can’t be continued.

Any component not properly functioning but testing of other areas can
be continued.

Field Level violations.


MAJOR M
Integration Failure / abnormality

Easily visible L&F faults (Spelling mistakes, alignment issues, Color


schemes)

Unnecessary messages / alerts.

Invisible L&F issues (Improper Tab sequence, Keyboard shortcuts not


MINOR N working).

Any annoyances / user unfriendliness. (E.g. Toolbar can’t be reopened


until & unless application is restarted.)

11. Table 1 Fault Severities


12.
13. Fault Types in Fault report (s) are categorized as follows:
14.
Type Value Description
Fault related to the business logic (modeling).
Business
B Examples: Requirement is not being accomplished in problem
Logic
solving or there is better option to solve such problem.

Faults related to functionality and logic.


Functional & Examples: Data not being saved, Field Level violations, execution
F
Logical Flow, any component partly or completely non-functional,
Incorrect calculations.

Faults related to GUI.


Look & Feel L Examples: Grammatical mistake, Color Schemes, Alignment
issues.

Fault related to Performance.


Performance P Examples: application hangs, DB Locking, Longer transitions time,
Server performance

Fault related to recoverability


Recoverability R Examples: System error handling, Exception handling, Network
error s handling, Session expire
15.
16.
17.
18.
19.
20. Boundary value analysis

Boundary value analysis is a variant and refinement of equivalence partitioning with two major differences:

First, rather than selecting any element in equivalence class as being representative, elements are selected such
that each edge of EC is the subject of a test. Boundaries are always a good place to look for defects.

Secondly, rather than focusing exclusively on input conditions, output conditions are also explored by defining
output EC’s. What can be output? What are the classes of output? What should I create as an input to force a
useful set of classes that represent the outputs that ought to be produced?

The guidelines for boundary value analysis are:


 If an input specifies a range of valid values, write test cases for the ends of the range and invalid input
test cases for conditions just beyond the ends. Example: If the input requires a real number in the
range 0.0 to 90.0 degrees, then write test cases for 0.0,90.0,-.001 and 00.001.
 If an input specifies a number of valid values, write test cases for the minimum and maximum number
of values and one beneath and beyond these values. Example: if the input requires the titles of at
least 3, but no more than 8 books, then write test cases for 2, 3, 8, and 9 books.
 Use the above guidelines for each output condition.

 Design, document, develop and execute automation test cases,


supplemented by manual test cases as necessary.

 Evaluating and understand the current state of testing and driving change
to increase test automation and improve our overall testing practices.

 Overseeing and directing the test development processes including


designs, reviews, implementations, and test execution.

 Continuously improving testing methodology, best practices, and


standards to provide consistent testing across products.

 Working closely with infra teams to build and maintain testing


infrastructure and tooling periodically reviewing how our test strategy
aligns with the latest technology.

 Clearly log, track, and communicate the issues.

 Perform Functional, Regression and Acceptance tests.

Who are we?


Afiniti is the world’s leading applied artificial intelligence and advanced
analytics provider. Afiniti Enterprise Behavioral Pairing™ uses artificial
intelligence to identify subtle and valuable patterns of human interaction in
order to pair individuals on the basis of behavior, leading to more successful
interactions and measurable increases in enterprise profitability. Afiniti
operates throughout the world, and has measurably driven billions of dollars in
incremental value for our clients.
Purpose
As a Technical Support Engineer, your purpose is to assist our customers 24
hours a day, 7 days a week, 365 days a year. You will be responsible for
providing Afiniti’s technical support to customers via phone, web, email, chat
and other support channels as required.

Key Responsibilities

 Provide initial assessment of urgency and business impact on all support helpline calls and emails

 Record internal and external client service requests, incidents and change requests into system and
communicate ticket ID to client for their follow up

 Perform initial troubleshooting to identify the root cause by eliminating step-by-step possible root causes of
the incident

 Follow standard procedures for proper escalation of unresolved issues to the appropriate internal teams

 Maintain overall ownership of client’s issue and service, ensuring that they receive resolution within a
committed SLA

 Perform comprehensive root cause analysis and advise how to avoid such incidents in the future

 Record incident resolution in system and communicate to all stakeholders

 Research, diagnose, troubleshoot and identify solutions to resolve customer issues

 Document knowledge in the form of knowledge base tech notes and articles
he field of mobile
testing is popular
these days.
Mobile testing
process
involvesboth
device testing as
well as
application and
software testing
to assure the
qualityof mobile
devices such as
mobile phones,
PDAs (Personal
Digital
Assistants),
etc. The testing
will be conducted
on both hardware
and software.
From the view
of different
procedures,
the testing
comprises of
R&D testing,
factory
testing, andcertifi
cate testing. This
process of
testing includes a
set of activities
from
monitoring andtro
ubleshooting the
mobile applicatio
n to content and
services on the
real
handsets. Testing
is nothing but the
verification and
validation of
hardware devices
andsoftware
applications.Many
of us think
about pursuing a
career in this field
of testing.
Starting from
abeginner in this
domain to
becoming an
expert, it is
interesting and
helpful to
knowwhat could
be the different
questions that
are asked
to people while
selecting themfor
various positions
in the mobile
testing field such
as a software
tester.Here is a
list of some of
the most
commonly asked
questions in such
interviewsalong
with their
most probable
answers. These
sample interview
questions
willcertainly
prove to be
useful for you if
you have been
selecteMobil
e Testing
Interview
Questions
The field
of mobile
testing is popular
these days.
Mobile testing
process
involvesboth
device testing as
well as
application and
software testing
to assure the
qualityof mobile
devices such as
mobile phones,
PDAs (Personal
Digital
Assistants),
etc. The testing
will be conducted
on both hardware
and software.
From the view
of different
procedures,
the testing
comprises of
R&D testing,
factory
testing, andcertifi
cate testing. This
process of
testing includes a
set of activities
from
monitoring andtro
ubleshooting the
mobile applicatio
n to content and
services on the
real
handsets. Testing
is nothing but the
verification and
validation of
hardware devices
andsoftware
applications.Many
of us think
about pursuing a
career in this field
of testing.
Starting from
abeginner in this
domain to
becoming an
expert, it is
interesting and
helpful to
knowwhat could
be the different
questions that
are asked
to people while
selecting themfor
various positions
in the mobile
testing field such
as a software
tester.Here is a
list of some of
the most
commonly asked
questions in such
interviewsalong
with their
most probable
answers. These
sample interview
questions
willcertainly
prove to be
useful for you if
you have been
selected for an
interview
roundfor the
position of
a software
tester.Question 1:
How would you
introduce
yourself?Answer:
This is the most
frequently asked
question in every
interview you
appearfor. This is
the first
opportunity for
you to impress
the interviewer.
Start with
yourintroduction
that includes
academical and
professional
background. Try
to keep
thissession as
short as possible
with only the
necessary
and relevant
information.
Thereason for
this is that the
interviewer is
not interested in
your personal
informationand
the education,
knowledge, and
skills are wha
Proud to be CEH (Certified Ethical Hacking) will be the new way to found myself as a
Professional Application Security Expert/Penetration Tester.

Specialties: Web Applications Security Scanning


Web Application Manual Pen Test
Web Services Security Scanning
Android and iPhone Application Manual Pen Test
AJAX (DWR) Security Testing
Setup a newly Web Application and Verification of Application Controls for Audit
Vulnerabilities identification, Remediation tips
Release Plan Management
Tools Explored: (Security Testing)
Cenzic Hailstorm 6.6
OWASP Project WebGOAT
SOAPUI
WebScarab
Fiddler Web Proxy Debugger Tool
Tamper Data
Tamper IE
Cache Viewer
Form History Control
Ground Speed

Live Http Header Summary


Almost 5 years as an Application Security Testing engineer, I have discovered my
independent way to move forward. Domain understanding and familiarization with
business processes are playing vital role in the improvement of my skills. Application
Security Scanning with multiple tools, Application Manual Penetration Testing,
understanding of Application related vulnerabilities, Vulnerabilities Remediation Tips
experienced me a lot.

Manual Penetration Testing has provided me a new vision to lead my life along with my
skills.

Perform penetration testing, Secure Code Analysi and reverse engineering on Mobile
Android Applications
• Provide secure development guidelines to Developers
• Assist organizations with the Secure Development Lifecycle (SDLC)
• Provide mentorship to less senior colleagues
• Manage Multiple Security Audits from start to completion

Successful completion of PCI(Payment Card Industry) Audit helped me a lot during my


career twice. To setup a Web Application free of Critical/High/Medium/Low
vulnerabilities was a great challenge for me.

OWASP top 10 vulnerabilities documentation and discussion.


Hello Karthik, how can i join this session. I wanted to learn selenium and also, live project. Please guide
me!

REPLY
Bader Bari1 month ago

WASTE OF TIME. RUN

REPLY

Poonam Chaturvedi2 years ago

can u explain me system testing with live example

REPLY

View reply

Santa Thapa2 years ago

I also join the seminar online

REPLY

Ranganath Vaishnav1 year ago

Hi Sir, I am referring this video to learn Manual testing.

REPLY

View reply

jiya Styen1 year ago

hello sir im fresher and i want learn how to write test cases plz explain me in your next video

REPLY

Ranganath Vaishnav1 year ago


Can I get Requirement document???

REPLY

View reply

 Actions are commands that generally manipulate the state of the


application. They do things like “click this link” and “select that
option”. If an Action fails, or has an error, the execution of the current
test is stopped.

Many Actions can be called with the “AndWait” suffix, e.g.


“clickAndWait”. This suffix tells Selenium that the action will cause the
browser to make a call to the server, and that Selenium should wait
for a new page to load.

 Accessors examine the state of the application and store the results
in variables, e.g. “storeTitle”. They are also used to automatically
generate Assertions.

 Assertions are like Accessors, but they verify that the state of the
application conforms to what is expected. Examples include “make
sure the page title is X” and “verify that this checkbox is checked”.

All Selenium Assertions can be used in 3 modes: “assert”, “verify”, and


” waitFor”. For example, you can “assertText”, “verifyText” and
“waitForText”. When an “assert” fails, the test is aborted. When a
“verify” fails, the test will continue execution, logging the failure. This
allows a single “assert” to ensure that the application is on the correct
page, followed by a bunch of “verify” assertions to test form field
values, labels, etc.

“waitFor” commands wait for some condition to become true (which


can be useful for testing Ajax applications). They will succeed
immediately if the condition is already true. However, they will fail and
halt the test if the condition does not become true within the current
timeout setting (see the setTimeout action below).

Script Syntax

mvn eclipse:eclipse
Then open eclipse. Choose your workspace or create a new one. Once the
Eclipse IDE loads, do the following:
# File -> Import… # General -> Existing Projects into Workspace # Click
next # Next to “Select root Directory:” click “Browse” button # locate the
project folder containing your pom.xml and click ok. # Your project should
appear in the “Projects” box already # click finish
If you haven’t already, install the m2eclipse plugin then right click on your
project and select Maven -> Enable Dependency Management.

Importing Sel2.0 Project into IntelliJ Using Maven


We are currently working on this appendix. The information provided here is
accurate, although it may not be finished.

In this appendix we provide the steps, including screen captures, showing


how to create a Selenium 2.0 java client-driver project in IntelliJ IDEA.
These steps assume you have already used maven with a pom.xml file to set
up the project. This process is described in the Selenium 2.0 chapter. You
must have followed that process before you can perform these steps. This
appendix then shows you how to import the maven-created Selenium 2.0
java project into IntelliJ.

First, open IntelliJ and from the entry page, click Create New Project.

As we develop features in the Firefox Driver, we expose the ability to use


them. For example, until we feel native events are stable on Firefox for Linux,
they are disabled by default. To enable them: Firefox Driver
Controls the Firefox browser using a Firefox plugin. The Firefox Profile that is
used is stripped down from what is installed on the machine to only include
the Selenium WebDriver.xpi (plugin). A few settings are also changed by
default (see the source to see which ones) Firefox Driver is capable of being
run and is tested on Windows, Mac, Linux. Currently on versions 3.6, 10,
latest - 1, latest

Usage

FirefoxProfile profile = new FirefoxProfile();


profile.setEnableNativeEvents(true);
WebDriver driver = new FirefoxDriver(profile);
Info
See the Firefox section in the wiki page for the most up to date info.

Internet Explorer Driver


The InternetExplorerDriver is a standalone server which implements
WebDriver’s wire protocol. This driver has been tested with IE 7, 8, 9, 10,
and 11 on appropriate combinations of Vista, Windows 7, Windows 8, and
Windows 8.1. As of 15 April 2014, IE 6 is no longer supported.

The driver supports running 32-bit and 64-bit versions of the browser. The
choice of how to determine which “bit-ness” to use in launching the browser
depends on which version of the IEDriverServer.exe is launched. If the 32-
bit version of IEDriverServer.exe is launched, the 32-bit version of IE will be
launched. Similarly, if the 64-bit version of IEDriverServer.exe is launched,
the 64-bit version of IE will be launched.

T Three Dimensional Knowledge is required for Software Testers ypes of Banks:


a) Saving Banks
Saving banks are established to create saving habit among the people. These banks
are helpful for salaried people and low income groups. The deposits collected from
customers are invested in bonds, securities, etc. At present most of the commercial
banks carry the functions of savings banks. Postal department also performs the
functions of saving bank.

Where can I find a full test automation


project with Selenium WebDriver?
21:43 Posted by Alex Siminiuc 11 Comments

You have been learning test automation with Selenium.

You went through lots of concepts and would like to see how they all work together.

Where can you find a project that uses everything you learned and more?
Here :)

What follows is a small project that I built a while ago for a job interview.

It uses many test automation concepts such as:

 page factory
 base classes
 html classes
 test listeners
 test ng assertions and fixtures
 annotations
 custom locators (javascript and jquery)
 screenshots
 saving errors in text files

The exercise consisted in automating the following test case with Java and Selenium WebDriver:

 Launch bestbuy url (www.bestbuy.ca)


 Search a product and add it to cart
 Go all the way through checkout process and place the order with invalid credit card
 Capture the error message due to invalid credit card

Before downloading the project and checking the source code, a few details about the project.

Project details
Maven project
- all dependencies are managed through the pom.xml file

Test NG
- unit testing library

Java JDK 8
- used for lambda expressions and streams

Page Factory
- pattern for creating page object and page fragment classes
- the elements of page object/fragment classes have names and locators
- names and locators are implemented using annotations
- available locator types are id, xpath, css, name and javascript
view source he biggest change in Selenium recently has been the inclusion of
the WebDriver API. Driving a browser natively as a user would either locally
or on a remote machine using the Selenium Server it marks a leap forward
in terms of browser automation.
Selenium WebDriver fits in the same role as RC did, and has incorporated
the original 1.x bindings. It refers to both the language bindings and the
implementations of the individual browser controlling code. This is commonly
referred to as just "WebDriver" or sometimes as Selenium 2.

Selenium 1.0 + WebDriver = Selenium 2.0


 WebDriver is designed in a simpler and more concise programming
interface along with addressing some limitations in the Selenium-RC
API.
 WebDriver is a compact Object Oriented API when compared to
Selenium1.0
 It drives the browser much more effectively and overcomes the
limitations of Selenium 1.x which affected our functional test coverage,
like the file upload or downloa
print?
01 @Name("SEARCH_HEADER")
02 @FindBy(className = "main-navigation-container")
03 public class SearchHeader extends HtmlElement{
04
05 @Name("SEARCH_FIELD")
@FindBy(id
06
= "ctl00_MasterHeader_ctl00_uchead_GlobalSearchUC_TxtSearchKeyword")
07 private TextInput searchKeywordTxt;
08
09 @Name("SEARCH_BUTTON")
@FindBy(id
10
= "ctl00_MasterHeader_ctl00_uchead_GlobalSearchUC_BtnSubmitSearch")
11 private Button searchBtn;
12
13 public void search(String keyword) {
14 searchKeywordTxt.click();
15 searchKeywordTxt.clear();
16 searchKeywordTxt.sendKeys(keyword);
17 searchBtn.click();
18 }
19 }

Main folder (framework classes)


annotations classes
- FindBy
- FindByJQUERY
- FindByJS
- Name
- Timeout
view source
print?
01 package com.bestbuy.demo.annotations;
02
03 import java.lang.annotation.ElementType;
04 import java.lang.annotation.Retention;
05 import java.lang.annotation.RetentionPolicy;
06 import java.lang.annotation.Target;
07
08 @Retention(RetentionPolicy.RUNTIME)
09 @Target({ElementType.TYPE, ElementType.FIELD})
10 public @interface Name {
11 String value();
12 }