Sei sulla pagina 1di 39

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
Business
B Fault related to the business logic (modeling).
Logic
Examples: Requirement is not being accomplished in problem
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


Recoverabilit
R Examples: System error handling, Exception handling, Network
y
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. Testin
g 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. Testin
g 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 }

Potrebbero piacerti anche