Automated Testing .

63
• Automated Testing https://store.theartofservice.com/the-automated-testing- toolkit.html

Transcript of Automated Testing .

Page 1: Automated Testing .

• Automated Testing

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 2: Automated Testing .

Linaro - Activities

1 Linaro maintains an automated testing system called LAVA (Linaro Automated Validation Architecture) that Linaro developed. LAVA aims at improving automated testing of the open source components that are

used in the major Linux-based software platforms and to increase

the confidence in the quality of enablement of the member's

platforms.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 3: Automated Testing .

Software testing - Automated testing

1 Many programming groups are relying more and more on automated

testing, especially groups that use test-driven development. There are many frameworks to write tests in, and continuous integration software

will run tests automatically every time code is checked into a version

control system.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 4: Automated Testing .

Regression testing - Background

1 Although this may be done through manual testing procedures using

programming techniques, it is often done using automated testing tools

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 5: Automated Testing .

Regression testing - Background

1 Regression testing is an integral part of the extreme programming

software development method. In this method, design documents are replaced by extensive, repeatable, and automated testing of the entire software package throughout each stage of the software development

cycle.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 6: Automated Testing .

Lean software development - Build integrity in

1 Automated testing should not be a goal, but rather a means to an end, specifically the reduction of defects.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 7: Automated Testing .

Software bug - Prevention

1 In modern times, popular approaches include automated unit testing and

automated acceptance testing (sometimes going to the extreme of test-driven development), and agile

software development (which is often combined with, or even in some

cases mandates, automated testing)

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 8: Automated Testing .

Continuous integration - Advantages

1 Metrics generated from automated testing and CI (such as metrics for

code coverage, code complexity, and features complete) focus developers

on developing functional, quality code, and help develop momentum

in a team

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 9: Automated Testing .

Continuous integration - Disadvantages

1 Well-developed test-suite required to

achieve automated testing advantages

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 10: Automated Testing .

Software construction - Constructing for verification

1 Constructing for verification means building software in such a way that faults can be

ferreted out readily by the software engineers writing the software, as well as during

independent testing and operational activities. Specific techniques that support constructing

for verification include following coding standards to support code reviews, unit testing, organizing code to support automated testing,

and restricted use of complex or hard-to-understand language structures, among others.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 11: Automated Testing .

Team Foundation Server - On Premises / Team Foundation Server

1 Basic Configuration allows TFS to run on a workstation or server, includes basic Windows SharePoint Service (if

desired), can run on SQL Server Express or a full version of SQL Server and provides work item

tracking, test case management, manual and automated testing,

automated builds and source code management

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 12: Automated Testing .

Parasoft Concerto

1 The templates combine automated testing with the process

recommendations and requirements outlined in common guidelines (e.g., integration of code review and defect

prevention practices such as static analysis, unit testing, functional testing, software performance testing, and regression testing

throughout the SDLC).https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 13: Automated Testing .

Real-time testing - Strategy

1 Using the system models designed with the help of automated testing

tools, it is possible to simulate behavior of real time system and

impact of concurrent external events on its behavior.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 14: Automated Testing .

Software testing controversies - Manual vs. automated

1 Some have developed their own automated testing environments

specifically for internal development, and not for resale.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 15: Automated Testing .

Test harness

1 Those things are provided by a testing framework and associated automated testing

tools.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 16: Automated Testing .

Software regression

1 Regressions are often caused by encompassed bug fixes included in software patches. One approach to

avoiding this kind of problem is regression testing. A properly

designed test plan prevents this possibility before releasing any

software. Automated testing and well-written test cases can reduce

the likelihood of a regression.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 17: Automated Testing .

Test strategy - Testing Tools

1 There are two methods used in executing test cases: manual and

automated. Depending on the nature of the testing, it is usually the case that a combination of manual and

automated testing is the best testing method.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 18: Automated Testing .

Test script

1 The major advantage of automated testing is that tests may be executed continuously without the need for a

