Professional Documents
Culture Documents
CONFESSIONS OF A CODER
none
of them
working
on it.
Deeply
upsetting!
Finally, one
sneaky poster
comments: Im
considering making a fake
replica of this site so I can trick
co-workers into anonymously
confessing their sins to me.
Beware, he may have already
done so!
SOMETIMES,
IF SOME
CODE DOES FAIL
OCCASIONALLY I
JUST PUT A LOOP THAT
TRIES IT AGAIN. TEST
AUTOMATION AT
ITS FINEST!
TO ADVERTISE CONTACT:
Sarah Walsh
sarah.walsh@31media.co.uk
Tel: +44(0)203 668 6945
PRINTED BY
Pensord, Tram Road,
Pontllanfraith, Blackwood, NP12 2YA
EDITOR
Matthew Bailey
matthew.bailey@31media.co.uk
Tel: +44 (0)203 056 4599
PAGE 1
CONTENTS
NEWS
THE EVOLUTION OF
TEST AUTOMATION
6. THE EVOLUTION
OF TEST AUTOMATION
NARAYANA MARUVADA
LOOKS AT HOW AUTOMATION
IS DEVELOPING IN AN EVERCHANGING TESTING LANDSCAPE
AND HOW AUTOMATION
FRAMEWORKS HAVE
EVOLVED IN RESPONSE TO
THESE CHANGES.
10
14
18
22
26
AGILE PEOPLE
28
TEST PROFILE
32
INTERESTING DEVELOPMENTS
If the inspiration to create innovative testing products
is Borlands lifeblood then, as development director,
Mark Conway must keep the arteries of this software
company busy. We found out what makes him tick.
36
38
42
COMPREHENSION MATTERS
43
44
LAST WORD
SPECIAL OFFER!
48
PAGE 3
NEWS
GOOGLE GLASS
BRINGS INTERNET OF
EVERYTHING CLOSER
Google Glass, the wearable
computer with a headmounted display currently under
development by the company
that is set to offer continuous
augmented reality to the user
will bring the goal of the Internet
of Everything closer according to
Mark Dunleavy, the UK managing
director at data integration
specialist Informatica.
Google Glass is taking a giant
leap in the journey towards the
Internet of Everything, says
Dunleavy. The security implications
of this type of technology are rightly
being scrutinised as we accelerate
towards the next generation of
technology. Whilst Google Glass is
still in its infancy, the possibilities with
this new technology are endless.
The ability to scan barcodes and
instantly get information about
a product or showcase traffic
blocks on a GPS route, will change
our lives. Yet, there is a stumbling
block. How do we get the new
innovations to talk to retailers or
a GPS system to convey traffic
updates to a new device?
The Internet of Everything is
a race - to connect the vast
range of things and processes in
the physical and digital worlds.
Innovation has jumped ahead
of the integration of everything.
We need everything to be able to
talk to everything else, in the same
language. And, this is no mean
feat. The fact is; data integration
underpins absolutely everything,
every device and every system
that is connected in some way to
another object. The trick is to get
this right and in real time.
For the Internet of Everything
to work, concludes Dunleavy,
the industry needs to get data
integration and security right.
Organisations often underestimate
the need for data to be
integrated in real time. And, think
about this after the fact. Once
data is transferring smoothly from
one organisation to another, the
more people will want to know
who holds information on them
and how and when it is used.
And, the devices will need to be
enabled to participate in our ever
changing world.
PAGE 4
Software quality
specialist SQS has
revealed plans to offer
cloud-based testing
services. According
to the company its
Quality Cloud offers four
standardised services
that can be accessed
NEWS
DIGITAL SKILLS ACADEMY LAUNCHED
With recent research from e-skills UK
showing that optimising ICT could
raise the nations GVA by 50bn over
the next five to seven years, improving
the skills of individuals and SMEs is an
important step in generating growth
and prosperity.
Skills Minister Matthew Hancock MP
backs the aims of the Digital Skills
Academy. Nowadays, anyone
looking for work needs to be
technology-savvy. These exciting new
developments will make it easier for
people at all stages of their careers to
gain the skills they need, and will give
employers a simple but powerful way
to help their staff.
TOOLS.
Businesses have a
variety of needs and
expectations driving
adoption of collaboration
tools. And the consumerisation of
IT has raised expectations among
employees about the social
technologies that they can use
to collaborate inside and outside
of the organization, said Andr
Huizing, global collaboration
lead at the company that
commissioned the research,
Avanade. To fully maximise the
opportunity around these tools,
successful collaboration strategies
will align closely to the goals of the
business, while prioritizing the needs
of end users, and be supported by
the right tools, training and policies
to promote adoption throughout
the organization. Furthermore, as
reported in the 2013 Accenture
Technology Vision, integrating
collaboration into business
processes will also transform the
way work is done in the enterprise.
We see huge opportunity for
business results with the right social
collaboration strategy in place.
E-SPONSORED
ATTACKS CONTINUE
News that the US has been bombarded by
attacks from Chinese hackers using different
techniques to steal data from scores of
American companies and government
agencies indicates the importance that
cyberspace now has in government circles
according to IT security specialist Lancope.
The companys director of security research,
Tom Cross comments that the fact that statesponsored attacks are on the rise means that
IT professionals and their managers - need to
review their technology defences.
Were hearing more and more about statesponsored attacks, so you can be sure that this
form of technology subversion and compromises
are now firmly part of the modern security
threat landscape. The reality is, however, that
governments and their agencies have access
to the very latest attack techniques and
technologies, meaning that organisations need
to significantly raise the bar on their security
defences, he said.
As we said in our report on APT attack
vectors, few organisations currently view
their incident responders as the front line in
their defensive posture, yet it is obvious from
the evolution of APTs and, of course, statesponsored attacks that intelligence forms a
key role when developing a security strategy
to better defend your businesses data and
allied IT assets, he added.
The Lancope director of security research
went on to say that this means that the
incident response team should become a
central part of the defences that organisations
employ to protect their network.
PAGE 5
COVER STORY
NARAYANA MARUVADA
SENIOR QA ENGINEER
VALUELABS
APPRECIATING BENEFITS OF
TEST AUTOMATION
Getting started, the following is a list of
the benefits of test automation:
BUILDING
AN AUTOMATED
TESTING SYSTEM
OR AUGMENTING AN
EXISTING SYSTEM WITH
AUTOMATION IS DEFINITELY
A TECHNICAL CHALLENGE
WHICH SHOULD BE
GIVEN THOUGHTFUL
CONSIDERATION
PAGE 6
COVER STORY
PAGE 7
COVER STORY
ONE MUST
DEVELOP A
HIGHLY FLEXIBLE,
RE-USABLE AND
MANAGEABLE TEST
STRATEGY THAT REALLY
FITS INTO ANY TEST
AUTOMATION
REQUIREMENTS
SEAMLESSLY
EVOLUTION OF TEST
AUTOMATION FRAMEWORKS
PAGE 8
A SENSITIVE TRIPOD
There could be various underlying reasons that govern
the overall success or failure of test automation but
the predominant among them will be test strategy
and design. You need to ensure that there is always a
separation of concerns within the test design, strategy
and test automation framework ie, one must develop a
highly flexible, re-usable and manageable test strategy
that really fits into any test automation requirements
seamlessly. So, to achieve it and also in order to make
the most out of testing, one needs to adhere to the
following essential guiding principles and observe the
same when developing the overall test strategy:
1. Test automation is a full-time effort
This refers to the fact that the test framework design and
the coding of that design together require significant
COVER STORY
front-loaded time and effort. This is not something that
someone can accommodate and do when they have
a little extra time here, or there, or between projects.
Importantly, it demands some consistent effort in the
test framework which must be well thought out, it must
be documented, it should be reviewed and it should
be tested. Typically, it is expected to undergo the same
phases that any full software development project will.
2. Test design and the test framework are two
separate entities
The test design details how the particular functions and
features of our application will be tested. It will tell us
what to do, how and when to do it, what data to use
as input and what results we expect to find. Generally,
all of this is specific to the particular application or item
being tested and this requires knowledge of whether the
application will be tested automatically or manually. On
the other hand, the test framework, or specifically, the
test automation framework is an execution environment
for automated tests. It is the overall system in which
our tests will be automated. The development of this
framework requires completely different technical skills
than those needed for the test design.
3. The Test framework should always be
application-independent.
Although applications are different, the components
that comprise them in general, are not. Hence, one
should focus on the automation framework to deal with
the common components that make up applications.
By doing this, one can remove all application-specific
context from the framework and reuse virtually
everything we develop for every application that comes
through the automated test process.
From a design standpoint, nearly all applications come
with some form of menu system. They also have buttons
to push, boxes to check, lists to view, and so on. So, in a
typical automation tool script there is, generally a very
small number of component functions for each type of
component. These functions work with the component
objects independent of the applications that contain them.
Conventionally, captured automation scripts are filled with
thousands of calls to these component functions. So the
tools already exist to achieve application independence.
Now, the problem is, most of these scripts construct the
function calls using application-specific, hard coded values.
This immediately reduces their effectiveness as applicationindependent constructs.
Furthermore from a technical standpoint, the functions
by themselves are prone to failure unless a very specific
application state or synchronization exists at the time
they are executed. There is little error correction or
prevention built-in to these functions. So, to deal with
this in conventional scripts, one must place additional
code before and\or after the command, or a set of
commands, to insure the proper application state and
synchronization is maintained. Further, for maximum
robustness, one should have to code these state and
synchronization tests for every component function call in
the scripts. Realistically, one could never afford to do this
since it would make the scripts huge, nearly unreadable,
and difficult to maintain. Yet, where one forego this extra
effort implies one increase the possibility of script failure.
So, the solution to the above situation is what one must
do is develop a truly application-independent framework
for these component functions. This will allow us to
implement that extra effort just once, and execute it for
every call to any component function. This framework
should handle all the details of insuring we have the
PAGE 9
ROY DE KLEIJN
TECHNICAL TEST SPECIALIST
WWW.RDEKLEIJN.NL
PAGE 10
Given <pre-condition>
|testerA|passwordA|
STORIES/ACCEPTANCE CRITERIA
PAGE 11
EXECUTABLE SPECIFICATION
The main advantage of Behaviour
Driven Development is that the
scenarios, written as Given / When
/ Then steps, are mapped to code.
Like this, we make executable
specifications. Most BDD frameworks
provide the functionality to execute the
stories immediately, so an empty skeleton
arises and you only have to implement the
actual test code.
A
CHARACTERISTIC
OF BDD IS THAT IT
IS AN OUTSIDE-IN
APPROACH. IT MEANS
THAT THE PRODUCT IS
DESIGNED, DEVELOPED
AND TESTED FROM
THE OUTSIDE.
LIVING DOCUMENTATION
The specification will be literally revealed at every
test execution. Each line of the specification turns
green or red depending on the result. Like this you
will get Living documentation and you can see
EXAMPLE PROJECT
I created an example project on github, which you can use to start with Behaviour Driven Development. The project is
based on JBehave which is a BDD framework in Java. This project can be used to test web applications and supports
parallel test execution and if something unexpected occurred, a screenshot is taken.
SOFTWARE TO BE INSTALLED
1. Eclipse IDE for Java Developers www.eclipse.org/
downloads/
FIG 3
FIG 2
PAGE 12
PAGE 14
THERE
ARE SPECIFIC
REQUIREMENTS
FOR TESTING THE
PERFORMANCE OF
MOBILE APPLICATIONS
THAT ARE NOT ADDRESSED
BY TRADITIONAL
LOAD TESTING
TECHNIQUES.
PAGE 15
Complexity in
load testing
Development
cycle / time to
load test
Overall Budgets
/ Performance
testing budget
Traditional PC
based application
Standard (no
impact of network
conditions,
limited number of
platforms)
6 to 12 months / 1-2
weeks
Counted in 100s
of thousands of $ /
Usually licensing
Mobile application
Complex
Virtually unlimited number of
different network conditions
Numerous different platforms
1-3 months / often no time left
for performance tests
$1k to $30k / often no budget
available for licensing
PAGE 16
KEYWORD-DRIVEN TESTING
MARK LEHKY HAS BEEN
WORKING IN TEST
AUTOMATION SINCE 1999
http://www.google.com/
q
clickAndWait
assertTextPresent
btnG
Selenium Web Browser Automation
MECHANICS OF A TEST AS
A SERIES OF STEPS THAT
IDEALLY ARE NOT TIED
TO ANY DATA.
Selenium IDE
AMERICAN FOOTBALL
At this point I need to insert a slight diversion, specifically for
readers outside of North America.
The example that I am going to present below requires
some basic knowledge of American football. The game of
American football is played with an oval shaped ball, similar
to a rugby ball in the rest of the world. The players throw the
ball, catch the ball, and run with the ball. For game play as
PAGE 18
KEYWORD-DRIVEN TESTING
Within the gambling industry there are several competing
products. All of them essentially involve an operator
watching a game on television and in real time entering
all the relevant statistical information (game time, balls
position, direction, and score) into a web-based console,
which is then processed by back end servers and
presented to clients on various betting consoles.
The games history is tracked and individual games are
recorded in a human readable play-by-play format,
called a boxscore. One such website is Pro-FootballReference (http://www.pro-football-reference.com/
boxscores/). This website has built-in functionality to
display any boxscore in a formatted web page or to
export the boxscore into a CSV (comma-separated
values) format.
BEGIN {
4.
# CSV input
5.
FS = ,
6.
7.
print <?xml version=\1.0\
encoding=\UTF-8\?>
8.
print <!DOCTYPE html PUBLIC
\-//W3C//DTD XHTML 1.0 Strict//EN\ \http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\>
9.
print <html xmlns=\http://
www.w3.org/1999/xhtml\ xml:lang=\en\
lang=\en\>
11.
print <meta httpequiv=\Content-Type\ content=\text/html;
charset=UTF-8\ />
10.
print <head profile=\http://
selenium-ide.openqa.org/profiles/test-case\>
12.
print <link rel=\selenium.
base\ href=\http://some.base_server.url/\
/>
13.
</title>
14.
print </head>
15.
print <body>
16.
17.
END {
19.
print </table>
20.
print </body>
21.
print </html>
22.
PAGE 19
KEYWORD-DRIVEN TESTING
23.
awk f csv2selenium.awk 2007NYGatNWE.
csv > 2007NYGatNWE.html
If you double click this bat script, you will get an HTML file
that will be a blank Selenium test. Go ahead and try to
open it in Selenium IDE.
The first play
Have a look at a boxplay from Pro-Football-Reference
inn Table 2.
The first five columns are the starting position for a play,
column six is a description of the next play, and columns
seven and eightare the score at the end of that play. The
last two columns are some statistical probabilities, which
are not relevant for our discussion.
The logic that my awk parser has to follow is to place the
ball and set the clock based on the first 5 columns, and
then determine what the next play is going to be based
on some keywords in column 6. Determining the next
play is going to require the most work. The determining
logic is to be applied at every line of my input, so it will
have a blank pattern. The logic is going to be built using
a series of if else if statements, since awk does not
have a case statement.
Every football game starts with a kick off:
24.
25.
KICKOFF
26.
Quarter Time
Down
ToGo Location
1
1
NWE 30
14:55:00
10
NYG 23
Detail
1st Quarter
NextPlay == KICKOFF {
28.
processBallOn()
29.
print <tr> <td>clickAndWait</
td>
<td>name=offensePossession</td> <td></
td>
</tr>
30.
print <tr> <td>type</td>
<td>id=clock_field</td>
<td> $2 </td>
</tr>
31.
32.
33.
NextPlay = done
function processBallOn() {
35.
split($5, tokens, )
36.
if (tokens[1] == SideLeft)
NYG
1st
Quarter
0
NWE
1st
Quarter
0
EPB
1st
Quarter
0
EPA
1st
Quarter
0.48
0.48
0.34
Table 2
PAGE 20
KEYWORD-DRIVEN TESTING
YOUR OWN BUG HUNT
{
37.
tokens[2] - 1
offSet = 301 / 50 *
38.
print <tr>
<td>clickAt</td>
<td>id=pointer_div</td>
<td> offSet ,10</td>
</tr>
39.
print <tr>
<td>waitForPageToLoad</td> <td></td>
<td></
td>
</tr>
40.
<td>assertValue</td>
ballOnYardLineLeft</td>
td>
</tr>
41.
SideRight) {
print <tr>
<td>id=processPlay_
<td> tokens[2] </
} else if (tokens[1] ==
42.
offSet = 600 - ((600
- 300) / 50 * tokens[2]) + 1
43.
print <tr>
<td>clickAt</td>
<td>id=pointer_div</td>
<td> offSet ,10</td>
</tr>
44.
print <tr>
<td>waitForPageToLoad</td> <td></td>
<td></
td>
</tr>
45.
print <tr>
<td>assertValue</td>
<td>id=processPlay_
ballOnYardLineRight</td> <td> tokens[2] </
td>
</tr>
46.
47.
KEEP ON KEEPING ON
The next play is developed in much the same way:
54.
Find a keyword in column 6 of the input to base
the next play on, and add that as an else if condition.
SKIP SOME
56.
The first two lines of the CSV input (see above) you
actually want to skip. The first one is accomplished with a
very simple:
48.
$1 == Quarter {
55.
Record the appropriate browser gestures to
make that play happen.
Test, repeat.
HARDCORE AUTOMATION
51.
49.
50.
$1 == Quarter || length($1) == 0 {
52.
53.
PAGE 21
BRYAN FANGMAN
SENIOR PROJECT MANAGER
BORLAND
WWW.BORLAND.COM
JULIAN DOBBINS
CHANGE & CONFIGURATION
MANAGEMENT SOLUTION EXPERT
BORLAND
WWW.BORLAND.COM
REBECCA WETHERILL
BORLAND
WWW.BORLAND.COM
PAGE 22
ALL IN ALL
THE RESULTS FOR
THE REQUIREMENTS
MANAGEMENT
QUESTIONS ARE VERY
INTERESTING. ITS CLEAR
WE NEED TO SAY
GOODBYE TO
DOCUMENTS
A QUESTION OF AGILITY
Julian Dobbins is a Borland change and
configuration management solution expert and the
go-to person for these questions.
Q6: Can you quantify the percentage split in your
development methodology between Agile and Waterfall?
One of the most interesting things about this question
was the number who skipped it, says Dobbins. Thirty-one
percent probably did so because they would say Were
a bit of both. I think people dodge questions they see as
irrelevant. It may also show that the respondents see their
front end teams as Agile and the traditional back end
mainframe teams as waterfall. So the question is, will the
mainframe end ever become Agile?
Q 7: For your agile development, which is the best term
that describes how you work? And Q8: How large are
your agile team?
Studying the working processes of Agile teams reveals
how they are organised. Dobbins comments, Over
41 percent of Agile development is done by a team
or teams that are in one place, and in Question 8 we
can see that 56 percent of those teams are less than 10
people.
However, 52 percent of respondents say they have
distributed Agile teams. The gold-standard for Agile is a
small team - fewer than 10 in one place - but for more
than half of respondents thats not the case. Only a third
of the distributed teams say they have a unified change
management discipline. Distributed teams without a solid
change management discipline indicate a lack of maturity
in the organisation to fully manage the rise of Agile.
From this question, we can learn about the maturity
of organisations embracing Agile. It seems that we are
not getting the full visibility we might expect from more
waterfall-based projects which are tried and tested
processes, says Dobbins.
Q9: How is Quality Assurance (QA) handled in
Agile teams?
These results show that QA is certainly part of the Agile
team, says Dobbins. But there is a split that reflects the
amount of Agile testing being done. Nearly a fifth say
they have an Agile development team, but much of it is
PAGE 23
PAGE 24
PAGE 25
TESTA
GOES FROM
STRENGTH TO STRENGTH
More support for The European Software Testing Awards as four new sponsors
and five new judges come on board.
The European Software Testing Awards has
announced that four new sponsors and five
Headline Sponsor
new judges have come on board for the event
which takes place at the Marriott Grosvenor
Square Hotel in central London on the 20th
November 2013.
Category Sponsors
Headline Sponsor
NEW JUDGES
CELEBRATING
TECHNICAL EXCELLENCE
Five new judges have been added to the existing panel of seven from a range of testing competencies:
ADRIAN ELLIS
Adrian Ellis has been with Endsleigh
Insurance Services or 27 years and during
this time has filled many roles beginning as
a motor and property underwriter before
moving into the IT department in 1993 as a
Test Analyst. He was promoted into the role
of Test Lead in 2001 before being promoted again into
his current role as Quality and Assurance Manager.
BEN GALE
Ben Gale has been an IT professional for
over 13 years and founded Criterion Quality
Management Ltd (CriterionQM) with the
sole aim of improving test methods and
increasing awareness of test skills.
BRINDUSA AXON
Brindusa Axon is a passionate lean & agile
consultant, coach and trainer. She works with
ambitious companies to facilitate the kind of
organisational change that has great impact
on the individuals and the bottom line.
DR TIEREN ZHOU
Tieren Zhou Ph.D is founder, CEO and chief
software architect at TechExcel. Dr. Zhou is
an expert in the growing field of kowledgecentric business applications for distributed
development teams and uniting service and
support with development.
TOM CLARK
Tom has worked in IT for 27 years, with the
last nine of those in a variety of quality roles
for a leading international bank. He will soon
be taking up the role of Chief Information
Officer for a major UK building society.
PAGE 26
www.softwaretestingawards.com
AGILE PEOPLE
Angelina Samaroo continues her analysis of Agile principles, this issue she
focuses on the people and motivation.
These were:
1. Our highest priority is to satisfy the customer through the
early and continuous delivery of valuable working software;
2. Welcome changing requirements, even late in the
development. Agile processes harness change for the
customers competitive advantage;
3. Deliver working software frequently, from a couple of
weeks to a couple of months, with preference to the short
timescale;
4. Business people and developers must work together
daily throughout the project.
A HIERARCHY OF NEEDS
Maslow created a hierarchy of needs, based on a study
of high-achievers, shown below on the left (and clearly
Maslow did not anticipate a future where size (of font)
matters). Actually font was probably not in his vocabulary
at all in 1943, but I digress. To the right is how this might
translate if youre working in an Agile project.
PAGE 28
IN AGILE
PROJECTS,
THE MORE YOU
EXTEND THEIR SKILL
SET, THE CLOSER THEY
BECOME TO THAT
SENSE OF SAFETY IN A
SUSTAINABLE WAY.
PAGE 30
Fig 2
PRINCIPLE 6
Lets now look at the next principle:
6. The most efficient and effective method of conveying
information to and within a development team is through
face-to-face conversation.
This one is simple enough its good to talk. Im not
convinced entirely that this method of communication is
most efficient or most effective. It certainly has its place.
Conveying information on the need for a project; the
reasons for the prioritisation of work; why a particular
team has been chosen; an introduction of each team
member; and a word from the sponsor are all in my view
better conveyed, in line with the principle, face-to-face.
In a project with rapid releases of small pieces of
functionality carried out by a small team all co-located, I
can see the face-to-face communication being not just
ideal but routine. But how many projects today fit into this
model? If were chasing the sun for resources, then time
zones become a factor. Words can get lost, and thats
before we try to translate from spoken languages to
programming ones.
Conveying information on functional and non-functional
requirements from a testers perspective is best done
through the written word. Screen shots work very well too.
Testers need traceability. Without the history, regression
testing is based on recall. The business may be reluctant
to put it in writing, lest we hold them to it.
The shorter the trail of evidence, the longer the journey to
the customer?
INTERESTING DEVELOPMENTS
Frank aside, Mark Conway is Mr Borland. If the inspiration to create
market-leading, innovative products is Borlands lifeblood then, as
development director, Mark Conway must keep the arteries of this
software company busy. But what makes him tick? We decided to
find out...
WRITE
ONCE, TEST
EVERYWHERE.
THATS THE NAME
OF THE GAME
AND ANYTHING
ELSE WILL FEEL
UNWIELDY
PAGE 32
PAGE 33
resisting immigration for the sake of a few populist, votewinning statements that feed into the anti-immigration
narrative is hopelessly misguided. He counts off on his
fingers the highly-skilled, best-in-breed and exoticallymonikered software engineers hes worked with over the
years. And these are people we should be encouraging
to stay away?
products live.
customers often have heavy investments
INCLUDING UI TESTING
in static or unwieldy applications, platforms
Quality and how you maintain
IS CERTAINLY A
and hardware and they are struggling to
it is another issue, adds Conway.
understand both the new technology itself
KEY
PART OF THIS
As everything gets faster, quality must
and how they can transition to it. And thats
be continuous, and you cannot rely on
all without some other technology emerging
stabilisation phases. My advice? Consider
from leftfield. Which it always does. Ive been in this
anything that will help, and test automation
industry for 30 years but no two days have ever been
including UI testing is certainly a key part of this.
the same.
Borland has moved away from 12 year cycles and now
release major functionality every six months. We want to
Theres a huge variety of devices available now, adds
get faster still and we rely heavily on automated testing.
Conway, and some estimate half of new applications
Were lucky in that we build rock-solid testing tools, so its
written today target mobile devices. This is a huge
free for us to use them.
number of platforms to cover. The big guys like Google
and Facebook can afford to build natively for almost any
Does this pace create problems beyond just technical
device, but this isnt feasible for everyone, so the industry
issues? The expanding breadth of technology and
is converging on HTML5+Javascript for UI, with REST
the rate of this expansion is behind an inevitable lag in
services on the back-end, perhaps hosted in the cloud.
skills, says Conway. Many organisations are struggling
to build to new architectures and devices and are
Technology will move on, but for now this looks like a
having to outsource because theres no in-house skill. Im
reasonable platform bet for many people. Even if HTML5
not sure there is a short-term answer here, either. Going
works out, this must be tested on a variety of devices
forward, initiatives including the Micro Focus Academic
and browsers to be sure your application works. Write
Program will help organisations and academic institutions
once, test everywhere. Thats the name of the game and
work more effectively to help produce high-calibre
anything else will feel unwieldy.
students with the programming skills needed, but its a
problem today.
QUALITY PEOPLE
So if Conway was elected Prime Minister tomorrow,
how would he deal with this situation? Declaring himself
staunchly apolitical he states, there are two forces you
cant fight, economics and technology and the two
issues are very closely linked in this case. His view is that
PAGE 34
EXPENSE CLAIMS
VISION ON
Clearly, theres no single trick to having the vision to spot
what the market needs and create the product to fill
that gap. Its a combination of intelligence, commercial
courage and experience. Conways own adage,
expresses his philosophy very succinctly. Someone said
software used to be about making things possible, now
its about making things easy.
Settled down with a long-term partner and grown-up
children, Mark Conway enjoys outdoor pursuits. A keen
triathlete and ski-er, his office affords a good view of the
countryside and the roads that would distract most keen
road cyclists he is as keen to discuss a bike mech as he
is high-tech but tellingly his chair faces his computer
screen, not the window. Whatevers coming next, he is
already looking for it.
www.borland.com/silkportfolio
PAGE 35
STRATEGIC IT
THOMAS COLES
MANAGING DIRECTOR
MSM SOFTWARE
WWW.MSMSOFTWARE.COM
SWEATING ASSETS
With restricted budgets meaning that businesses do
not have the funds to invest in new systems, and
limited resource resulting in current IT systems not being
efficiently supported, it is no surprise many businesses fail
to maintain software.
To address this, businesses must look at ways to keep their
company competitive by carefully considering the most
economical resource solution to ensure systems are fully
supported and in turn can operate at an optimum level.
STRATEGIC
SKILLS
LEGACY
SYSTEMS CAN
BE A DRAIN ON
THE RESOURCES AND
THE CHALLENGE OF
MANAGING SUCH
TECHNOLOGIES IS A
CONSTANT BATTLE
PAGE 36
eggPlant
the worlds favourite
Functional test automation tool
and now Facilita - with Load and Performance
solutions - is part of TestPlant
London
Boulder
ton!
ongle
Hong Kong and C
PAGE 38
PAGE 40
AN EXPENSIVE BUSINESS
No doubt about it, test environments are extremely
expensive to run especially when you have integrated
environments which replicate production. You have
the cost of licensing, infrastructure and resourcing.
While virtualisation has reduced costs associated to
infrastructure and time to market, the cost of application
licensing and resourcing are on up.
Regardless if you work in the public or private sector getting
budget to spend on new environments is often not a reality.
This means managers need to get smarter and innovative
around how to do more with current environments.
Implementing a few of the concepts above will help you
get into TEMS success.
Published by
www.31media.co.uk
FOR EXCLUSIVE
NEWS, FEATURES,
OPINION, COMMENT,
DIRECTORY, DIGITAL
AND MUCH MORE VISIT:
testmagazine.co.uk
SOCIAL MEDIA
GEMMA MURPHY
SOLICITOR
LESTER ALDRIDGE LLP
THE LESSON
IS CLEAR FOR
EMPLOYEES - THEY
SHOULD NOT HAVE
ANY EXPECTATION OF
PRIVACY ONCE THEIR
COMMENTS ARE IN A
PUBLIC FORUM.
PAGE 42
MIKE HOLCOMBE
FOUNDER AND DIRECTOR
EPIGENESYS LTD
WWW.EPIGENESYS.CO.UK
COMPREHENSION MATTERS
This issue Mike Holcombe investigates automatic
test set generation in particular and test
automation in general.
a given
string
belongs
to a
language,
WE
such as
NEED
TO
English. One
THROW
AWAY
THE
such approach
STRINGS THAT ARE
uses what are
called bigrams and
INCOMPREHENSIBLE UNTIL
a language model.
WE GET TO A POINT WHERE
Bigrams look at
THE TEST INPUT STRING
pairs of adjacent
NOT ONLY EXERCISES
characters in a string
THE DESIRED PATH
and the technique
works out what the
BUT IS EASIER TO
probability is that the
UNDERSTAND
pair is a valid pair in the
target language, a large
corpus of this information is
provided. In the scheme used in this
work the word testing has a much larger probability of
meeting this requirement than the string Qu55-ua. For
example the string te has a certain probability of being
in the Language, es also and so on. We put these
probabilities together to find a probability for the whole
word testing. In the case of Qu55-ua. The first pair
Qu has a specific probability (actually quite high for
these 2 characters) but when combined with the rest of
the pairs in the string the likelihood of this string belonging
to the language is very much smaller. This gives us a
technique for rejecting strings that are not very easy to
check in an oracle and should lead to a much easier
task of determining whether the test has produced the
correct result.
This approach was evaluated by a number of testers
and seems to produce significant benefits especially
a significant reduction in test data cognition time,
specifically improved accuracy of human oracle ability
and improved speed.
References:
1. Sheeva Afsahan, Phil McMinn, Mark Stevenson, Evolving Readable String Test Inputs Using a Natural Language Model
to Reduce Human Oracle Cost, ICST 2012.
philmcminn.staff.shef.ac.uk/publications/pdfs/2013-icst.pdf
PAGE 43
OUTSOURCED TESTING
MARK BARGH
FOUNDER AND DIRECTOR
ROQ IT
WWW.ROQIT.CO.UK
BRINGING IT ALL
BACK HOME
You could be forgiven for thinking that a
recession would drive further offshoring
due to the economies it promises but
these promises appear to have been
broken and its no longer a risk CIOs are
prepared to take. Mark Bargh reports.
PAGE 44
OUTSOURCED TESTING
PAGE 45
OUTSOURCED TESTING
THE DRIVERS
TO OFFSHORE
IN THE FIRST PLACE
CANNOT BE IGNORED
BUT ENSURING THEY ARE
MET IS PROVING TO BE
EXTREMELY CHALLENGING
A UK DELIVERY MODEL
MIGHT INSTEAD PROVIDE
THE NECESSARY
SOLUTION.
GEOGRAPHY
The geographical separation of course also brings with it
different time zones. It goes without saying that operating
during the same working day is easier you have longer
in which to schedule meetings or discussions and should
any critical problems arise, they can be addressed
promptly. This is further compounded as more and more
projects shift to an Agile methodology the daily stand
ups are infinitely more difficult across language and time
zones and should ideally be executed at the start of the
working day. The intricate working practices are also
more challenged by the time zone split as the whole
PAGE 46
SECURITY
Test labs in the UK dont need to compromise on
technological quality either. With state of the art security
in use, secure servers, firewalls, and failsafe backups in
addition to remote access to client test environments
and secure accounts for production testing, UK test labs
can parallel any other.
So were perhaps on the brink of a further shift in global
IT delivery and one that will only benefit the industry in
the UK. The drivers to offshore in the first place cannot
be ignored but ensuring they are met is proving to be
extremely challenging a UK delivery model might
instead provide the necessary solution.
Event Loading...
This highly anticipated event now returns to London on 24th October 2013.
Register by 5th July for your early bird discount!
Just visit: testexpo.co.uk
SPECIAL OFFER!
Dave Whalen assesses the value of free
automated testing tools.
here are two groups of people that know
absolutely nothing about software testing, first
- test tool vendors; second - software project
managers. Sadly, the first group is keenly
aware of the existence of the second groups
lack of testing knowledge/experience and are like the
old travelling salesman when peddling their wares.
PAGE 48
special
offer!
things you would typically
do during a manual test.
ANY TEST
AUTOMATION
EFFORT IS GOING
TO BE EXPENSIVE EVEN IF YOU USE
A FREE TOOL.
ONLINE
THE EUROPEAN SOFTWARE TESTER
INNOVATION FOR SOFTWARE QUALITY
Published by
www.31media.co.uk
FOR EXCLUSIVE
NEWS, FEATURES,
OPINION, COMMENT,
DIRECTORY, DIGITAL
AND MUCH MORE VISIT:
testmagazine.co.uk