human intervention. Another advantage over manual testing in

that it is faster and easily repeatable. Thus, it is worth considering

automating tests if they are to be executed several times, for example

as part of regression testing.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 19: Automated Testing .

Test script

1 Disadvantages of automated testing are that automated tests can — like any piece of software — be poorly

written or simply break during playback

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 20: Automated Testing .

Web testing - Windows-based web testing tools

1 TestComplete - Automated testing tool, developed by

SmartBear Software.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 21: Automated Testing .

Test automation - Overview

1 In automated testing the Test Engineer or Software quality assurance person must have

software coding ability, since the test cases are written in the form of source code which, when run,

produce output according to the assertions that are a part of it.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 22: Automated Testing .

Internet Explorer - Security vulnerabilities

1 In 2006, new techniques using automated testing found more than a

hundred vulnerabilities in standard Microsoft ActiveX components

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 23: Automated Testing .

Beta testing - Automated testing

1 Many programming groups are relying more and more on Test automation|automated testing,

especially groups that use

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 24: Automated Testing .

PolarSSL - Automated Testing

1 PolarSSL provides automated testing of the code and of PolarSSL's compatibility as

follows:

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 25: Automated Testing .

Adobe Flex - Adobe Flex 2

1 Enterprise-oriented services remain available through Flex Data Services 2. This server component provides data synchronization, data push, publish-subscribe and automated

testing. Unlike Flex 1.0 and 1.5, Flex Data Services is not required for the

deployment of Flex applications.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 26: Automated Testing .

Adobe Flex - Adobe Flash Builder and Flex 4

1 * An automated testing harness to connect to all the

leading testing tools

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 27: Automated Testing .

DoD IPv6 Product Certification - DoD's IPv6 Generic Test Plan

1 The JITC uses its publicly available [http://jitc.fhu.disa.mil/adv_ip/register/docs/ipv6v4_may09.pdf IPv6 Generic Test Plan (GTP)] to test each product for its

conformance, performance and interoperability of IPv6 according to the

DoD IPv6 Profile. The JITC uses a combination of automated testing tools and manual functional test procedures

to conduct this testing.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 28: Automated Testing .

Continuous delivery

1 'Continuous Delivery' ('CD') is a design practice used in software development to automate and

improve the process of software delivery. Techniques such as

automated testing, continuous integration and continuous

deployment allow software to be developed to a high standard and

easily packaged and deployed to test environments, resulting in the ability

to rapidly, reliably and repeatedly push out enhancements and bug fixes to customers at low risk and with minimal manual overhead.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 29: Automated Testing .

Semtech - Products

1 Semtech supplies products and technology to manufacturers of

automated testing equipment. They offer pin electronic solutions

consisting of driver/comparator/loads, PMUs, DACs, deskews, signal and clock

distribution, power, and protection products. And they use a variety of

process/design sources to offer products which support a wide range

of automated testing equipment.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 30: Automated Testing .

Software build - Build tools

1 Tiers of Software Builds: manual compiles on individual developer

boxes (tier 1), manual compiles on shared build box (tier 2), automated

daily compile (tier 3), automated daily install built using installation software (tier 4), automated daily

install deployed to QA boxes (tier 5) Continuous integration, and

automated testing of the build and automatic creation of an install.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 31: Automated Testing .

FinalBuilder - Built-in actions

1 * Automated Testing tool actions to automate tests as part of a build process

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 32: Automated Testing .

AutomatedQA - AutomatedQA products

1 'TestComplete': TestComplete is an automated testing tool, with support

for functional testing, regression testing, manual testing, unit testing, distributed testing and Performance test (assessment)|HTTP performance

testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 33: Automated Testing .

Angle of view - Measuring a camera's field of view

1 Automated Testing of Ultraviolet, Visible, and Infrared Sensors Using Shared Optics

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 34: Automated Testing .

Pyjamas (software) - Pyjs.org Fork

1 * Travis-CI based continuous integration for both build, install and automated testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 35: Automated Testing .

Rational Software - Organization

1 Rational's field Practices underlying the later Rational Unified Process

(RUP) - iterative development, component-based architecture,

modelling, continuous developer-driven testing, requirements

management, and automated testing—are all traceable to this experience

base.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 36: Automated Testing .

List of Eclipse-based software

1 * Maveryx plug-in to Eclipse. It is an Open Source tool that provides testers with automated testing

capabilities for functional testing, regression testing, GUI testing and

data-driven testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 37: Automated Testing .

OpenACS

1 * A sophisticated application development toolkit, that provides an extensive set of APIs and services to

enable quick development of new applications. Features include

sophisticated permissioning, full internationalization, Ajax

(programming)|Ajax, form builder, object model, automated testing, subsites and a powerful package

manager.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 38: Automated Testing .

Microsoft Active Accessibility

1 MSAA can also be used for automated testing tools, and computer-based training

applications.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 39: Automated Testing .

Microsoft UI Automation - UI Automation for Automated Testing

1 UIA can also be useful as a framework for programmatic access in automated testing scenarios. In addition to providing more refined solutions for accessibility, it is also

specifically designed to provide robust functionality for automated

testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 40: Automated Testing .

Software repository - Selected repositories

1 This example exposes both a strength and a weakness in the R

contributed-package system: CRAN supports this kind of automated

testing of contributed packages, but packages contributed to CRAN need

not specify the versions of other contributed packages that they use.

Procedures for requesting specific versions of packages exist, but

contributors might not use those procedures.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 41: Automated Testing .

XUnit

1 By keeping such automated testing code, programmers can verify that

they haven't broken something along the way

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 42: Automated Testing .

IBM Rational Functional Tester

1 'IBM Rational Functional Tester' is a tool for automated testing of software applications from the Rational Software division of IBM. It allows users to create tests that mimic the actions and assessments of a human tester.Software Test Engineering with IBM Rational Functional Tester. The Definitive Resource It is primarily used by Software

Quality Assurance teams to perform automated regression testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 43: Automated Testing .

Itko - Products

1 * 'LISA Test:' Provides an automated testing solution for distributed application architectures that

leverage SOA, BPM, integration suites, and Enterprise service bus|ESBs. Product teams can use LISA

Test to design and execute automated unit, functional,

regression, integration, load, and performance tests. They can test multiple layers of the distributed

architecture, including Rich Internet Application UIs and heterogeneous

middle-tier technologies.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 44: Automated Testing .

DNSBL - History of DNSBLs

1 Soon after the advent of the RBL, others started developing their own lists with different policies. One of the first was Alan Brown's ORBS|Open Relay Behavior-modification

System (ORBS). This used automated testing to discover and list mail

servers running as open mail relays—exploitable by spammers to carry

their spam. ORBS was controversial at the time because many people felt

running an open relay was acceptable, and that scanning the

Internet for open mail servers could be abusive.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 45: Automated Testing .

Visual Test

1 'Visual Test', originally known as MS-Test, was an automated testing tool

for Microsoft Windows|Windows applications developed by Microsoft and later sold to Rational Software.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 46: Automated Testing .

Rogue access point

1 However, automated testing of the second condition can become

challenging in the light of following factors: a) Need to cover different

types of access point devices such as bridging, NAT (router), unencrypted wireless links, encrypted wireless links, different types of relations between wired and wireless MAC

addresses of access points, and soft access points, b) necessity to

determine access point connectivity with acceptable response time in

large networks, and c) requirement to avoid both false positives and

negatives which are described below

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 47: Automated Testing .

Expect - Pros

1 There is large support in the industry for using Expect for many in-house

administration tasks. It is widely used by companies such as Silicon Graphics, IBM, HP, Sun, Xerox,

Amdahl, Tektronix, ATT, ComputerVision and the World Bank

to run in-house automated testing for development projects, file transfers, account administration, and network

testing.https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 48: Automated Testing .

Tersus - Features

1 * Automated testing through the

definition of test suites

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 49: Automated Testing .

In-System Programming

1 Most programmable logic devices use a variant of the JTAG protocol for

ISP, in order to facilitate easier integration with automated testing

procedures

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 50: Automated Testing .

Smart & Final - Technology

1 * Smart, a cloud-based automated testing tool by

Kainos#Kainos_Smart|Kainos

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 51: Automated Testing .

Design for testing

1 The tests generally are driven by Automated testing|test programs

that execute in Automatic test equipment|Automatic Test Equipment

(ATE) or, in the case of system maintenance, inside the assembled

system itself

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 52: Automated Testing .

Single in-line package - Uses

1 Pergamon Press ISBN 0-08-022730-9 The rectangular shape allowed integrated circuits to be

packaged more densely than previous round packages.http://www.computerhistory.org/semicond

uctor/timeline/1965-Package.html Computer Museum retrieved April 16, 2008 The package was well-suited to automated assembly equipment; a

printed circuit board could be populated with scores or hundreds of ICs, then all the components on the

circuit board could be soldered at one time on a wave soldering machine and passed on to

automated testing machines, with very little human labor required

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 53: Automated Testing .

Anomaly in software - Prevention

1 :In modern times, popular approaches include Automated

testing|automated unit testing and automated acceptance testing

(sometimes going to the extreme of test-driven development), and agile

software development (which is often Scrum (software development)|combined with, or even in some

cases extreme programming|mandates, automated testing)

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 54: Automated Testing .

Mixed-signal integrated circuit - Examples

1 Because of the use of both digital signal processing and analog circuitry, mixed-

signal ICs are usually designed for a very specific purpose and their design requires a

high level of expertise and careful use of computer aided design (CAD) tools.

Automated testing of the finished chips can also be challenging. Teradyne, Agilent, and Texas Instruments are the major suppliers

of the test equipment for mixed-signal chips.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 55: Automated Testing .

AT-SPI - Other uses

1 AT-SPI also can also be used for automated testing of user interfaces,

with tools such as Linux Desktop Testing Project and Dogtail.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 56: Automated Testing .

Keyword-driven testing

1 'Keyword-driven testing', also known as 'table-driven testing' or 'action word based testing', is a software testing methodology

suitable for both Hand|manual and automated testing. This method separates the documentation of test cases -including

the data to use- from the prescription of the way the test cases are executed. As a result

it separates the test creation process into two distinct stages: a design and development

stage, and an execution stage.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 57: Automated Testing .

Keyword-driven testing - Advantages

1 Also, due to the very detailed description of the way of executing

the keyword (in the keyword documentation) the test can be

performed by almost anyone. Thus keyword-driven testing can be used

for both manual testing and automated testing.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 58: Automated Testing .

Kainos

1 Kainos is one of Workday, Inc.|Workday’s main implementation

partners for the Workday Software as a service|SaaS product, and have

developed Kainos Smart, an automated testing tool for Workday

implementations

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 59: Automated Testing .

Kainos - Kainos Smart

1 Smart ('S'calable, 'M'easurable, 'A'utomated, 'R'epeatable, 'T'esting) is Kainos's Cloud computing|cloud-based

automated testing tool for Workday, Inc.|Workday implementations. It was developed to encompass all of the core human capital management (HCM) business process areas

as well as integration, payroll processing and reports, making testing a less resource-

intensive process.

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 60: Automated Testing .

Compuware - 1980s

1 Compuware also announced Playback, the company's first automated testing tool

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 61: Automated Testing .

Compuware - Products

1 * Hiperstation - Mainframe automated testing and auditing

tool

https://store.theartofservice.com/the-automated-testing-toolkit.html

Page 62: Automated Testing .

Marathon (disambiguation) - Businesses

1 * Marathon Automated Test Systems, a system for automated testing of

printed circuit boards from Computer Automation

https://store.theartofservice.com/the-automated-testing-toolkit.html